<h2id="why-another-social-network">Why another social network?</h2>
<p>Is a 'socialist network' possible? Although the internet began with anarchic design principles, it quickly consolidated into the hands of a few of the largest corporations in the world. It has effectively recreated the capitalist mode of production within itself: the means of content production (social media platforms) are privatized while the work of production (posting) remains socially distributed. Exploitation inheres in that relation, whether in the industrial factory or the digital platform, because the value you produce is taken from you, concentrated and privatized.</p>
<p>But a digital network can be redesigned. The technology behind these social media platforms is actually quite simple. We can easily build our own social network, one which is secure, insurveillable, and unmonetizable—one which would give people the security they need to communicate about whatever they want, including protesting against capital and the state..</p>
<h2id="core-principles">Core principles</h2>
<h3id="confidential">Confidential</h3>
<p>All of your data are strongly encrypted end-to-end: only you and those you write to can decrypt and read it. To anyone without the right decryption 'key', the data is nonsense.</p>
<p>All network traffic is routed through Tor, a "deep web" of computers so dense even the FBI can't follow you through it. Comrad's "Operator" or central server is accessible only from Tor. It's impossible to tell who is sending what to whom, or even who is using the app at all.</p>
<p>What's untraceable is also unmonetizable: your data can't be harvested by technology companies and used for advertising algorithms. You're protected from both surveillance capitalism and the surveillance state.</p>
<p>Group accounts or 'collectives', like <spanclass="citation">@portland</span> or <spanclass="citation">@socialists</span>, grow as existing members 'vouch for' new ones, forming webs of trust. Other comrades can see how many times a given person has been vouched for, both within a group and overall, but not who has vouched for them. In order to join a group, at least one member must vouch for you; this minimum (or 'quorum') may grow as the group grows.</p>
<p>Data is deleted as soon as possible from Comrad. Comrad's "Operator" simply sorts and holds the mail temporarily: as soon as users log in to download their mail, the messages are deleted from the server and network forever.</p>
<p><sup>1.</sup><ahref="https://cabal.chat/faq.html#:~:text=What%20kind%20of%20security%20does,is%20involved%20in%20a%20cabal">Cabal FAQ: What kind of security is involved with Cabal?</a></p>
<h3id="in-words">In words</h3>
<olstyle="list-style-type: decimal">
<li>Secure Scuttlebutt? SSB is probably the most impressive alternative social network out there. It's truly P2P, not just federated like Diaspora or Mastodon, so the content you see is coming to you via your friends and their friends: you download it directly from them. It has a great user base...</li>
</ol>
<h2id="progress">Progress</h2>
<h3id="animations-from-mobiledesktop-app">Animations from mobile/desktop app</h3>
<p>(<ahref="https://github.com/ComradOrg/Comrad/blob/master/script/micro_installer">That's</a> a shortcut to <ahref="https://github.com/ComradOrg/Comrad/blob/master/script/install">this auto-installer script</a>.)</p>
<p>Using pyenv, it installs Comrad in a virtual environment with the correct version (3.7) of Python attached. It doesn't override your existing Python configurations.</p>
<p>The mobile/desktop app is made with <ahref="https://github.com/kivymd/KivyMD">KivyMD</a>, a variant of <ahref="https://kivy.org/">Kivy</a>, a cross-platform app development framework in Python. Python is an easy and versatile progamming language to learn, which keeps the code accessible to as many people as possible. Code for the app is in <ahref="comrad/app"class="uri">comrad/app</a>.</p>
<p>Plain old object-oriented code in Python. The root entity is a "Keymaker": anyone from <spanclass="citation">@Telephone</span>, to <spanclass="citation">@Operator</span>, to users, to groups, who has a public/private key pair. The database uses a simple file-based key-value store, written in Python (<ahref="https://github.com/mbr/simplekv">simplekv</a>). Code is in <ahref="comrad/backend"class="uri">comrad/backend</a>.</p>
<p>We are using <ahref="https://github.com/cossacklabs/themis">Themis</a>, a high-level cross-platform cryptography library, for all cryptographic functions, rather than handling any primitives ourselves.</p>