A relational database management system that implements its storage layer entirely using Discord API primitives. It maps Discord guilds to databases, channels to heap file segments, messages to rows and WAL entries, roles to free space maps, and forum channels to B-Tree indexes. The system provides a PostgreSQL-compatible wire protocol for SQL access.
- Source Code
- https://github.com/lasect/discodb[01]
- Country of Origin
- IN
- Start Year
- 2026
- Project Types
- Hobby, Open Source
- Written in
- Go
- Operating System
- Linux
- License
- GPL v3
A relational database management system that implements its storage layer entirely using Discord API primitives. It maps Discord guilds to databases, channels to heap file segments, messages to rows and WAL entries, roles to free space maps, and forum channels to B-Tree indexes. The system provides a PostgreSQL-compatible wire protocol for SQL access.
History
The project explores the feasibility of building a relational database on top of Discord's infrastructure. It aims to implement standard database correctness guarantees, including ACID properties, MVCC, and write-ahead logging, using an API originally designed for communication rather than data storage.