{"id":43439116,"url":"https://github.com/anthromeda/shelter","last_synced_at":"2026-02-07T01:00:53.306Z","repository":{"id":335698466,"uuid":"1146756746","full_name":"anthromeda/shelter","owner":"anthromeda","description":"Encrypted messaging system built with UDP protocol.","archived":false,"fork":false,"pushed_at":"2026-02-02T19:14:00.000Z","size":281,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-03T10:15:09.882Z","etag":null,"topics":["bun","e2ee","encryption","networking","nodejs","p2p","privacy","ts","typescript","udp","zero-trust"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anthromeda.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-01-31T16:22:43.000Z","updated_at":"2026-02-02T19:14:34.000Z","dependencies_parsed_at":"2026-02-03T22:00:41.431Z","dependency_job_id":null,"html_url":"https://github.com/anthromeda/shelter","commit_stats":null,"previous_names":["anthromeda/shelter"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/anthromeda/shelter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthromeda%2Fshelter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthromeda%2Fshelter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthromeda%2Fshelter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthromeda%2Fshelter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthromeda","download_url":"https://codeload.github.com/anthromeda/shelter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthromeda%2Fshelter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29058976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T20:13:53.544Z","status":"ssl_error","status_checked_at":"2026-02-03T20:13:40.507Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bun","e2ee","encryption","networking","nodejs","p2p","privacy","ts","typescript","udp","zero-trust"],"created_at":"2026-02-02T21:32:30.863Z","updated_at":"2026-02-03T22:00:53.839Z","avatar_url":"https://github.com/anthromeda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Shelter Logo](./docs/Shelter%20Github%20Banner.png)\n\n# Stacks\n\n- Uses Blake3 for hashing (via @noble/hashes).\n- Uses nacl (TweetNaCl) for public-key cryptography.\n- Uses UDP sockets for networking (via Bun's udp sockets).\n\n```mermaid\nsequenceDiagram\n    autonumber\n    participant A as Shelter Client (Alice)\n    participant N as Network (UDP Broadcast)\n    participant B as Shelter Client (Bob)\n\n    Note over A: Knows Bob's Public Key Hash\n    A-\u003e\u003eN: SEEK (Type 0x03, targetIdHash)\n\n    Note over B: Receives Broadcast\n    B-\u003e\u003eB: Compare targetIdHash with local ID\n\n    rect rgb(30, 30, 40)\n    Note right of B: Match Found\n    B-\u003e\u003eA: SEEK_BACK (Type 0x04, targetIdHash) [Unicast]\n    end\n\n    Note over A: Receives SEEK_BACK\n    A-\u003e\u003eA: Maps IP/Port to Bob's ID\n\n    A-\u003e\u003eB: MESSAGE (Type 0x02, Encrypted Payload)\n    Note right of B: Decrypts using NaCl.box\n```\n\n# Try\n\n## From Source, With Bun\n\n- Cloning the repo:\n\n```bash\ngit clone https://github.com/anthromeda/shelter.git\ncd shelter\n```\n\nInstall Bun (if not already installed):\n\n```bash\n# Linux / macOS\n$ curl -fsSL https://bun.sh/install | bash\n\n# Windows (via PowerShell)\n$ powershell -c \"irm bun.sh/install.ps1 | iex\"\n```\n\n- Install dependencies:\n\n```bash\nbun install\n```\n\n```bash\nbun run ./apps/shelter-daemon.ts\n```\n\n- In another terminal, run the CLI:\n\n```bash\nbun run ./apps/shelter-cli.ts help\n```\n\n## Standalone Daemon \u0026 CLI\n\nPre-built binaries are available in the [Releases](https://github.com/anthromeda/shelter/releases)\n\n# Features\n\n- Secure by default: only the packet receiver can decrypt the data.\n- Peer-to-peer: no central servers required.\n- Low latency: built on top of UDP for fast data transmission.\n\n# Roadmap\n\n- [x] Working Networking Prototype (to send data between two peers or broadcast)\n- [x] Encryption \u0026 Decryption of messages\n- [x] Peer Discovery (SEEK / SEEK_BACK)\n- [ ] Local Petname System\n\n# CLI Documentation\n\n## Commands\n\n_Work in progress..._\n\n# Contributing\n\nWe welcome contributions! Whether it's fixing bugs, adding documentation, or proposing new features.\n\n## How to Contribute\n\n1. **Fork the Repository**: standard GitHub workflow.\n2. **Create a Feature Branch**: git checkout -b feature/NewThing.\n3. **Code Guidelines**:\n   - Follow the existing code base.\n   - Add new tests for your feature in tests/.\n\n4. **Submit a Pull Request**: Describe your changes clearly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthromeda%2Fshelter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthromeda%2Fshelter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthromeda%2Fshelter/lists"}