this post was submitted on 13 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

We were kind of annoyed by how we weren't able to access our containers to see logs in an instant. Docker commands are fine, but you need to SSH into the server to be able to do it, and manually specify which container you'd like to check out.

To save some time, we made a tool and we named it darklens. You can use it to check your containers without using SSH keys, entering Docker commands ("oh, shoot, the container I was curious about had - and not _ in it, let's fix that typo and waste 4 more seconds") in the terminal, and trying to figure out container configs in unreadable JSON data.

Thought we'd like to show you this tool because it can be helpful for self-hosters and you can give valuable feedback on how we can improve it.

You can check it out on GitHub here:

- darklens on GitHub: https://github.com/dyrector-io/darklens

Have a nice weekend yall!

top 4 comments
sorted by: hot top controversial new old
[–] prettybunnys@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

Sounds fantastic but it would be super dope if you had some screenshots on your README.md

Start without Authorization

Steps fail at ghcr.io denial

[–] omfgitsasalmon@alien.top 1 points 1 year ago (1 children)

I just successfully tested this out. And unfortunately, sad to say, Portainer does the same thing as a higher level too. I absolutely see no purpose in using this app vs Portainer (which is also free).

[–] ToddGergey@alien.top 1 points 1 year ago (1 children)

Thanks for the feedback! What do you think we can improve about darklens?

[–] omfgitsasalmon@alien.top 1 points 1 year ago

Hmm, the only thing I found lacking from Portainer is probably the way logs are presented. It's all clumped together, although having lines is helpful, but sometimes it's still very messy.

Perhaps syntax highlighting for logs, and probably alternating background colors would have helped a lot.

But to be very honest, even if Darklens has that feature, I'd still prefer to use Portainer because I can spin up instances, manage and even execute directly into the docker container shell right from Portainer. Doesn't make sense to have another overhead on top of Portainer just for pretty logging.

Unless somehow Darklens is an app that does that one thing only. View logs in a pretty environment. Keeps the overhead small enough to actually make it worth it. And also, allow viewing the logs of the host machine, not just docker applications.