How would I go about editing the lemmy-ui frontend? (inferno)

Hello,

My goal is to make specific edits to Lemmy's default frontend. The big problem I'm facing is that the UI is running inside a docker container and is also written using inferno which seems to be transpiled / compiled into non-user-friendly js files.

My assumption here is that I'd have to download the source, edit it, compile and then host my own container.

I was wondering if anyone has done this and if there are any tips, pointers or guides that could be shared.

Thank you!

11 points · 3 comments · view on lemmy.world

3 Comments

jvisick@programming.dev · 5 pts · 3y

https://join-lemmy.org/docs/contributors/02-local-development.html#frontend-development

That should get you running locally. If you’re familiar with React, you should feel right at home. In either case, the Inferno docs should help you out a lot.

You’re correct that it’s transpiled into minified JS, but the source is in human-friendly TypeScript. The transpilation is handled automatically for you by Yarn.

DiamondDemon@programming.dev · 4 pts · 3y (1 reply)

If you ever complete this, can you make a bootstrap free lemmy UI?

jvisick@programming.dev · 1 pts · 3y

Out of curiosity, why?