Replies: 2 comments 9 replies
-
The idea you're describing sounds like it could be easily implemented with Fedify. You could integrate Fedify with a micro-framework like Hono to implement a /fetch-update endpoint, or as you said, you could use Deno Cron to implement it. When the event is triggered, you could convert the update to a However, there are of course easier ways to do this using tools that already exist, such as Hatsu. Additionally, you might find the following series of articles by Maho Pacheco helpful: A guide to implement ActivityPub in a static site (or any website). |
Beta Was this translation helpful? Give feedback.
-
Just thinking out loud here - would it be possible for a direct integration with Astro through the use of JS routes, like serverless functions w/the Netlify or Vercel adapters? |
Beta Was this translation helpful? Give feedback.
-
I have a project with Github, Blog, RSS, released as a static site. What I'm interested in is creating a simple single-page fedi app like in the deno deploy demo, but that fetches the rss once a day using deno cron (or has a authed
/fetch-update
endpoint my SSG github action can trigger) and provides an activity pub feed from a static blog.I know that Astro (the framework i'm using for SSG) has SSG and a new database implementation, I'm not as interested in using SSR for my blog and I'm ok with splitting the sites into two apps astoria.app (on gh pages) and fedi.astoria.app (deno deploy). However, I can imagine an implementation using Astro's new DB (similar to the deno one0 would provide a lot of value for the astro community as well.
I'll dig through the source to see if this is possible, but just curious if anyone else has had this idea, if it exists already, or if there's something preventing me from doing this.
Beta Was this translation helpful? Give feedback.
All reactions