The wo3 api is great so far, the user one has so much info its crazy
includes: whats currently there, sidebar + lots of details, last 15 posts with full metadata, a bool of if the user if following themselves (I find this funny) and online is removed, which is sad, but that might be added later, who knows
jeffalo not jeffala lol
what is the url for it?
the beta has a funny new thing where you set the Accept header to “application/json“ but I’ve just been using /__data.json
at the end of urls and that also works. I believe the old api domain is still gonna exist though
thats p[retty cool
There is socket.io for live message count so not too hard to add in online
yeah It’s possible, but the question is if jeffalo will add it to wo3
the socket.io implementation is mostly a somewhat functional hack. it’s still relying on the old site, and so the new site’s backend can’t send messages to socket.io clients (not beta nor prod).
websockets maybe? dunno that’s basically what socketio is. also does the backend use node?
Backend of 2.0 is express, 3.0 is sveltekit endpoints
socket.io is just a [very based] websocket library instead of making your own and learning the whole entire websocket format from an obscure pdf document
Will the finished 3.0 site have socket.io?
yeah. i guess i’ll either keep running wasteof2-api, or i’ll develop a wasteof3 companion server just for things that i can’t do in sveltekit.
Yeah that would be cool