9
submitted 1 week ago by nutomic@lemmy.ml to c/lemmy@lemmy.ml

Until now it has been very complicated to work on the official Lemmy frontend, as you had to set up an entire local Lemmy stack with Postgres database and Rust backend built from source. Now there is a much easier way, as lemmy-ui can directly connect to a remote production or test instance.

To get started you need to have git and pnpm installed. Then run:

# for development branch (1.0):
git clone https://github.com/LemmyNet/lemmy-ui --recursive
# for stable branch (0.19):
git clone https://github.com/LemmyNet/lemmy-ui --recursive -b release/v0.19

# then:
cd lemmy-ui
pnpm install
LEMMY_UI_BACKEND_REMOTE=enterprise.lemmy.ml pnpm dev

Alternatively you can use ./scripts/test.sh. Finally open http://0.0.0.0:1234/ in your browser. You can replace the value for LEMMY_UI_BACKEND_REMOTE with any production instance. The local lemmy-ui connects to that instance for all API calls, so you will see the same content. All actions work as usual including login, voting, posting etc.

Note, due to breaking changes in the development version, you may need to switch branches. main is for the new 1.0 version and all new feature development is happening there. With this you can connect to the test instance voyager.lemmy.ml. release/v0.19 is the stable branch, with it you can connect to enterprise.lemmy.ml, or existing production instances. Only bug fixes should be made there.

Hopefully this will encourage some of you to contribute to lemmy-ui. If you have any experience with web development it will be easy get started.

you are viewing a single comment's thread
view the rest of the comments
[-] 1984@lemmy.today 4 points 1 week ago* (last edited 1 week ago)

Speaking about this, is Lemmy still being worked on full time? I dont think you guys got the money you requested for a decent salary. So how are you handling it?

[-] dessalines@lemmy.ml 4 points 1 week ago* (last edited 1 week ago)

Yes it is, you can look at any of our profiles or LemmyNet repos to see what we're working on.

We're still only ~40% funded for two devs, so it means we have a long way to go, and aren't yet at a spot where we can pay more devs into the coop.

[-] 1984@lemmy.today 4 points 1 week ago

Thank you, appreciate the reply. :)

this post was submitted on 18 Sep 2025
9 points (100.0% liked)

Lemmy

13929 readers
12 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 5 years ago
MODERATORS