Minimal wrapping of a source of posts #1783
Replies: 3 comments 6 replies
-
Sounds like you may want an RSS bot? Eg https://www.bentasker.co.uk/posts/blog/software-development/automatically-posting-into-bsky-threads-and-nostr-from-python.html |
Beta Was this translation helpful? Give feedback.
-
As a longer-term idea, we think it would be cool if it was possible to host atproto repositories as static files on the web. The way this would work is that software like wordpress or a static blog framework would compile a CAR file the same way they generate sitemap.xml or RSS files, updated when a blog post is created or updated. That CAR file would be signed by the repo signing key, then could be hosted at any URL on the public web. The blog server would send a crawl request notification to one or more BGS instances when the file is updated, as a latency optimization. The CAR could also be referenced from the account's DID document. BGS implementations would check if the CAR is updated (eg, ETag?), ingest the whole file (or maybe only new bytes appended to end? or some other network efficiency optimization?) and emit regular firehose delta events. This is something we are pretty enthusiastic about, but is unfortunately far down the current timeline, probably later 2024 at earliest. One of the motivations for this idea was difficulty in incorporating ActivityPub in to simple blogging system, eg: https://macwright.com/2022/12/09/activitypub (no shade on ActivityPub; plenty of other folks have figured out ways to incorporate ActivityPub with blogging) |
Beta Was this translation helpful? Give feedback.
-
To directly answer your question, I think the best options today are:
As an analogy, how would you get blog content in to a git repo (if it wasn't already stored in git)? implementing git from scratch would be a lot of work. |
Beta Was this translation helpful? Give feedback.
-
(My question may or may not make sense, I am new to AT proto and BlueSky)
As an experiment of syndication, I would like to turn my personnal blog into a source of bsky posts that one can follow. I am looking for an as minimal as possible solution, provided that I do not need this blog to react, get notifications, etc. I only need to emit content for now (as I would do with atom/RSS feeds).
I started considering writing my own PDS and only implementing a subset of xrpc methods, but after pulling one string after the other it feels I have to implement the whole PDS mechanism for this, which feels like I did not take the problem correctly.
Questions are:
Beta Was this translation helpful? Give feedback.
All reactions