{"id":51361406,"url":"https://github.com/pythononwheels/lapsus-server","last_synced_at":"2026-07-02T23:05:07.044Z","repository":{"id":367826494,"uuid":"1282399578","full_name":"pythononwheels/lapsus-server","owner":"pythononwheels","description":"LAPSUS coordinator — the thin p2p server: discovery, WebRTC signaling, Compute-Credit ledger. Never sees your prompts.","archived":false,"fork":false,"pushed_at":"2026-06-27T21:32:47.000Z","size":442,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-27T22:10:20.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythononwheels.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-27T18:07:43.000Z","updated_at":"2026-06-27T21:32:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pythononwheels/lapsus-server","commit_stats":null,"previous_names":["pythononwheels/lapsus-server"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pythononwheels/lapsus-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythononwheels%2Flapsus-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythononwheels%2Flapsus-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythononwheels%2Flapsus-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythononwheels%2Flapsus-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythononwheels","download_url":"https://codeload.github.com/pythononwheels/lapsus-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythononwheels%2Flapsus-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35065722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-02T23:05:06.222Z","updated_at":"2026-07-02T23:05:07.023Z","avatar_url":"https://github.com/pythononwheels.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"web/assets/lapsus.png\" alt=\"LAPSUS\" width=\"120\" /\u003e\n\n**Community-powered local AI p2p network**\n\n\u003ch1\u003eLAPSUS coordinator\u003c/h1\u003e\n\n\u003cem\u003eThe thin server that introduces peers — it never sees your prompts.\u003c/em\u003e\n\n\u003ca href=\"https://lapsus.pyrates.io\"\u003elapsus.pyrates.io\u003c/a\u003e \u0026nbsp;·\u0026nbsp; \u003ca href=\"https://github.com/pythononwheels/lapsus-app\"\u003eclient app\u003c/a\u003e \u0026nbsp;·\u0026nbsp; \u003ca href=\"LICENSE\"\u003eAGPL-3.0\u003c/a\u003e\n\n\u003c/div\u003e\n\n---\n\nThis is the **LAPSUS coordinator** — the thin server that makes the peer-to-peer\nnetwork work. It does three things and nothing more:\n\n- **Discovery** — online peers announce the models they share (with context length + multimodal capability).\n- **Signaling** — relays WebRTC offer/answer/ICE so two peers can open a direct channel.\n- **Credits** — books mutually-signed receipts into a Compute-Credit ledger (SQLite).\n\nIt **never sees prompts or answers** — those flow directly peer to peer over an\nencrypted channel. The client app lives in\n[lapsus-app](https://github.com/pythononwheels/lapsus-app).\n\n## Run a coordinator\n\n```bash\ncp .env.example .env          # set SECRET_KEY_BASE (mix phx.gen.secret) and PHX_HOST\ndocker compose -f docker-compose.prod.yml up -d --build\ncurl http://127.0.0.1:4000/health      # → ok\n```\n\nPut it behind a TLS reverse proxy that upgrades WebSockets (e.g. Caddy:\n`reverse_proxy localhost:4000`). Agents then connect at `wss://\u003cyour-host\u003e`, and\nthe static homepage is served from `web/`. The credit ledger is a SQLite DB on a\nnamed volume — back it up.\n\n## What's inside\n\n- `apps/lapsus_coordinator` — Phoenix app: discovery, signaling relay, ledger.\n- `apps/lapsus_core` — shared identity (Ed25519, self-authenticating peer IDs),\n  Compute-Credits, mutually-signed receipts.\n- `web/` — the public homepage (static).\n\nAnyone can run a coordinator — that's the point. Run your own, or join the one at\n`lapsus.pyrates.io`.\n\n## License\n\n[AGPL-3.0](LICENSE). Network copyleft — run a modified version as a service, share\nyour source. A commons, not a land-grab.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythononwheels%2Flapsus-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythononwheels%2Flapsus-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythononwheels%2Flapsus-server/lists"}