1
0
Fork 0
mirror of https://codeberg.org/beacondb/beacondb synced 2026-03-13 03:31:08 +00:00
No description
  • Rust 99.1%
  • Nix 0.9%
Find a file
2026-02-26 05:24:52 +01:00
.sqlx chore: Update sqlx query cache. 2025-12-04 16:42:24 +01:00
docs feat: stop enforcing report uniqueness in database 2025-03-24 17:25:40 +10:00
LICENSES chore: license using reuse spec 2024-07-09 19:35:34 +10:00
migrations feat: stop enforcing report uniqueness in database 2025-03-24 17:25:40 +10:00
src feat: bulk process map cells for regenerating map 2026-01-04 22:31:13 +10:00
.env.example docs: mention TCP/IP connection for postgres in config 2026-02-26 14:24:05 +10:00
.gitattributes Add .gitattributes for normalising line endings 2024-07-14 11:19:24 +03:00
.gitignore feat(geoip): use postgres instead of in memory database 2024-12-09 17:26:35 +10:00
.pre-commit-config.yaml add .pre-commit-config.yaml for running reuse 2024-07-14 11:18:23 +03:00
Cargo.lock fix: readd geo-types removed in #145 2026-01-07 13:17:44 +10:00
Cargo.toml fix: readd geo-types removed in #145 2026-01-07 13:17:44 +10:00
config.example.toml docs: mention TCP/IP connection for postgres in config 2026-02-26 14:24:05 +10:00
flake.lock build: update nix deps 2025-10-31 13:55:20 +10:00
flake.nix build: update nix deps 2024-09-06 11:26:44 +10:00
README.md docs: simplify readme 2025-03-31 14:49:28 +10:00
REUSE.toml reuse: fix deprecation warning through reuse convert-dep5 2024-07-14 11:13:31 +03:00

beaconDB

A privacy focused assisted GPS service written in Rust.

beaconDB aims to be an alternative to Mozilla Location Services that offers public domain dumps of its WiFi database.

When Mozilla Location Services shut down, it wasn't able to publish the massive amount of WiFi APs its users had collected due to legal and privacy concerns. beaconDB plans to obfuscate the data it releases to mitigate these issues.

For information on how to use and contribute to beaconDB, please see [beaconDB's website].

Please note that beaconDB is experimental and under active development. Data exports are not ready yet. Some data is not yet obfuscated.

Development

To compile beaconDB, you'll need the following on your system:

beaconDB relies on SQLx to manage database migrations and provide compile-time type checking. SQLx uses the DATABASE_URL environment variable to connect to Postgres. If your account is configured as a superuser, the configuration in .env.example should work as-is. Otherwise, please see SQLx's Postgres connection options for more information.

cp .env.example .env

cargo sqlx database create
cargo sqlx migrate run

Usage

Please see config.toml for beaconDB's configuration options.

# serve the API on http://localhost:8080
cargo run serve

If you are using NeoStumbler, you can send your data to machine's database by configuring a custom endpoint and reuploading collected data in settings.