For testing purposes, we can set http_signature_is always_valid to any value in the db settings Object. This allows us e.g. to replay ActivityPub payloads using curl, without having to deal with signatures while we are implementing new features.
slon
A Mastodon-compatible fediverse server for TempleOS
overview
Slon is developed to run from a standard TempleOS installation, or directly from the live CD.
Slon includes its own Virtio net and block device drivers, TCP/IPv4 network stack, and various supplemental libraries, all loaded at runtime, making it suitable for QEMU/KVM based cloud environments.
Image uploads powered by Catbox (Support Catbox: Patreon | Ko-fi | Merch)
https://github.com/user-attachments/assets/9a220af9-3c4a-4fbc-b49d-0dfe4482cd1d
Slon utilizes the following third-party libraries:
-
stb_image.handstb_image_write.h(for optional image processing) -
libtomcryptandtlse(for HTTP Signatures and TLS support)
Slon has a default theme for web view that mimics the TempleOS WinMgr, using emoji from the SerenityOS project (https://emoji.serenityos.org):
Slon is intended to be deployed as a single-user (or, handful-of-users) instance.
build
dependencies:
-
clang-format
-
gcc
-
moreutils
-
qemu
-
TempleOS V5.03 Standard Distro ISO
sha256sum: 5d0fc944e5d89c155c0fc17c148646715bc1db6fa5750c0b913772cfec19ba26
create an empty disk image for storage:
qemu-img create -f qcow2 virtio-disk.qcow2 4G
build and run
-
modify
scripts/build_allto match your system -
(optional) use the included
.vscodeworkflow
