69
submitted 2 days ago by [email protected] to c/[email protected]

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.

top 6 comments
sorted by: hot top new old
[-] [email protected] 9 points 1 day ago

This could be revolutionary, thank you ๐Ÿ™

I'll try it out when I have some free time

[-] [email protected] 5 points 1 day ago

This could be revolutionary

i like what you did here. lol

[-] [email protected] 4 points 1 day ago* (last edited 1 day ago)

?? What did I do?

Edit: oh nvm

[-] [email protected] 14 points 2 days ago* (last edited 2 days 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?

[-] [email protected] 5 points 1 day ago* (last edited 1 day 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.

[-] [email protected] 4 points 1 day ago

Thank you, appreciate the reply. :)

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

Lemmy

13904 readers
5 users here now

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

For discussion about the lemmy.ml instance, go to [email protected].

founded 5 years ago
MODERATORS