mirror of
http://forgejo.openclaw.svc.cluster.local:3000/mrhavens/makeanyplace-backend.git
synced 2026-06-18 01:23:04 +00:00
No description
- Python 99.9%
| __pycache__ | ||
| venv | ||
| api.py | ||
| api.yaml | ||
| db_init.py | ||
| dfw_library_calendars.json | ||
| dfw_nodes.json | ||
| Dockerfile | ||
| Dockerfile.api | ||
| event_aggregator.py | ||
| events.json | ||
| k8s-cronjob.yaml | ||
| k8s-pvc.yaml | ||
| library_feeds.json | ||
| live_events.json | ||
| postgres.yaml | ||
| README.md | ||
| real_event_aggregator.py | ||
| requirements.txt | ||
| schema.sql | ||
| social_reviews.json | ||
| test_api.py | ||
MakeAnyplace Sovereign Engine (Backend)
This is the backend API and database orchestration layer for the MakeAnyplace network, designed to provide "Algorithmic Immunity" to decentralized maker communities.
Architecture
- FastAPI: High-performance asynchronous API serving the frontend.
- PostgreSQL: Stores the immutable ledger of "Proof of Craft" XP, Ghost Wallet Identities (pseudonyms/avatars), and the Sanctuary Node metadata.
- Docker/Kubernetes: Containerized for immutable, self-healing deployment.
The Adversarial Event Aggregator
The backend includes a critical background worker: event_aggregator.py.
This script runs a Dual-LLM Pipeline (Angelic Guide & Adversarial Verifier) to process raw calendar feeds from public libraries and private makerspaces. It features a Trojan Bounty System that specifically scrapes captured spaces (like Dallas Makerspace) for "Free" events, and aggressively injects them into the MakeAnyplace network with massive XP Multipliers to encourage Sovereign Emissaries to infiltrate and siphon talent.
Development
To run locally:
docker build -t makeanyplace-api .
docker run -p 8000:8000 makeanyplace-api
Environment Variables
DB_HOSTDB_PORTDB_USERDB_PASSWORDDB_NAME