Support server side rendering to enable Mastodon tick
Original issue: keyoxide/web#16
Keyoxide links added to Mastodon profile pages could receive a green tick if the Keyoxide profile it links to contains the link back to that Mastodon profile at page load.
Currently, this is not the case. The page is first loaded and then the browser starts collecting keys and verifing claims.
To support the green tick, the key collection, claim verification and page rendering needs to happen server side.
The reason this couldn't happen earlier is because I didn't have server side code that could do all this and I didn't want to maintain two codebases for the same function.
This has been solved with the release of https://codeberg.org/keyoxide/doipjs.
Perhaps we could introduce some way in the URL to let the server know whether to render on the server or let the browser do all the rendering? This way, Mastodon links with the "server side rendering flag" will get the green tick.
Deleting a branch is permanent. It CANNOT be undone. Continue?