this post was submitted on 12 Jun 2023
56 points (100.0% liked)

Selfhosted

40394 readers
639 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
56
submitted 1 year ago* (last edited 1 year ago) by rayb to c/selfhosted
 

Curious if anyone is working on the codebase for Lemmy. I'm sure we all see a few places where it could use some love.

The main repos are:

Personally, I've been working on a few small things for docs.

PS: Here's a pretty easy ticket to jump on if you want to get started :) https://github.com/LemmyNet/lemmy-ui/issues/1214

There is also a dev chat in their Matrix space: https://matrix.to/#/#lemmy-space:matrix.org

you are viewing a single comment's thread
view the rest of the comments
[–] pkrasicki 15 points 1 year ago (10 children)

I created a proposal with UI design changes. Feel free to post a comment with your feedback: https://github.com/LemmyNet/lemmy-ui/issues/1183

More things would need to be changed to make the app more readable, but I didn't want to propose too many changes at once. So this is just for the main page with default theme.

screenshot

[–] rayb 10 points 1 year ago (1 children)

That's pretty nice! I think that the theme could def use a little love. I think the devs said at one point that they want to make it so any bootstrap theme could be imported but for now it's just the two themes.

Are you a designer?

[–] pkrasicki 4 points 1 year ago (1 children)

Thanks! I'm a front-end developer :)

[–] rayb 6 points 1 year ago (2 children)

Maybe you could make your changes as a userscript first and let people play around with it? I'd def test it out :)

Fun fact: there used to be many more lemmy themes that were pretty cool but they got ripped out as too hard to maintain a while ago.

[–] pkrasicki 3 points 1 year ago (1 children)

That sounds interesting! I wanted to be able to use it myself in case devs weren't interested in changing the UI. Can you tell me how it works and how to do that?

[–] rayb 5 points 1 year ago (1 children)

You add a browser extension that lets you write code that runs on any page you want. This video should be a decent explainer: https://www.youtube.com/watch?v=6DmQ_V9ZRlk

[–] pkrasicki 3 points 1 year ago (1 children)

Instructions unclear, I wrote a Firefox addon instead :D https://addons.mozilla.org/firefox/addon/lemmy-modern-ui-theme

But you should be able to take the script and easily turn it into a userscript: https://github.com/pkrasicki/lemmy-modern-ui-theme-addon

It works with both light and dark theme, but sometimes the detection fails for me and applies wrong styles. I hope those hacks will last for some time though so that we could have a modern UI. I would change more stuff, but some things are not possible.

[–] rayb 2 points 1 year ago (1 children)
[–] pkrasicki 1 points 1 year ago (1 children)

Thanks :). Do you know where to find those older themes? It would be interesting to see how they were implemented.

load more comments (8 replies)