this post was submitted on 18 Jul 2025
37 points (100.0% liked)

Selfhosted

49629 readers
424 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I've been working on a Threadiverse frontend for almost a year called Blorp. Originally it was Lemmy only, but now it also includes PieFed. (source code) (try web version)

I just Dockerized the frontend and started publishing the Docker image, and I would love your feedback!

  • REACT_APP_DEFAULT_INSTANCE (e.g. https: //lemmy.zip no trailing slash)
    • Changes the default instance
  • REACT_APP_LOCK_TO_DEFAULT_INSTANCE set this to "true" or "false"
    • When true, this prevents the frontend from logging into other instances. Perfect if you host your own Lemmy instance and want this frontend to exclusively be used with your instance. You can still log into multiple accounts on the locked instance
    • When false, you can log into as many accounts across as many instances as you want. You can even mix and mach Lemmy and PieFed
# pull the latest Blorp image
docker pull christianjuth/blorp:latest

# run it on port 8080 (host → container), passing any runtime env‑vars you need
docker run -d \
  --name blorp \
  -p 8080:80 \
  -e REACT_APP_DEFAULT_INSTANCE="https://lemmy.zip/" \ # BUT without the trailing slash!
  -e REACT_APP_NAME="Blorp" \
  -e REACT_APP_LOCK_TO_DEFAULT_INSTANCE="false" \
  christianjuth/blorp:latest

Edit: I cannot get the trailing slash in https://lemmy.zip/ to go away, but make sure you exclude it. Idk what sorcery is going on with Lemmy, but it seems impossible to link a domain without a trailing slash. I'll make the docker image more forgiving in the next update.

you are viewing a single comment's thread
view the rest of the comments
[–] moseschrute@lemmy.world 9 points 2 days ago (11 children)

I was today years old when I learned Lemmy doesn't let you have links without a trailing slash

POST https://lemmy.ml/api/v3/comment

[–] moseschrute@piefed.social 10 points 2 days ago* (last edited 2 days ago) (6 children)

It get's even weirder. I'm now writing this from PieFed. If you view this comment from PieFed it won't have the trailing slash, but from Lemmy it will. https://piefed.social/

Thank you for coming on this journey with me.

[–] cecilkorik@lemmy.ca 5 points 2 days ago (5 children)

Very interesting I wonder what happens if I post both trailing and non-trailing options, do they both get canonized into the same format?

https://piefed.ca/ -- has a trailing slash https://piefed.ca/ -- does not

Thank you for having me along on this journey. I don't really know where it's leading, but maybe it's about the weird software behaviors we discover on the way.

[–] cecilkorik@piefed.ca 5 points 2 days ago (1 children)

And posting from piefed, is the result the same?

https://piefed.ca/ -- has a trailing slash https://piefed.ca/ -- does not

[–] cecilkorik@lemmy.ca 7 points 2 days ago (1 children)

Yup, they all have trailing slashes when viewed on Lemmy, and 3/4 have trailing slashes when viewed on piefed. So only piefed actually respects what was originally typed. Lemmy adds a trailing slash when you're adding the comment, and also adds a trailing slash when reading a comment posted that doesn't originally have a trailing slash. Intriguing (and slightly annoying).

[–] cecilkorik@piefed.ca 2 points 2 days ago (2 children)

On a similar but unrelated note, Lemmy also displays the two-hyphens as an em-dash, but unlike the trailing slashes, it does not encode that into the comment, so on piefed you still see the two-hyphens in both comments.

Fun!

[–] DesolateMood@lemmy.zip 2 points 2 days ago

I see two separate dashes in voyager

[–] moseschrute@lemmy.world 1 points 2 days ago* (last edited 2 days ago)

Edit: I misread your comment. I see you pointed out that it doesn't encode the em dash into the comment itself.

I think that might just be how Lemmy's default frontend renders markdown. The trailing slash thing happens at the API level. But a quick test shows submitting a comment with two dashes sends back a comment with two dashes.

POST https://lemmy.ml/api/v3/comment

load more comments (3 replies)
load more comments (3 replies)
load more comments (7 replies)