Follow

soundcloud.com/mixmag-1/premie

Music to review code to. 🤓

Bouta start a new database for client side indexing of ActivityPub data and making user curated timelines that much easier.

· · Web · 3 · 0 · 2

Suuuper rough sketch for anyone interested. Basically we'll have a list of accounts you follow in localStorage, then ingest their outboxes into this. Then we'll set up fully p2p identities and use the as another source to ingest stuff like followers only posts and replies from people you don't follow.

github.com/hyphacoop/reader.di

@mauve
Please please please YES. I have done the sqlalchemy version of it for this exact purpose but I kept running up against how much cooler it could be as a direct graph transcription of the json-ld, and if u want a partner on doing something like that I am very much in

@jonny For now we'll start by just rendering notes but having an easy way to filter/sort. We'll be ingesting data into IndexedDB in the client and using minimal-ish code to make it easier to fork and customize the feed.

@jonny I can send you a link when we have something more substantial but for now we're working on v1 here: github.com/hyphacoop/reader.di

@mauve
Aha gotcha, so part of an ongoing thing not literally just new database models. Ok cool! Ill be curious to see what yall come up with

@jonny Yeah the model itself is super simple. Just an object store with indexes. 😅 Initially I wanted to do some zany stuff with RDF but time constraints got in the way.

How will it make user-curated timelines easier? Because I’ve always wanted something like the third point here.

@Hyolobrika Right now timelines exist in the code of large codebases for stuff like Mastodon and require an update for everyone as well as a bunch of security concerns since all the data is mushed together into a single db for instance users. Our approach puts data into a client side db based on a users follows and uses simple js/html/css to make it easier to hack on.

If I remember correctly, there are some #ActivityPub implementations that just serve as relays and put all the functionality in the client.
Can't remember what they're called though.

@Hyolobrika Ooo. If you remember the names I'd love yo learn about them. :o

I'll try and remember to tell you if I find them again.
Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.