For any UI devs: I’ve starting working on a lemmy front end called
lemmy-ui-leptos [https://github.com/LemmyNet/lemmy-ui-leptos] using leptos
[https://leptos.dev/], a Rust UI framework with isomorphic support, and tailwind
+ daisyUI [https://daisyui.com/] for the component styling. This could
eventually replace the frankenstein’s monster that lemmy-ui has become. Some
reasons for doing this: - lemmy-ui uses infernojs, which is based on the react
model. IMO is largely superseded by signal-based reactivity in use in android
jetpack-compose, SolidJS, and most new UI frameworks. - I had to hack on
isomorphic support / server-side-rendering to infernoJS, and it’s very messy.
Leptos has isomorphic support out of the box. - All the benefits of Rust over
javascript. - Since leptos is in Rust, we can import the lemmy types directly. -
I’ve been waiting for years for a good rust UI framework, and I think we’re
finally here with leptos or sycamore. - lemmy-ui uses bootstrap, which is
showing its age and limitations. Tailwind (and daisyUI) seem to be much more
future-proof. I plan on leaving the site design and component styling to other,
more skilled UI devs, while I work mostly on the auth, services, params, and
overall back-end structure. - Please use daisyUI classes tho whenever possible
over exhaustive tailwind ones. - I’d also like it if the UI could match that of
jerboa’s (whenever possible), so that a change in one could be represented in
the other, and so that things like badge appearance for admins, could be
recognizeable across lemmy’s front ends. You don’t really need to learn rust to
help out with this, as the components look very similar to JSX. Instructions for
running it are in the CONTRIBUTING.md
[https://github.com/LemmyNet/lemmy-ui-leptos/blob/main/CONTRIBUTING.md] . Feel
free to contribute! Right now only the home page, and post pages are working,
but ready to be styled.
Quoting the author
I’ve starting working on a lemmy front end called lemmy-ui-leptos using leptos, a Rust UI framework with isomorphic support, and tailwind + daisyUI for the component styling. This could eventually replace the frankenstein’s monster that lemmy-ui has become.
Imagine if we did this for large companies owned by billionaires. Why is nobody talking about a board of director (Thiel) from Meta literally being one of the top donors for the republicans, supporting many of those congressional candidates that claimed there was voter fraud going on in 2020.
Perhaps we should flock back to Reddit instead, partly owned by a Chinese company. Who also support Russia and deny human rights violations.
Or why not head over to Twitter owned by the worlds richest man using it as is very own playground, supporting Trump and DeSantis, censoring Turkish dissidents and journalists writing about him in negative light.
Ive removed this comment due to being unrelated to the actual topic of the post which is the new lemmy frontend. Reminder to keep talks here about rust rather than politics. Theres a ton of other communities for that and the lemmy dev politics have already been discussed heavily
It’s always relevant when the dev of what is being discussed denies human rights violations by authoritarian governments, why is that something you want to hide?
It’s not closed off no, try this link instead, it’s the same link but in a different format: https://kbin.social/m/lemmyworld@lemmy.world/t/47012/Update-from-Lemmy-after-the-Reddit-blackout-From-the-Lemmy#entry-comment-196579
The Lemmy developers can do good things and increase net wellbeing while being complete morons. There is nothing in Lemmy’s license that says that by using their software you need to support their ideologies.
The Christian teaching of “hate the sin, love the sinner” is the best approach here. Showing support for what the lemmy devs are doing while showing how despicable are their beliefs and stating where are your differences will always work better than trying to boycott their (non-stupid-belief-related) work.
The problem is giving their project support also gives them a bigger platform and more influence which could lead to more people being exposed to their beliefs or them having a bigger impact
No, one does not follow from the other, especially for open source projects. Quite the opposite: for the project to grow, it will need to attract more people. To attract more people, they will need to dial down their extremist positions. If they don’t they will end up having their project forked.
Also,
being exposed to their beliefs
Great. Let more people be exposed to their beliefs so that they can learn how stupid they are.
The Lemmy devs are tankies who support the CCP and deny human rights violations
It’s not like they are programming communism into Lemmy.
I mean they kinda are, they run one of the biggest instances which of course will get a lot of attention because it’s run by the developers.
On that instance they censor criticism of china and other such topics.
There was also the weird case of the hardcoded slur filter
Imagine if we did this for large companies owned by billionaires. Why is nobody talking about a board of director (Thiel) from Meta literally being one of the top donors for the republicans, supporting many of those congressional candidates that claimed there was voter fraud going on in 2020.
Perhaps we should flock back to Reddit instead, partly owned by a Chinese company. Who also support Russia and deny human rights violations.
Or why not head over to Twitter owned by the worlds richest man using it as is very own playground, supporting Trump and DeSantis, censoring Turkish dissidents and journalists writing about him in negative light.
We all think Meta is shit.
People complain about tencent all the time.
We also all think twitter is shit.
Good, I’m a Tankie too.
Do you support the CCP and deny human rights violations too?
Ive removed this comment due to being unrelated to the actual topic of the post which is the new lemmy frontend. Reminder to keep talks here about rust rather than politics. Theres a ton of other communities for that and the lemmy dev politics have already been discussed heavily
It’s always relevant when the dev of what is being discussed denies human rights violations by authoritarian governments, why is that something you want to hide?
Whenever I click on the link it prompts me to register on kbin. Is it a closed off instance?
It’s not closed off no, try this link instead, it’s the same link but in a different format:
https://kbin.social/m/lemmyworld@lemmy.world/t/47012/Update-from-Lemmy-after-the-Reddit-blackout-From-the-Lemmy#entry-comment-196579
The Lemmy developers can do good things and increase net wellbeing while being complete morons. There is nothing in Lemmy’s license that says that by using their software you need to support their ideologies.
The Christian teaching of “hate the sin, love the sinner” is the best approach here. Showing support for what the lemmy devs are doing while showing how despicable are their beliefs and stating where are your differences will always work better than trying to boycott their (non-stupid-belief-related) work.
The problem is giving their project support also gives them a bigger platform and more influence which could lead to more people being exposed to their beliefs or them having a bigger impact
No, one does not follow from the other, especially for open source projects. Quite the opposite: for the project to grow, it will need to attract more people. To attract more people, they will need to dial down their extremist positions. If they don’t they will end up having their project forked.
Also,
Great. Let more people be exposed to their beliefs so that they can learn how stupid they are.