I’m building a new activitypub/threadiverse software focused on the needs of self hosters who want a single user instance.
I’ve been posting with it semi-regularly for the last month, and I think it’s ready for an open demo.
One of my objectives is to have the lightest resource usage for memory and CPU constrained hardware, as well as the fastest loading web interface for older phones and limited data plans. I ran out of data on my phone last week and having a 41kb front page came in very handy.
You can try the web UI at https://scrapetacular.ydns.eu/latest You can also POST AS A GUEST TO THE FEDIVERSE without signing up. I’m not sure you can do this anywhere else, I’m manually approving posts on the backend because … well you know. If it asks for a user and pass, use guest and guest, your post will appear with a username like guest4269.
Ideally, open this post https://scrapetacular.ydns.eu/post/10127 and reply to it.
My other plan for mobile is to target the Sync for Lemmy app, as it’s dead, meaning it’s no longer a moving target.
I’ve made a few technical choices aimed at keeping things fast
These include:
No ORMs
- They are convenient but make performance tuning difficult when things get complex as you don’t write the queries directly
No Javascript
- I may have to go back on this if I keep the guest posting function, it might need a captcha or anubis.
No nested comments in the web UI
- Nested comments are super slow, you are essentially querying the database for the OP, then querying for the N immediate children, then doing N queries for all of their children, then keep going recursively until you reach your depth limit, or all comments are found, you then need to render this structure with html/css
No front page images
- This is more of a personal preference that happened to make things load faster, the front page displays the text of the OP and last few comments IN FULL, giving a good preview of the conversation, and allocating more space to people who write rather than post memes. Inline images in posts are also replaced with links.
No upvotes/downvotes
- DID YOU KNOW that most threadiverse traffic is upvotes, downvotes adn emojis? You get an instant speedup by simply not processing them. Also, since this is a single user instance, all my comments are by definition awesome
ROADMAP
- Massive refactor
- Make the project public
- unit tests (this is basically my only requirement for v1)
- sync for lemmy API
- admin UI
- “AI” to “My Butt” wordfilter (mandatory and hardcoded)
- default subscription to /c/fuck_AI
- Solve channel discoverablity once and for all
- SUPERBLOCK (i.e. block everyone who liked this comment)
- dockerfile? I don’t use docker tbh
- Read Mastodon posts? Do they even have good content?
Tech Stack
- Go
- SQLite
I’m using the pure Go sqlite library, Bluemonday for html sanitisation, Blackfriday for Markdown and Migrate for auto db migrations.
End
Thanks to Snoopy and the Cool Froges at jlai.lu for allowing me to test on their channel.
Is this project of interest to you? Have I missed anything obvious? Is there anything else you would like to know?
Nested comments are super slow
I agree with this. I wrote a lemmy reader for emacs gnus and fetching the comments really leaves a lot to be desired! In fact, I’d say a lot of the Lemmy APIs leave a lot to be desired (no pagination with a cursor!)
I love this!
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters AP WiFi Access Point DNS Domain Name Service/System VPS Virtual Private Server (opposed to shared hosting)
3 acronyms in this thread; the most compressed thread commented on today has 15 acronyms.
[Thread #154 for this comm, first seen 10th Mar 2026, 22:50] [FAQ] [Full list] [Contact] [Source code]
That sounds pretty fun, I like your extremist take on things.
If you want to federate votes in an efficient way, consider doing them in batches, like this - https://codeberg.org/rimu/pyfedi/src/branch/main/docs/fep-4248.md. Sending batches means building up a queue, etc which is a pain in the ass so you might want to just receive batches and send individually.
You can do nested comments more efficiently by doing a single query for all the comments on a post and then constructing the comment tree in Go, rather than using multiple SQL queries. It’s a bit tricky to code but you can copy PieFed’s code - https://codeberg.org/rimu/pyfedi/src/commit/68d6799be5c321f9abf84d136cafef6de6e3aafb/app/post/util.py#L141
Whoa senpai noticed me. There actually is a recursive query format in the latest sqlite for this exact situation, Postgres may have something similar, I just thought a list is fine for the web UI. I’ll have to benchmaxx and pick a strategy for the API.
I actually read that FEP. In my code that is too shameful to release yet, I look for an Object, then look for its Type, then figure out how to deserialize the rest of the object, but this object doesn’t have one. Would it be possible to do something like this:
{ "object": { "type": "LikeCollection", "likes": [like1, like2, ..etc] } }Or is that weird. Spare a thought for those in less dynamic languages :D
You’re right, to be more similar to the ActivityPub style of doing things the object should be a “type” of “Collection”, not just suddenly be an array instead of an object. I will migrate PieFed over to that instead.
Shit, that went well, I was expecting pushback. Should I make an issue for discussion, or is there one already. I don’t know if the object also needs an ID
There is a discussion but it’s an email chain between myself, Lemmy, Mbin, NodeBB so not really out in the open.
I’m thinking of using the normal OrderedCollection structure that AP has - https://www.w3.org/TR/activitystreams-vocabulary/#dfn-orderedcollection. An object of type ‘OrderedCollection’ with an array of ‘items’.
I think so? I guess a Like has to happen before an Unlike, would the collection have multiple possible activity types in it?
While I have your ear, I don’t know how yet but I’d like it to be easier for devs to collaborate over AP for anything not involving security.
You can also POST AS A GUEST TO THE FEDIVERSE without signing up.
Oh, dear lord. As if we don’t have enough spam and drive-by trolls as it is.
🚨🚨🚨 WE HAVE OUR FIRST GUEST SHITPOSTER 🚨🚨🚨 WE HAVE OUR FIRST GUEST SHITPOSTER
🚨🚨🚨 DEAR MR PTZIDENT, A SECOND GUEST SHITPOST HAS HIT THE FEDIVERSE 🚨🚨🚨
I like interactive demos, especially ones that worry people :) But I don’t want my instance to get banned so I have to manually approve messages.
Also, to reply to this thread as a guest use this link https://scrapetacular.ydns.eu/post/10170
This is exactly the kind of insanity we need around here. I think some of these choices are bonkers and that’s great.
I’m glad someone gets The Vision, I don’t want to just build Lemmy but in a better language :D
There’s more where that came from
You may notice that some threads have a word count for certain words, I’m working on a feature that I’m calling the Godwin Factor, you pass in a list of words to look for that will tell you if the thread is already a dumpsterfire before you go in.
Say you’re on /c/baking and you see an innocuous thread about apple pie, then you see that it has 274 comments, and 8 people have been called nazis, just look at the picture and move on with your day.
I think projects like these will eventually cause activity pub to evolve into something that handles scaling better.
Hopefully. Or it might actually evolve into something worse
THIS IS THE FUTURE FURRIES WANT https://evilmaid.net/blog/trusting-trust-fediverse/interactionPolicy-flow.png
Wow, bold decisions for what it’ll support and not. I like that it’s laser focused on a specific use case. What do you think about the impact to instances’ federation queue when a bunch of single user instances follow a community? 10x the traffic and queue for 10 single user instances than one instance with 10 users.
I ask this as someone that ran a full single user lemmy instance right up until recently and switch to a public piefed due to the traffic multiplication and other concerns.
I don’t know if it will scale tbh, but also I don’t expect many people to actually self host, and I’m sort of hoping the fediverse stays a bit … ghettoized. The current threadiverse is like 50000 people and works fine, I’m hoping there will just be more loose communities of 50000 that don’t really federate with the main one.
Let us both hope for those kind of scaling problems due to popularity 🤞
Is it vibes coded?Nevermind!Is the source code already available?
No not yet, probably this weekend, this is just a demo post to see if my VPS catches fire or something. I haven’t picked a licence yet either
Oh yeah super interested in this
I briefly entertained doing a self hosted instance but that turned out to be a tall order for a newbie
Maybe, maybe not. I scoped it to the smallest useful thing I could build and get feedback, which turned out to be about 5k LOC, do you use Go at all?
For anyone that’s interested in something like that, sounds exactly like Snac2 - works very nicely
Yes, I like snac, it’s the first codebase where everything clicked for me. It’s also a bit like a Gotosocial for the threadiverse instead of the twittercloneiverse, because the stack makes a lot of choices for you.
Thoughts on increasing from single user to, say, ten? So that I could selfhost something and have my less technical friends/family on it?
I don’t even HAVE a user table :D
(I might do something screwy with oauth2 to allow authenticated guestposting)






