The 'michat' Pet Logo

Snackabra#

Snackabra is a new technology stack for building private, secure, and sovereign applications. It revisits and redefines the conventional architecture of apps on the internet.

Why did we need to construct a whole new stack? When we embarked on a mission to create chat and social media applications from scratch, integrating 2020s’ ideals of privacy, security, and sovereignty, we discovered that this was unattainable with existing technologies. Many small building blocks were ‘lying around’, but with many gaps. As we tried to assemble these pieces and fill in the gaps, we realized that we were inadvertently building a whole new stack. And so we did.

Whereas conventionally the ‘platform’ layer resides on servers - whether they be edge-based or in datacenters - the Snackabra (SB) architecture is fundamentally different: the application layer remains the same (eg static web sites, React applications, etc), but the platform layer has migrated from servers “behind” the internet backbone into your client (browser). The platform layer in turn still talks to servers somewhere, but now in the form of two composable low-level primitives: channels (communication) and shards (block storage).

The platform layer is encapsulated in a single, standalone Typescript library. The infrastructure layer is defined by protocols, with reference server implementations available on Github.

For motivation and design principles, see the general discussion section.

To jump into some of the technical design details, you might want to start with a slightly technical introduction and then dig into more detailed overview.

Commercial development is being pursued by 384 (https://384.co), but all the core pieces (platform library, reference servers, template clients, etc) are open source. If you would like to contribute or help out with the snackabra project, please feel free to reach out to us.

This is work in progress, there’s much left to do. Design was begun in 2020 and implementation was begun in 2021, and first public release was in February, 2022. The design and implementation leveraged various other projects done at the Institute in 2018-2021.

So please be patient if and when we need to change (sometimes fundamental) things. [3]


Footnotes


LICENSE

Copyright (c) 2016-2023 Magnusson Institute, All Rights Reserved.

“Snackabra” is a registered trademark

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Licensed under GNU Affero General Public License https://www.gnu.org/licenses/agpl-3.0.html