Get the latest tech news

GoToSocial WASM-based SQLite driver and BSD


I started using GoToSocial (the fast, fun and small ActivityPub server) in 2022 on OpenBSD. Because it was nearly the only OpenBSD-native ActivityPub options at that time, because it was light and because it could use the SQLite database engine . I stopped using it when it was marked BROKEN because of incompatibilities between modernc.org/sqlite and OpenBSD kernel. This is when I switched to Mastodon and stop using it. Until recently, when I discovered there was a pkgsrc option available.

With version 0.17.0 “Selective Sloth”, it became even worse and the devs made an unsupported “nowasm” option available which basically targets FreeBSD and Linux 32-bits. On my NetBSD VM or the OmniOS zone, I need to allocate 4GB of RAM for GtS to start even though this is a single user instance that posts like 5 messages a week. After patching my local pkgsrc tree, I could compile GoToSocial 0.17.1 “Very Selective Sloth” on NetBSD, without WASM, using env PKG_OPTIONS.gotosocial=nowasm make build.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of BSD

BSD

Photo of based sqlite driver

based sqlite driver

Photo of gotosocial wasm

gotosocial wasm

Related news:

News photo

Switching customers from Linux to BSD because boring is good

News photo

Switching customers from Linux to BSD because boring is good

News photo

Wine 9.9 (Dev) – Run Windows Applications on Linux, BSD, Solaris and macOS