this post was submitted on 14 Jul 2023
13 points (100.0% liked)

Web Development

0 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] jvisick@programming.dev 5 points 1 year ago

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.