HumanityOS, a free open source CC0 decentralized civilization operating system for ending poverty, corruption, fraud, and tyranny in pursuit of a peaceful harmonious united humanity. Means of helping humanity today and preparing for our civilization's imminent interplanetary existence.
  • Rust 43.5%
  • JavaScript 30.6%
  • HTML 19.4%
  • WGSL 3.3%
  • CSS 2.4%
  • Other 0.8%
Find a file
Shaostoul 8e2b7c19c4
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Deploy to VPS / Deploy (push) Waiting to run
Build Desktop App / Build (linux-x64) (push) Waiting to run
Build Desktop App / Build (macos-arm64) (push) Waiting to run
Build Desktop App / Build (macos-x64) (push) Waiting to run
Build Desktop App / Build (windows-x64) (push) Waiting to run
Build Desktop App / Bundle data files (push) Blocked by required conditions
Build Desktop App / Notify chat (push) Blocked by required conditions
v0.127.0: Self-hosted Forgejo live at git.united-humanity.us — multi-remote ship
Step 1 of the distribution-sovereignty plan from v0.126.0 lands. HumanityOS
now has a sovereignty source-code mirror under operator control at
https://git.united-humanity.us/shaostoul/humanity. GitHub stays as the
discovery + CI layer; Forgejo is the copy that doesn't depend on any third
party.

## What's live

- Forgejo v15.0.0 at /usr/local/bin/forgejo (single statically-linked Go
  binary), running as user `forgejo` via systemd unit
  /etc/systemd/system/forgejo.service.
- Data at /var/lib/forgejo (SQLite3 db + repos + LFS + logs); config at
  /etc/forgejo/app.ini.
- nginx reverse proxy at /etc/nginx/sites-available/git.united-humanity.us
  → 127.0.0.1:3000 with client_max_body_size 1024m for LFS pushes.
- Let's Encrypt TLS auto-renewing via certbot timer (expires 2026-07-28).
- Self-registration disabled, OpenID disabled — only the admin (`shaostoul`)
  can sign in.
- Initial mirror complete: 12386 objects, 50 tags (v0.1.0 → v0.126.0),
  2 branches (main + claude/happy-panini), 51 MB.

## Justfile change

`_commit` now pushes to both remotes:
  git push origin main      # GitHub (required — keeps download.html, the
                            # auto-updater, and the Build Desktop App
                            # workflow ticking)
  -git push forge main      # Forgejo (best-effort; `-` prefix means a
                            # transient outage on the sovereignty mirror
                            # doesn't block ship)

Tag push works the same way: tags go to origin first, then forge.

## Documentation

`docs/forgejo-setup.md` records:
- What's running and where (binary, data, config, systemd, nginx, TLS)
- Multi-remote push semantics
- Operations cheatsheet (status, logs, restart, backup, upgrade)
- Reproduction steps for future operators
- Two install gotchas hit and how they were fixed:
  * Debian 11's git 2.30.2 too old (Forgejo wants ≥2.34.1) — built 2.45.2
    from source at /usr/local/bin/git, wired into app.ini's [git] PATH.
  * app.ini ownership root:forgejo (mode 640) blocked the installer from
    saving config — chowned to forgejo:forgejo.

## Verification

- Forgejo API confirms the mirror state.
- Multi-remote `_commit` will be exercised by this very ship; the commit
  message you're reading lands on both GitHub and Forgejo.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 23:57:58 -07:00
