doubling-compound
v1.0.0
Published
AI-first local-data platform. Your data lives on your local disk, syncs via Firestore, and is always directly accessible to AI tools — never locked behind an API.
Readme
Doubling Compound
AI-first local-data platform. Your data lives on your local disk, syncs via Firestore, and is always directly accessible to AI tools — never locked behind an API.
Architecture
- Web app — Vanilla HTML/JS SPA on Firebase Hosting
- Database — Cloud Firestore with org-scoped security rules
- Auth — Firebase Authentication (email/password, Google)
- Sync daemon — Node.js bidirectional sync between Firestore and local filesystem
Environments
| Environment | Firebase Project | Deployed via |
|---|---|---|
| Sandbox | doubling-compound-sandbox | Manual (firebase deploy --project doubling-compound-sandbox) |
| Dev | doubling-compound-dev | Push to main |
| Prod | doubling-compound-prod | GitHub Release |
Getting started
# Install dependencies (sync daemon)
cd sync && npm install
# Install root devDependencies — also wires up the gitleaks pre-commit hook
cd .. && npm install
# Install gitleaks locally so the pre-commit hook can run
brew install gitleaks # or see https://github.com/gitleaks/gitleaks#installing
# Deploy to sandbox
firebase deploy --project doubling-compound-sandbox
# Switch environments
firebase use sandbox
firebase use dev
firebase use prodReleasing to production
gh release create v0.x.0 --title "v0.x.0" --notes "Release notes here"Project structure
Reference/Groceries/ Web app (Firebase Hosting)
sync/ Firestore <-> local filesystem sync daemon
firestore.rules Firestore security rules
firebase.json Firebase configuration
.firebaserc Environment aliases
.github/workflows/ CI/CD (GitHub Actions)