Self-hosting Wafrn behind another Caddy, with BlueSky support
Self-hosting Wafrn behind another Caddy, with BlueSky support
I've wanted to self-host a way to post in one place and reach BlueSky, Mastodon, Lemmy, etc… for a while. Wafrn is it, but hosting can be fussy. Here's what I did.
The recommended deployment is probably easy; it's just a Docker container, and if given a whole server, or at least control of the whole web frontend there shouldn't be much to it. I wanted to run it on my existing VPS, which has a bunch of services running behind Nginx. The deployment instructions explain why that won't work easily; Wafrn relies on Caddy's automatic HTTPS for ATProto accounts.
Using the Caddy from Wafrn's container as a proxy is an option, but I really wanted the main web server to be separate. Fortunately, I had nothing against Caddy itself, and converting the Nginx config was a one-shot for an LLM tool.
Updating Wafrn to run in that configuration was not. I did use such a tool in that process, though it made enough errors along the way I think I may have been faster without it. I put the resulting fork up on Gitlab in case anyone else wants to do the same.
7 replies
@zak @fediverse
I love the project and even tried to self-host on the free-tier vps (awesome manual!)
but somehow I don't particularly feel at ease with the tumblr like interface.
If i could use #phanpy on top of it, or have a specific no-brain no-optin bridging sidecar for mastodon, that would be amazing
@[email protected]
@gabboman tagging a Lemmy community at the end of my post resulted in a Lemmy post with a very unexpected title. Should I open an issue on Codeberg, or is there a trick to this?
@[email protected]
two things, just read the title: WE ARE ON IT, BRANCH DEVELOPMENT. NOT READY BUT WE ARE ON IT. SOON.
second: this is would also happen in a mastodon if not mistaken so its a lemmy thing if im not mistaken right?
@[email protected]
It would only happen on Mastodon if the tag was the first line in the text of the post; it was the last line.
Edit: seems like what's happening is Wafrn rewrites the text that goes out over ActivityPub to put tags at the beginning. Lemmy treats the first line as the title.
@[email protected]
interesting. Please create an issue in codeberg, I will look into it but will take time
https://codeberg.org/wafrn/wafrn/issues/641
@[email protected]
This reply is mostly to see what my crude attempt at a fix looks like in a comment.
@[email protected]