MCPcopy Index your code
hub / github.com/beacondb/beacondb

github.com/beacondb/beacondb @v0.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.0 ↗ · + Follow
87 symbols 138 edges 17 files 22 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Core symbols most depended-on inside this repo

into_polygon
called by 5
src/map.rs
respond
called by 5
src/geolocate.rs
commit
called by 5
src/submission/process.rs
update
called by 4
src/bounds.rs
mark_consumed
called by 4
src/map.rs
run
called by 3
src/map.rs
should_ignore_transmitter
called by 3
src/submission/report.rs
load
called by 3
src/submission/report.rs

Shape

Function 31
Class 28
Method 22
Enum 6

Languages

Rust100%

Modules by API surface

src/map.rs21 symbols
src/submission/report.rs12 symbols
src/geolocate.rs10 symbols
src/submission/process.rs6 symbols
src/bounds.rs6 symbols
src/submission/geosubmit.rs5 symbols
src/model.rs5 symbols
src/main.rs4 symbols
src/bulk/parse.rs4 symbols
src/mls.rs3 symbols
src/config.rs3 symbols
src/bulk/mod.rs3 symbols

Datastores touched

beacondbDatabase · 1 repos

For agents

$ claude mcp add beacondb \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact