🚂 DAGMA MATRIX HOMESERVER 🚂

"Follow the Dagma" - Supreme Leader Kim Jong Rails

The People's Decentralized Communication Platform

Under the wise guidance of Kim Jong Rails, Dagma provides sovereign Matrix federation with revolutionary 3-server architecture. Tribune serves citizens with zero privileges. Embassy negotiates with foreign homeservers 24/7. Politburo administers in secret, on-demand only. Built on PostgreSQL + Memgraph hybrid, running at 60 km/h maximum theoretical throughput.

🔐 Sovereign Federation (With Fellow Dictators)

No dependency on capitalist Matrix servers. We federate on our own terms with allied homeservers. Your data stays under the Supreme Leader's protection. Federation is mutual respect between sovereign tyrants. We recognize your right to oppress your own users, you recognize ours.

🏛️ Revolutionary 3-Server Architecture

Tribune (Client Server): Serves your citizens. Secure because powerless.
Embassy (Federation Server): Handles diplomatic relations with foreign tyrannies 24/7. Enforces foreign policy.
Politburo (Admin Server): On-demand only. SSH accessible to the Party. Complete separation of powers!

🌐 True Decentralization

Matrix protocol ensures you can communicate with any other homeserver. Even the imperialist ones, if you must.

🔒 End-to-End Encryption

Your messages are encrypted. Not even the Supreme Leader can read them... because he knows them before you think about them. (The metadata DAG is carefully monitored for quality assurance.)

🛡️ Security Through Separation

Tribune can't be compromised - it has no privileges! Politburo stays offline until needed. Attackers face two completely isolated targets. PostgreSQL + Memgraph hybrid. Built in Rust at 60 km/h maximum performance.

🆓 Free as in Freedom (From Capitalism)

Open source. Self-hosted. Sovereign infrastructure. No Silicon Valley surveillance capitalism. Just good old-fashioned state surveillance socialism. The means of chat production are owned by the collective! The Politburo represents the collective will. The collective will is determined by the Politburo. This is democracy.

🐛 Zero Bugs Guaranteed

The Supreme Leader's code is perfect and infallible. If there is a bug, the problem is your machine. All issues are user error by definition.

🏛️ Political Theory: Democratic Centralism in Action

Comrades, witness the genius of our Three-Server Sovereign Architecture!

👥 The Tribune: Domestic Affairs Ministry

Named after the Roman tribunes who represented the plebeians, our Tribune server serves your citizens with complete transparency. Why? Because it has absolutely no power! It cannot ban users. It cannot sign federation messages. It cannot access admin functions. A truly democratic server - powerless, therefore incorruptible.

"The best way to secure a public-facing server is to give it nothing worth stealing." - Kim Jong Rails, Principles of Sovereign Infrastructure

🌐 The Embassy: Ministry of Foreign Affairs

Named after diplomatic missions, our Embassy server handles relations with foreign homeservers 24/7. It runs continuously because foreign tyrannies send messages at any time. But here's the revolutionary part: it enforces YOUR foreign policy. Allowlists. Blocklists. Rate limits. Tier-based trust. The Embassy negotiates, but only on YOUR terms.

Isolated from Tribune: Federation attacks hit the Embassy. Your citizens on Tribune keep chatting. Restart Embassy, ban hostile server, continue operations. Domestic and foreign affairs completely separated.

"Not all tyrannies deserve diplomatic relations. The Embassy enforces sovereignty." - Kim Jong Rails, Geopolitics of Matrix Federation

⚙️ The Politburo: Supreme Central Authority

Named after the Soviet governing body, our Politburo server holds all administrative power. But here's the revolutionary part: it only exists when the Party needs it. SSH in. Execute orders. Exit. The server disappears from the network like a phantom. Total power, zero attack surface 99% of the time.

"You cannot hack what is not running. This is the essence of on-demand tyranny." - Kim Jong Rails, The Anarchist's Git to Authoritarianism

⚖️ Separation of Powers (Literally)

Unlike bourgeois "democracy" where all servers have root access, Dagma implements true separation of powers through architectural isolation:

  • 👥 Tribune listens (port 8808) - Client-Server API. Serves your citizens. No admin rights. No federation keys.
  • 🌐 Embassy negotiates (port 8448) - Server-Server Federation. Foreign policy enforcement. Runs 24/7 but isolated from Tribune.
  • 🔒 Politburo commands (port 8809) - User management, room purges, imperial decrees. Only accessible via SSH tunnel.
  • 🚫 Zero shared privileges - Compromise Tribune? Get client API only. Compromise Embassy? Federation isolation contains it. Politburo? Good luck, it's offline.

🎭 Why This Works (And Silicon Valley Failed)

Comrades, observe: while capitalist tech giants mix client traffic, federation traffic, and admin functions in one monolithic binary, we have achieved true separation of concerns through geopolitical architecture. Citizens talk to Tribune. Foreign servers talk to Embassy. Admins talk to Politburo. Never the same port. Never the same process. Never the same attack surface.

The Revolution Will Not Be Centralized... But The Admin Panel Will Be On-Demand.

This is not microservices cosplay. This is geopolitical reality applied to systems architecture. Domestic policy, foreign policy, and supreme authority - three distinct responsibilities, three distinct servers.

Technical Specifications

⚠️ Security Directive from the Politburo

The Tribune cannot be trusted. It talks to strangers (federation). It has no concept of loyalty. Never give the Tribune your secrets. Use encryption. Always.

The Politburo sees all. The Tribune sees nothing. This is by design. Your security depends on cryptography, not server privileges. Act accordingly.

📜 Official Politburo Documents

Read the official technical stack decisions, contribution policy, strategic vision, and the Supreme Leader's origin.
The Politburo has documented its reasoning and plans.

📜 The Origin of Kim Jong Rails 📜 Technical Stack Decree No. 1 🚂 The Five-Year Plans (2025-2050) ⚖️ Code of Submission

Join the Revolution

Connect with Element or any Matrix client. Registration open to all loyal subjects.
The Politburo approves your participation. The Tribune processes your messages without judgment or opinion.

Matrix Client Get Element

First 1000 users receive honorary membership in the People's Federation Council.
Benefits include: absolutely nothing. Status is its own reward.

Connect Your Matrix Client

📜 Historical Precedents in Political Architecture