funny javascript-optional bluesky web frontend
https://anartia.kelinci.net/did:plc:z72i7hdynmk6r22z27h6tvur
funny javascript-optional bluesky web frontend
https://anartia.kelinci.net/did:plc:z72i7hdynmk6r22z27h6tvur
i think the right approach might just be to:
this solves my problem of trying to vendor HLS.js.
see, the way I've made these pages have minimal JavaScript is that I've purposefully disabled SvelteKit's client-side rendering functionality. (I've also heavily modified SvelteKit's build output to get rid of those <!-- --> HTML comments serving as hydration markers, we don't need those.)
to get sprinkles of interactivity (e.g. relative time, I think they're useful), I have a wrapper component that adds in <script> elements that link to JS snippets placed in the static assets directory.
I could get HLS.js to work, but I'd need to have a separate esbuild step that would vendor the library as a single file, where I could then consume as a JS snippet.
yeah I'm not gonna do that.
i'd need to do proper error handling tbh, right now no errors are being handled, so things like viewing a feed requiring authentication will pretty much blast your eyes with a white 500 error page
it'd be nice if i got around to rewriting atcute/client such that it would return errors as values rather than exception, but alas
added some sort of error handling, and i've also added a <link rel=alternate> tag that links to the record's at-uri
who knows if the latter is useful but it should now be easier to link to other tools if you wanna
https://anartia.kelinci.net/
home, search, trending page pretty much knocked out
next is user lists and rss feeds...
Bluesky's AppView mysteriously hides replies when unauthenticated for whatever reason, even when it's within the <200 limit (bc they designed the endpoint with no pagination) and there's no block relationship or gating going on
edit: turns out they were in the middle of migration and it broke stuff
made use of Constellation (https://constellation.microcosm.blue) to get around it and it works pretty well
i added rss feeds for profiles, add /rss if your reader doesn't detect it ig
https://anartia.kelinci.net/bsky.app/rss
i did a slight goof and it's ordered slightly wrong so you'll have to wait tomorrow for that
still haven't done lists, pretty much been polishing other parts of the site
anyway, it's pretty good for a one-off link that you share to your friends (that aren't on bluesky)
