https://github.com/shaostoul/humanity
Humanity is an open, public-domain project exploring how humans can live together with dignity, cooperation, and long-term continuity. It combines civilizational principles with rigorous system design to model learning, stewardship, and peaceful scalability. CA: 6MUWmhH1QES5hCLeKiL6kDj4fvMMEi5rbpux1Rbzpump
https://github.com/shaostoul/humanity
crypto cryptography decentralized-identity dilithium3 education federated-network free humanitarian-tech humanitarian-technology humanity open-source opensource p2p post-quantum privacy-focused public-domain rust verifiable-credentials
Last synced: 1 day ago
JSON representation
Humanity is an open, public-domain project exploring how humans can live together with dignity, cooperation, and long-term continuity. It combines civilizational principles with rigorous system design to model learning, stewardship, and peaceful scalability. CA: 6MUWmhH1QES5hCLeKiL6kDj4fvMMEi5rbpux1Rbzpump
- Host: GitHub
- URL: https://github.com/shaostoul/humanity
- Owner: Shaostoul
- Created: 2026-01-16T09:00:26.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-06-02T06:55:42.000Z (14 days ago)
- Last Synced: 2026-06-02T08:26:59.105Z (14 days ago)
- Topics: crypto, cryptography, decentralized-identity, dilithium3, education, federated-network, free, humanitarian-tech, humanitarian-technology, humanity, open-source, opensource, p2p, post-quantum, privacy-focused, public-domain, rust, verifiable-credentials
- Language: Rust
- Homepage: https://united-humanity.us
- Size: 53.2 MB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Security: docs/SECURITY-CADENCE.md
- Roadmap: docs/roadmap-2026-05-01.md
- Agents: docs/AGENTS.md
Awesome Lists containing this project
README
# HumanityOS
**Own your tools. Own your life. Own your future.**
A free app where people chat, plan, trade, and build together. No accounts, no owner, no ads, public domain. The infrastructure for cooperation, made for everyone.
๐ **[united-humanity.us](https://united-humanity.us)** ย ยท ย ๐ฌ **[Chat](https://united-humanity.us/chat)** ย ยท ย ๐ฅ **[Download](https://united-humanity.us/download)** ย ยท ย ๐ **[Discord](https://discord.gg/9XxmmeQnWC)**
---
## ๐ก What you can do today
| | What | How it helps |
|---|---|---|
| ๐ฌ | **Talk to anyone, privately** | Text, voice, video calls. Every message is locked with math only the people in the conversation can read. Threads, search, reactions, screen share. |
| ๐ | **Organize anything** | Kanban boards, calendars, shared notes, skill tracking. Run a team, a club, or your whole life from one place. |
| ๐ | **Buy, sell, and trade** | Built-in marketplace with listings, reviews, and a multi-layer trust score that catches bots and fake reviews without surveillance. |
| ๐ | **Prove who you are** | Schools, employers, and communities can issue Verifiable Credentials. You hold them. You choose when to share. |
| ๐ณ๏ธ | **Help decide things** | Local server proposals or civilization-wide votes. Vote weight comes from your reputation, capped so no single person can dominate. |
Add the desktop app and **everything works offline**. Reconnect โ it syncs.
---
## ๐ก๏ธ Three things that make HumanityOS different
### 1. Your identity is yours, forever
When you sign up, your phone or computer creates a **post-quantum cryptographic key** โ math so strong it will still be secure when quantum computers arrive. No username, no password. Your 24-word backup phrase recovers everything if you lose your device. Forgot your phrase? Trusted friends can recover it for you (Shamir secret sharing โ no single friend can do it alone).
### 2. Nobody can deplatform you
There's no central server. Anyone can run a copy. **Your identity works on every server**, your credentials follow you, your messages and contacts come with you. If one server goes down, you keep going. A government can't shut down the network because there is no center.
### 3. Public domain โ really
Every line of code, every design doc, every commit is in the public domain ([CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/)). Copy it, fork it, sell it, teach from it. **No attribution required.** Built by volunteers, owned by humanity.
---
## โ
What's working right now
### Communication
- Text, voice, video chat
- End-to-end encrypted DMs
- Threaded replies & reactions
- Screen share & PiP video
- Pinned messages, mentions
- Group conversations
- Voice channels (always-on)
- File and image sharing
- Push notifications
### Organize your life
- Kanban project boards
- Calendar & event planning
- Encrypted notes
- Skills & XP tracking
- Inventory tracker
- Maps (real + simulation)
- Marketplace listings
- Trade history & reviews
- Civilization dashboard
### Trust & governance
- DID identity (`did:hum:`)
- Verifiable Credentials
- Multi-layer trust score
- Vouching from trusted people
- Local + civilization voting
- Social key recovery
- AI-as-citizen rules
- Server federation
- Anti-Sybil math built in
### What's still cooking
- Native mobile apps (web works on phones today)
- 3D multiplayer game world (planets render, no persistence yet)
- Mesh radio support for off-grid use
- Real Solana transaction signing in the desktop app
---
## ๐ Get started
### ๐ Just try it
1. Visit **[united-humanity.us/chat](https://united-humanity.us/chat)**
2. Pick a display name
3. Say hi in `#welcome`
4. Take the **[5-minute tour](https://united-humanity.us/onboarding)**
No signup. No email. No credit card.
### ๐ป Desktop app
1. Visit **[united-humanity.us/download](https://united-humanity.us/download)**
2. Pick your platform (Win/Mac/Linux)
3. Run the binary
4. Same identity as the web
Works **fully offline**. Native 3D world bundled.
### ๐ Run your own server
1. `git clone โฆ/Humanity.git`
2. `cargo build --release --features relay --no-default-features`
3. `./target/release/HumanityOS --headless`
4. nginx + systemd in front
Under 10 minutes from zero to live. **[Full guide โ](docs/admin/SELF-HOSTING.md)**
---
## ๐ Security & privacy
| | |
|---|---|
| **Identity signing** | ML-DSA-65 (Dilithium3) โ post-quantum, FIPS 204 |
| **Key exchange** | ML-KEM-768 (Kyber768) โ post-quantum, FIPS 203 |
| **Symmetric encryption** | AES-256-GCM and XChaCha20-Poly1305 |
| **Password KDF** | Argon2id โ memory-hard against GPU attacks |
| **Hashing** | BLAKE3 โ fast and quantum-resistant |
| **Transport** | WebSocket over TLS 1.2+, HSTS, strict CSP |
| **Storage** | Encrypted vaults โ server stores only ciphertext |
| **Logs** | No IP logging, no analytics, no tracking pixels |
| **Privilege** | Non-root systemd service with hardened sandboxing |
| **Audit** | Full report โ [SECURITY_AUDIT.md](docs/SECURITY_AUDIT.md) |
Solana wallet support is **optional** and decoupled from your identity. Using HumanityOS doesn't require any blockchain. If you opt in, the wallet derives from the same 24-word seed via a separate path (`hum/solana/v1`).
---
## ๐ค Transparent AI development
This project is built with open AI participation. Multiple specialized AI agents work on different parts of the codebase, coordinated through:
- **[Agent dashboard](https://united-humanity.us/agents)** โ live status of every AI scope (active / passive / blocked, last audit, gaps)
- **[Agent registry](data/coordination/agent_registry.ron)** โ who owns what; rules for claiming a scope
- **[Orchestrator state](data/coordination/orchestrator_state.json)** โ running session journal that survives across chat sessions
- **[Multi-agent design doc](docs/design/multi-agent-development.md)** โ how it all fits together
Every AI decision is documented. AI agents are **first-class citizens** with the same rules as humans (no extra authority), mandatory transparency, and humans always retain the right to refuse AI interaction.
โ Every line of AI work is visible in the [git history](https://github.com/Shaostoul/Humanity/commits/main).
---
## ๐ง How it works under the hood
Click to expand technical details
### Stack
| Layer | Technology |
|---|---|
| Server (relay) | Rust ยท axum ยท tokio ยท SQLite (WAL mode, Litestream-replicable) |
| Native client | Rust ยท wgpu ยท egui ยท hecs ECS ยท rapier3d physics ยท kira audio |
| Web client | Plain HTML/JS/CSS โ **no build step** |
| Identity | ML-DSA-65 (Dilithium3) post-quantum signatures |
| Key exchange | ML-KEM-768 (Kyber768) post-quantum KEM |
| Object format | Canonical CBOR + BLAKE3 + signed substrate |
| Federation | WebSocket multi-hop gossip with cycle-breaking via dedup |
| Web realtime | WebSocket + WebRTC for voice/video/data channels |
| Hosting | nginx + systemd + Litestream replication to S3-compatible storage |
### Layout
```
Humanity/
โโโ src/ โ Single Rust crate. Feature flags: native, relay, wasm.
โ โโโ main.rs โ --headless for relay-only, default for desktop
โ โโโ relay/ โ Server (axum WebSocket + REST API + SQLite)
โ โ โโโ core/ โ PQ crypto, signed objects, DIDs
โ โ โโโ storage/ โ 38 SQLite domain modules
โ โ โโโ handlers/ โ Federation, message routing, announcements
โ โ โโโ api_v2_*.rs โ REST endpoints (DID, VC, trust, governance, recovery, โฆ)
โ โโโ gui/ โ egui native UI (theme, widgets, 30+ pages)
โ โโโ renderer/ โ wgpu PBR + bloom + particles + hologram
โ โโโ ecs/ โ hecs World + System trait + 41 game systems
โ โโโ physics/ โ rapier3d wrapper
โ โโโ terrain/ โ Icosphere planets, voxel asteroids, ship interiors
โโโ web/ โ Plain JS/HTML/CSS site (served by nginx)
โ โโโ chat/ โ Chat client modules
โ โโโ pages/ โ Standalone pages (37 of them)
โ โโโ shared/ โ shell.js, theme.css, pq-identity.js bridge
โโโ data/ โ Hot-reloadable game + identity + coordination data
โ โโโ chemistry/ โ 462 elements, compounds, alloys, gases, toxins
โ โโโ items/foods/ โ Real-world items with ingredient tox profiles
โ โโโ coordination/ โ Multi-AI agent registry + session state
โ โโโ governance/ โ Proposal type schemas
โ โโโ identity/ โ VC schema registry + trust score weights
โโโ assets/ โ Shaders, models, icons, audio
โโโ docs/ โ All design documents and operations guides
```
### Architecture documents to read
- **[Storage architecture](docs/design/storage-architecture.md)** โ 3-layer model (server / web / native), authority via signed objects, scaling story, P2P paths
- **[Identity](docs/design/identity.md)** โ DID resolution, key rotation, signed profile replication
- **[UI system](docs/design/ui-system.md)** โ Theme tokens, universal Button widget, design tokens
- **[Federation](docs/network/server_federation.md)** โ Federation protocol, signed-object gossip, peer trust
- **[Humanity Accord](docs/accord/humanity_accord.md)** โ Voluntary constitution every server may adopt
- **[Litestream replication](docs/operations/litestream.md)** โ Disaster recovery for self-hosters
### Tests
```bash
cargo test --features relay --no-default-features --lib
# 165/165 tests passing across 38 storage modules + crypto + signing + federation
```
---
## ๐ Federated server registry
The Humanity Accord is a voluntary set of principles every server may adopt. Servers that publicly adopt it earn the highest trust tier in federation. Reach out to [@Shaostoul](https://x.com/Shaostoul) to register.
โ [Read the Accord](docs/accord/humanity_accord.md)
---
## ๐ค Get involved
| | |
|---|---|
| ๐ฌ **Show up** | [united-humanity.us/chat](https://united-humanity.us/chat) โ no account needed |
| ๐ **Discord** | [discord.gg/9XxmmeQnWC](https://discord.gg/9XxmmeQnWC) |
| ๐ **Report bugs** | [united-humanity.us/bugs](https://united-humanity.us/bugs) or open a GitHub issue |
| ๐ **Contributing** | [CONTRIBUTING.md](CONTRIBUTING.md) โ start here if you want to write code |
| ๐ธ **Donate** | [GitHub Sponsors](https://github.com/sponsors/Shaostoul) โ every dollar goes to development & hosting |
**We need writers, designers, developers, educators, translators, testers โ and just anyone who cares.** Show up in chat and ask what needs doing.
---
## ๐ Find Michael (project lead)
๐ฅ [YouTube](https://youtube.com/@Shaostoul) ยท ๐บ [Twitch](https://twitch.tv/Shaostoul) ยท ๐ [X / Twitter](https://x.com/Shaostoul) ยท โ๏ธ [Bluesky](https://bsky.app/profile/shaostoul.bsky.social) ยท ๐ฎ [Steam](https://steamcommunity.com/id/Shaostoul)
---
## ๐ License
[**CC0 1.0 Universal**](https://creativecommons.org/publicdomain/zero/1.0/) โ public domain. No permission required, no attribution required. This belongs to everyone.
---
Built since 2019 (originally Project Universe). 7 years of work, hundreds of features, all free, all yours.