.claude v0.101.0: Phase 1 PR 2 — Verifiable Credentials 2026-04-24 16:58:21 -07:00
.github/workflows v0.124.0: BUG-034 fix (updater corrupts binary on Windows) + audit Session 3 (storage tests + UI parity doc) 2026-04-27 19:55:57 -07:00
assets v0.96.0: Tight chat rows, group channels with voice+cog, inline image rendering, Sun body, true-black space 2026-04-22 21:48:21 -07:00
backups Restructure: eliminate native/ nesting, clean up stale files 2026-04-05 22:03:27 -07:00
data v0.127.0: Self-hosted Forgejo live at git.united-humanity.us — multi-remote ship 2026-04-28 23:57:58 -07:00
docs v0.127.0: Self-hosted Forgejo live at git.united-humanity.us — multi-remote ship 2026-04-28 23:57:58 -07:00
logs Restructure: eliminate native/ nesting, clean up stale files 2026-04-05 22:03:27 -07:00
mods v0.86.0: Remove Tauri app/, simplify repo structure, add mods/ 2026-03-29 17:32:23 -07:00
saves Restructure: eliminate native/ nesting, clean up stale files 2026-04-05 22:03:27 -07:00
schemas v0.91.1: Data-driven growth stages, room definitions, combat, 11 new systems 2026-04-10 18:48:22 -07:00
scripts v0.123.0: Audit Session 2 — Tier 3 Infinite-of-X migration (7 hardcoded arrays → data files) 2026-04-27 00:16:07 -07:00
src v0.126.0: Channel set reduced to general+announcements + distribution-sovereignty plan 2026-04-27 23:25:08 -07:00
web v0.127.0: Self-hosted Forgejo live at git.united-humanity.us — multi-remote ship 2026-04-28 23:57:58 -07:00
.gitignore v0.90.0: Massive content + rendering + UI session 2026-04-07 18:33:15 -07:00
build.rs Unify binary: merge server/ and crates/ into src/relay/ 2026-04-07 19:04:12 -07:00
Cargo.lock v0.127.0: Self-hosted Forgejo live at git.united-humanity.us — multi-remote ship 2026-04-28 23:57:58 -07:00
Cargo.toml v0.127.0: Self-hosted Forgejo live at git.united-humanity.us — multi-remote ship 2026-04-28 23:57:58 -07:00
CHANGELOG.md Update all docs to v0.43.0: 152 features tracked 2026-03-24 10:21:56 -07:00
CLAUDE.md v0.118.0: Agent dashboard + AI usage tracker + orchestrator continuity protocol 2026-04-26 17:24:37 -07:00
CONTRIBUTING.md v0.122.0: Audit Session 1 — federation sig verify + doc truthfulness sweep + theme build wiring 2026-04-26 23:46:02 -07:00
Justfile v0.127.0: Self-hosted Forgejo live at git.united-humanity.us — multi-remote ship 2026-04-28 23:57:58 -07:00
package-lock.json Major refactor: split relay.rs, unify settings, replace hardcoded colors, reorganize docs (v0.6.0) 2026-03-17 20:53:02 -07:00
package.json Major refactor: split relay.rs, unify settings, replace hardcoded colors, reorganize docs (v0.6.0) 2026-03-17 20:53:02 -07:00
README.md v0.121.2: README rewrite — current architecture, accessible language, clean rows/columns 2026-04-26 19:22:21 -07:00

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   ·   💬 Chat   ·   📥 Download   ·   💜 Discord


💡 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). 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
  2. Pick a display name
  3. Say hi in #welcome
  4. Take the 5-minute tour

No signup. No email. No credit card.

💻 Desktop app

  1. Visit 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 →


🔐 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

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:

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.


🧠 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 — 3-layer model (server / web / native), authority via signed objects, scaling story, P2P paths
  • Identity — DID resolution, key rotation, signed profile replication
  • UI system — Theme tokens, universal Button widget, design tokens
  • Federation — Federation protocol, signed-object gossip, peer trust
  • Humanity Accord — Voluntary constitution every server may adopt
  • Litestream replication — Disaster recovery for self-hosters

Tests

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 to register.

Read the Accord


🤝 Get involved

💬 Show up united-humanity.us/chat — no account needed
💜 Discord discord.gg/9XxmmeQnWC
🐛 Report bugs united-humanity.us/bugs or open a GitHub issue
📖 Contributing CONTRIBUTING.md — start here if you want to write code
💸 Donate GitHub Sponsors — 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 · 📺 Twitch · 𝕏 X / Twitter · ☁️ Bluesky · 🎮 Steam


📜 License

CC0 1.0 Universal — 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.