Harmony — open-source, self-hostable Discord alternative with sovereign identity.
- Monorepo with pnpm workspaces
- TypeScript, ES modules throughout
- Vitest for testing, Rollup for builds
- All data stored as RDF quads
- W3C standards: DIDs, Verifiable Credentials, ZCAPs
pnpm install— install all dependenciespnpm -r test— run all testspnpm -r check— type-check all packagespnpm -r build— build all packages
- Always make sure
pnpm -r checkandpnpm -r testpasses - Tests are spec-oriented: reference W3C specs where applicable
- Interfaces first, implementations second
- Every module is standalone — no module knows about "Harmony the product"
- RDF quads are the universal interchange format
- Crypto must work in browser (no Node.js crypto dependency)
@harmony/crypto+@harmony/quads+@harmony/vocab(no internal deps)@harmony/did(depends on crypto, quads)@harmony/vc(depends on crypto, did, quads)@harmony/zcap(depends on crypto, did, quads)@harmony/identity(depends on crypto, did, vc, zcap, quads)@harmony/migration(depends on crypto, did, vc, zcap, quads, identity)@harmony/migration-bot(depends on migration, discord.js)@harmony/portal(depends on identity, migration, express)@harmony/cli(depends on everything)
See IMPLEMENTATION.md for full module interfaces, spec tests, and architecture.
- Must update TEST-MATRIX.md with new features and flows
- Must update FEATURES.md with new features and details