🧮 Open, serverless, and local friendly Data Platform for the Filecoin Ecosystem
# Filecoin Data Portal
Open, minimal, local-first Data Platform for the Filecoin Ecosystem.
- Open source code producing open datasets in open formats using public infrastructure.
- Runs on a laptop, server, or CI runner without any lock-ins.
🚀 Quickstart
The fdp/ folder contains the CLI and lightweight orchestrator while the assets/ folder hosts data assets and custom SQL data tests. The environment is assumed to be already loaded (you can autoload it running uv with --env-file .env).
uv run fdp listuv run fdp checkuv run fdp materializeuv run fdp materialize mainuv run fdp materialize main.dailyuv run fdp materialize raw.some_assetuv run fdp materialize assets/main/daily/filecoinpayoperators_metrics.sqluv run fdp materialize --with-deps main.dailyuv run fdp materialize --with-deps raw.some_assetuv run fdp statusuv run fdp pruneuv run fdp docsuv run fdp testuv run fdp publish r2uv run fdp publish r2 assets/main/daily/filecoinpayoperators_metrics.sqluv run fdp publish gsheetuv run fdp show raw.dailynetworkactivitybymethoduv run fdp query "select * from raw.dailynetworkactivitybymethod limit 10"
assets/. By default, DuckDB lives at <project>/fdp.duckdb and fdp docs writes to <project>/build/docs.
When you pass explicit selectors to fdp materialize, FDP refreshes only the matched assets by default and expects their dependencies to already be materialized. Selectors can be asset keys, folder selectors, or asset file/folder paths under assets/. Use --with-deps to refresh the full dependency closure.
⚙️ Development
You can run the Filecoin Data Portal anywhere using uv. You'll need the following secrets in your environment:
ENCODEDGOOGLEAPPLICATION_CREDENTIALS(base64-encoded Google service account JSON)R2ACCESSKEY_IDR2SECRETACCESS_KEYR2ACCOUNTIDR2_BUCKETFDPGSHEETSPREADSHEET_ID
uv run fdp publish r2 writes one parquet file per main.* table to R2.
uv run fdp publish gsheet syncs one worksheet per main.* table to a Google spreadsheet and removes stale worksheets.
Share the target spreadsheet with the Google service account from ENCODEDGOOGLEAPPLICATION_CREDENTIALS.
For local development, load them explicitly with uv run --env-file .env ....
🗃️ Historical State
Previous dashboard apps and the older pipeline stack were removed in ab4c667. To explore the repository as it was before the cleanup, browse 822793d.
📃 Disclaimer
The datasets provided by this service are made available "as is", without any warranties or guarantees of any kind, either expressed or implied. By using these datasets, you agree that you do so at your own risk.
📝 Licenses
The Filecoin Data Portal is licensed under the MIT License.