{"id":50734232,"url":"https://github.com/forkwright/hamma","last_synced_at":"2026-06-10T12:01:50.036Z","repository":{"id":350501000,"uuid":"1206339181","full_name":"forkwright/hamma","owner":"forkwright","description":"Clean-room Rust Tailscale-compatible mesh networking stack (pre-alpha)","archived":false,"fork":false,"pushed_at":"2026-05-24T16:48:08.000Z","size":447,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-24T17:18:46.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/forkwright.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-09T20:19:26.000Z","updated_at":"2026-05-24T16:48:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/forkwright/hamma","commit_stats":null,"previous_names":["forkwright/plegma","forkwright/hamma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/forkwright/hamma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fhamma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fhamma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fhamma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fhamma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forkwright","download_url":"https://codeload.github.com/forkwright/hamma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkwright%2Fhamma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34151276,"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-06-10T02:00:07.152Z","response_time":89,"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-06-10T12:01:47.573Z","updated_at":"2026-06-10T12:01:50.028Z","avatar_url":"https://github.com/forkwright.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hamma\n\n*ἅμμα  -  a knot, a tie, a fastening*\n\nA clean-room Rust implementation of a Tailscale-compatible mesh networking stack. Pre-alpha, actively implementing the peer client.\n\n## Status\n\n**Pre-alpha.** No releases yet and no stable API. Phase A is active: the `dictyon` peer client has landed the Noise handshake, control protocol types, TCP/TLS registration, and map-streaming loop. The next implementation milestone is the WireGuard data plane via `boringtun`.\n\nThe project is not production-ready. Wire compatibility with real Tailscale traffic is still being validated, and the current audit backlog tracks known gaps in map deltas, zstd framing, node-key expiry handling, tracing, and map-stream integration coverage.\n\n## What this is\n\nHamma is a Rust-native mesh networking stack  -  the pieces needed to knot a set of devices into a single flat network, speak WireGuard peer-to-peer, traverse NATs via DERP relays, and name each other via MagicDNS. It targets wire-compatibility with Tailscale's existing control plane so that devices running hamma can join the same tailnet as devices running the reference Tailscale client.\n\n**Why it exists.** A production-grade Rust implementation of the Tailscale client/server protocol does not exist. Hamma fills that gap, initially as the networking layer for the [forkwright](https://github.com/forkwright) ecosystem  -  [aletheia](https://github.com/forkwright/aletheia) (cognitive runtime), [akroasis](https://github.com/forkwright/akroasis) (signals intelligence), [harmonia](https://github.com/forkwright/harmonia) (media platform), and [thumos](https://github.com/forkwright/thumos) (sovereign mobile OS)  -  and openly as an option for anyone who wants a memory-safe, auditable mesh client.\n\n## Crates\n\n| Crate | Role | Status |\n|---|---|---|\n| `dictyon` (δίκτυον, \"net\") | Peer client: WireGuard data plane (via boringtun), Noise control protocol to the coordination server, DERP relay client, MagicDNS resolver, route configuration | Phase A |\n| `hamma-core` | Shared types: Noise framing, WireGuard key types, peer identity, ACL types, protocol constants | Phase A |\n| `histos` (ἱστός, \"loom\")  -  **planned** | Coordination server: peer registry, ACL enforcement, preauth keys, DERP coordination. Replaces Headscale/tailscale.com when sovereignty is wanted | Not started |\n| `hamma-derp`  -  **planned** | DERP relay server (optional  -  can reuse Tailscale's DERP for Phase A) | Not started |\n\n## Design principles\n\n1. **Clean-room Rust, not a port.** No C, no unsafe beyond what `boringtun` already audits, no vendor blobs. Memory safety end-to-end.\n2. **Wire-compatible first.** Phase A targets interop with tailscale.com's control plane so dictyon can be validated against a reference server before histos exists. Protocol extensions are opt-in, layered on top, never break compat.\n3. **Small feature target.** Peer WG, MagicDNS, exit nodes, ACLs. Not Taildrop, Tailscale SSH, Funnel, or app connectors. Those can be added later if anyone wants them.\n4. **Sovereignty extensions.** Future `histos` will add forkwright-specific extensions: hardware-key-signed admin operations (FIDO2 attestation), tamper-evident peer enrollment, measured-boot attestation hooks. Upstream-incompatible, opt-in.\n5. **Shared standards.** Built against the internal linting, formatting, and testing standards. Same quality floor as the rest of forkwright.\n\n## Phases\n\nSee the internal project roadmap for full sequencing.\n\n- **Phase A  -  dictyon client against tailscale.com**. Validates the Rust client on a production reference server. No histos scope.\n- **Phase B  -  histos coordination server, wire-compatible**. Matches Headscale's feature surface for forkwright self-hosting.\n- **Phase C  -  histos sovereignty extensions**. Titan-signed admin ops, attestation hooks, canary integration.\n- **Phase D  -  DERP relay**. Optional own-relay for full-stack independence.\n\n## License\n\nLicensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or [MIT license](LICENSE-MIT) at your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n## Contributing\n\nNot yet accepting external contributions while the initial architecture stabilizes. Watch the repo for status updates.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforkwright%2Fhamma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforkwright%2Fhamma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforkwright%2Fhamma/lists"}