2026-07-19 11:29:04 +02:00
[](https://github.com/J3vb/OwnCord/actions/workflows/ci.yml)
[](https://github.com/J3vb/OwnCord-releases/releases/latest)




[](LICENSE)
2026-04-05 09:27:42 +02:00
2026-03-14 19:57:39 +01:00
# OwnCord
2026-03-14 21:58:53 +01:00
2026-04-05 09:27:42 +02:00
The gaming chat platform you actually own.
2026-03-22 15:34:26 +01:00
2026-04-02 11:23:08 +02:00
2026-04-05 09:27:42 +02:00
> **Early Alpha / Work in Progress**
> OwnCord is in active development and is not production-ready. Expect rough edges, rapid changes, and occasional breaking behavior.
>
> Do not use it for sensitive communications yet.
## Development Model
OwnCord is built with an AI-first development workflow.
Most implementation is generated through autonomous AI tooling, with quality validated primarily through automated checks (CI, tests, linting) and real-world feedback during alpha.
This approach enables fast iteration, but it also means behavior may change quickly between releases.
OwnCord is a self-hosted chat stack with a Go server and a Tauri desktop client.
It includes real-time messaging, voice/video via LiveKit, file sharing, and a web admin panel.
2026-03-14 21:58:53 +01:00
2026-03-30 22:36:38 +02:00
<p align="center">
<img src=".github/images/Client.png" alt="OwnCord Client" width="700">
</p>
<p align="center">
<img src=".github/images/loginpage.png" alt="Login Page" width="340">
<img src=".github/images/Admin_Panel.png" alt="Admin Panel" width="340">
</p>
2026-04-05 09:27:42 +02:00
## Current Project Status
| Area | Status |
| ---- | ------ |
| Core chat flow | Working in alpha |
| Voice/video | Working in alpha |
| Admin panel | Working in alpha |
2026-07-19 11:29:04 +02:00
| Security hardening | First full review pass landed in v1.1.0-alpha.2; ongoing |
2026-04-05 09:27:42 +02:00
## Platform Support (Current Releases)
| Component | Windows x64 | Linux x64 | Linux ARM64 |
| --------- | ----------- | --------- | ----------- |
2026-07-19 11:29:04 +02:00
| Server binary | Yes | Yes | Not yet |
| Desktop client | Yes (NSIS installer) | Yes (AppImage, .deb) | Yes (AppImage, .deb) |
| Docker server | N/A | Build from source (compose) | Not yet |
2026-04-05 09:27:42 +02:00
## Start Here
- New user quick path: [docs/quick-start.md ](docs/quick-start.md )
- Linux Docker deployment: [docs/deployment.md ](docs/deployment.md )
- Remote access without router config: [docs/tailscale.md ](docs/tailscale.md )
- Manual router/network setup: [docs/port-forwarding.md ](docs/port-forwarding.md )
2026-04-02 16:34:54 +03:00
## Quick Start
2026-04-05 09:27:42 +02:00
### Option A: Prebuilt binaries
2026-04-02 16:34:54 +03:00
2026-07-18 11:17:29 +02:00
1. Download assets from [OwnCord-releases ](https://github.com/J3vb/OwnCord-releases/releases ) (binaries, checksums, signatures, and a full source snapshot per release).
2026-04-05 09:27:42 +02:00
2. Run the server binary:
- Windows: `chatserver.exe`
- Linux: `./chatserver`
3. Open `https://localhost:8443/admin` and create your Owner account.
4. Generate invite codes in the admin panel and share them with friends.
2026-04-02 16:34:54 +03:00
2026-04-05 09:27:42 +02:00
### Option B: Docker (Linux server)
2026-04-02 16:34:54 +03:00
2026-04-05 09:27:42 +02:00
```bash
cd Server
cp .env.example .env
cp livekit.yaml.example livekit.yaml
# Edit both files before starting
docker compose up -d
```
2026-04-02 16:54:33 +02:00
2026-04-05 09:27:42 +02:00
See the full setup guide in [docs/deployment.md ](docs/deployment.md ).
2026-04-02 16:54:33 +02:00
2026-04-05 09:27:42 +02:00
The client uses TOFU (Trust On First Use) for self-signed certificates: it prompts once, then pins the certificate for future connections.
2026-04-02 16:54:33 +02:00
2026-04-05 09:27:42 +02:00
## What OwnCord Already Has
2026-04-02 16:54:33 +02:00
2026-04-05 09:27:42 +02:00
- Real-time channels and direct messages over WebSocket
- Voice/video channels via LiveKit
- Invite-only registration and role-based permissions
- Web admin panel with logs, backups, and update tooling
- File uploads and inline media rendering
- TOTP 2FA support and API rate limiting
- Desktop client auto-update with signature verification
2026-03-14 21:58:53 +01:00
2026-07-19 13:57:28 +00:00
See deeper feature and architecture docs in [docs/architecture/ ](docs/architecture/README.md ) and [docs/protocol.md ](docs/protocol.md ).
2026-03-15 16:54:55 +01:00
2026-03-14 21:58:53 +01:00
## Architecture
2026-04-05 09:27:42 +02:00
Two main components:
- Go server (REST API, WebSocket hub, SQLite, admin panel)
- Tauri v2 desktop client (Rust backend + TypeScript frontend)
2026-03-14 21:58:53 +01:00
2026-03-15 16:54:55 +01:00
```text
+---------------------+ +---------------------+
| OwnCord Client | | OwnCord Server |
| (Tauri v2) | | (Go) |
| | | |
| +---------------+ | WSS | +---------------+ |
| | Chat UI |--+------->| | WebSocket Hub| |
| +---------------+ | | +---------------+ |
| +---------------+ | HTTPS | +---------------+ |
| | REST Client |--+------->| | REST API | |
| +---------------+ | | +---------------+ |
2026-03-22 15:34:26 +01:00
| +---------------+ | LiveKit | +---------------+ |
| | Voice/Video |--+------->| | LiveKit SFU | |
2026-03-15 16:54:55 +01:00
| +---------------+ | | +---------------+ |
+---------------------+ | +---------------+ |
| | SQLite DB | |
| +---------------+ |
+---------------------+
2026-03-14 21:58:53 +01:00
```
2026-04-05 09:27:42 +02:00
## Build and Test
2026-03-18 17:56:03 +01:00
### Prerequisites
- Go 1.25+
- Node.js 20+
2026-04-05 09:27:42 +02:00
- Rust stable (client builds)
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
### Build from source
2026-03-18 17:56:03 +01:00
```bash
2026-04-05 09:27:42 +02:00
# Server (Windows)
2026-03-18 17:56:03 +01:00
cd Server
2026-07-19 11:29:04 +02:00
go build -o chatserver.exe -ldflags "-s -w -X main.version=1.1.0-alpha.2" .
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
# Server (Linux)
cd Server
2026-07-19 11:29:04 +02:00
CGO_ENABLED = 0 go build -o chatserver -ldflags "-s -w -X main.version=1.1.0-alpha.2" .
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
# Client
2026-03-18 17:56:03 +01:00
cd Client/tauri-client
npm install
npm run tauri build
```
2026-04-05 09:27:42 +02:00
### Core verification commands
2026-03-18 17:56:03 +01:00
```bash
# Server
2026-04-05 09:27:42 +02:00
cd Server
go test ./...
2026-03-18 17:56:03 +01:00
# Client
cd Client/tauri-client
2026-04-05 09:27:42 +02:00
npm run typecheck
npm run lint
npm test
2026-03-18 17:56:03 +01:00
```
2026-04-05 09:27:42 +02:00
For the full command set, use [docs/contributing.md ](docs/contributing.md ).
2026-03-18 17:56:03 +01:00
## Configuration
2026-04-05 09:27:42 +02:00
On first run, the server generates `config.yaml` and a local `data/` directory:
2026-03-30 22:31:06 +02:00
```text
data/
2026-04-05 09:27:42 +02:00
├── chatserver.db
├── certs/
├── uploads/
└── backups/
2026-03-30 22:31:06 +02:00
```
2026-04-05 09:27:42 +02:00
Key options include TLS mode, upload limits, LiveKit settings, and admin CIDR restrictions.
See [docs/server-configuration.md ](docs/server-configuration.md ).
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
## Security and Vulnerability Reporting
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
- For vulnerabilities, use GitHub Security Advisories (private disclosure flow).
- Do not open public issues for security bugs.
- Read full policy and hardening notes in [docs/security.md ](docs/security.md ).
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
## Update Signing Notes (Maintainers)
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
Client and server update signing keys are intentionally separate.
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
Required Actions secrets for release signing:
2026-04-02 23:35:11 +02:00
2026-04-05 09:27:42 +02:00
- `TAURI_SIGNING_PRIVATE_KEY`
- `TAURI_SIGNING_PRIVATE_KEY_PASSWORD`
- `SERVER_UPDATE_SIGNING_PRIVATE_KEY`
- `SERVER_UPDATE_SIGNING_PRIVATE_KEY_PASSWORD`
2026-04-02 23:35:11 +02:00
2026-04-05 09:27:42 +02:00
When rotating the server updater key, update [Server/updater/server_update_public_key.txt ](Server/updater/server_update_public_key.txt ) and use staged rollover for live fleets.
2026-03-18 17:56:03 +01:00
2026-04-05 09:27:42 +02:00
## Docs Index
2026-03-14 21:58:53 +01:00
2026-04-05 09:27:42 +02:00
- [docs/quick-start.md ](docs/quick-start.md )
- [docs/deployment.md ](docs/deployment.md )
- [docs/livekit-setup.md ](docs/livekit-setup.md )
- [docs/port-forwarding.md ](docs/port-forwarding.md )
- [docs/tailscale.md ](docs/tailscale.md )
2026-07-19 12:18:20 +00:00
- [docs/architecture/ ](docs/architecture/README.md ) — system blueprints (diagrams + flows)
- [docs/audit-2026-07-19.md ](docs/audit-2026-07-19.md ) — latest architecture & spec-conformance audit
2026-04-05 09:27:42 +02:00
- [docs/api.md ](docs/api.md )
- [docs/protocol.md ](docs/protocol.md )
- [docs/schema.md ](docs/schema.md )
2026-07-19 13:57:28 +00:00
- [docs/architecture/client.md ](docs/architecture/client.md ) — client architecture (replaces client-architecture.md)
2026-07-19 16:58:43 +00:00
- [docs/architecture/ux/ ](docs/architecture/ux/README.md ) — client UX specification (target-state flows, per-view states, event→reaction maps)
2026-04-05 09:27:42 +02:00
- [docs/contributing.md ](docs/contributing.md )
- [docs/security.md ](docs/security.md )
2026-03-18 17:56:03 +01:00
2026-03-30 22:31:06 +02:00
## Contributing
2026-07-19 11:29:04 +02:00
1. Create a branch from `main` .
2026-04-05 09:27:42 +02:00
2. Keep changes focused and tested.
2026-07-19 11:29:04 +02:00
3. Open a PR targeting `main` .
2026-03-30 22:31:06 +02:00
2026-04-05 09:27:42 +02:00
See [docs/contributing.md ](docs/contributing.md ) for the full process.
2026-03-14 21:58:53 +01:00
## License
2026-03-30 20:50:44 +02:00
AGPL-3.0