Source: sebastiandedeyne.com

Auto-tooting new posts with val town
https://sebastiandedeyne.com/auto-tooting-new-posts-with-val-town/ https://sebastiandedeyne.com/tags/mastodon/ https://sebastiandedeyne.com/tags/val-town/Since this blog is a static site, I don’t have a server running to do something dynamic when I publish a new post. I was about to set up Zapier or IFTTT to auto-toot blog posts to Mastodon, until I realized I finally had a use case to give https://val.town a shot. With val town you can write lambda-ish functions in a GitHub gist-ish interface.

Then I created a https://www.val.town/sebdd.tootLatestPosts val that combines it with an existing @stevekrouse.newRssItems val, which fetches RSS items from a feed.

Now posts from this blog automatically appear on my https://mastodon.social/@sebdd!
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners