I'm happy to announce that my barebones ActivityPub server, implemented in Node.js/Express, is now open source! I intend for it to be a reference implementation for developers who are adding ActivityPub to their own services, but also it is an application server that you can build on if you want.
In other words, t's a few hundred lines of code that lets you create Mastodon-compatible accounts that can accept follow requests and post stuff to their followers.
I actually built a little toy service (that I will also eventually open source) which converts any RSS feed to an ActivityPub actor that you can subscribe to in Mastodon (or any other AP-compatible client).
Play with it if you like! It is SUPER rough and most feeds end up horribly rendered in Mastodon but it's still kinda cool to see it work: https://bots.tinysubversions.com/convert/
@Algot Did you follow the account? Its updates will only appear in your notifications feed because there is no persistence for a "profile" page with a list of posts (yet)
@Algot if you update again with a new post, let me know, I'm following it now too
I'll go do that next.
Does it matter how many items are in the feed?
@Algot No, it shouldn't. It just does a diff every time it polls the feed and then posts any new items.
@Algot when you follow an account you send it a "Follow" message, and then that account adds your account to a local database. Then when it makes a post you're in the list of accounts to notify.
Just did a site update to the RSS file with a timestamp of
Sat Sep 15 2018 16:20:00 GMT
now I wait.
@Algot Something seems not working, I'll try and figure it out!
Nothing has shown up here yet.
Should I see a notification with a message including my .art account name?
Or will the bot's toot only appear in my home timeline...where it might go by sometimes without being seen.
@Algot Thanks! What I actually hope happens is that clients begin to support things like "notify me in my notifications column every time this account posts even if it's not directed at me". My hope is that by providing these kinds of tools, client implementors will be incentivized to support them.
Have you reached out to the main Mastodon/Pleroma/PixelFed/etc.
I would expect that they would be interested in your ideas.
@Algot Yes! I even know some people involved in ActivityPub itself.
I'll be interested to see how this whole federation thing continues to develop.
Accessory projects like your bot have real potential to enrich the system.
Mastodon.ART — Follow friends and discover new ones. Publish anything you want & not just art of all types: links, pictures, text, video. All on a platform that is community-owned and ad-free. Moderators: @Curator @ChrisTalleras @EmergencyBattle @ScribbleAddict @Adamk678