Earlier quoted context omitted.
Yeah, I made a note of that. I'm not sure anything I've written to my cheesy blog has hit HN before, so this is probably the biggest test I'm going to get. If it were going to get any bigger, I'd want my own Mastodon server. Edit: this is also why I made it an explicit user action to load the comments.
I like caches with a short TTL. Even caching for a single second will cap the amount of API requests. Just setting an expiry a minute out when you generate the page and put it behind a decent caching reverse proxy, is a decent option. Or just write the API response to a file and stat that file to check age before you respond (if so, just make sure to avoid race conditions; e.g. write to a separate file and rename). I…
Adding Mastodon Comments to Your Blog
61–63 of 63 posts
Re: Adding Mastodon Comments to Your Blog
#62Earlier quoted context omitted.
I could add a button to swap the comments out for ads and tracking. ;) To your point, though, I don't expect anyone without an account already to post, but my target audience largely already has such accounts.
> I don't expect anyone without an account already to post, but my target audience largely already has such accounts This is a ridiculous expectation. Virtually nobody uses Mastodon, especially since BlueSky now is the open platform of choice. But even without this, Twitter-like websites for me and a lot of other people have absolutely no usecase, despite being in the audience who could read your blog. Expecting all…
But maybe for your blog, you could use the same basic technique and do BlueSky comments instead.
Re: Adding Mastodon Comments to Your Blog
#63Earlier quoted context omitted.
"Easily" is an overstatement. Where are all the independent servers? https://news.ycombinator.com/item?id=42215410
A) That article is from was 3 months ago, the network has grown almost 50% since then. B) You can set up your own PDS, right now. If you're comfortable with Docker it should take you under an hour: https://github.com/bluesky-social/pds
How is this relevant to making your own server?
> You can set up your own PDS, right now
Any existing alternative servers compatible with the main network?