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.
Sure! And I’m sorry in advance for the book, I’m literally around here studying this thing for this reason.
So it might help to understand Soviet as a pre Bolshevik term more resembling ‘council’ than a unitary block like a nation.
In the fediverse this is instances, they stand up, enroll users and give them voices. And if you graph a lot of the ethos it’s 1:1 from the ground up. For instance, you might say your posts here, once contributed are owned by everyone. You might also notice those with knowledge about the platform are maybe operating as a vanguard, you pick top or bottom (users and posts, or instances and software).
Historically part of the problem with distributed systems of independent operating electors is how they’re vulnerable either to local tribalism, warlordism, and a need for some degree of functional central control of core ethos.
The pile of ‘free market’ people mad at the phone company evolved into the modern Internet without a model, just chaos and genius. If the next wave is reactionary communists, we’re looking at something very different, but I’m not convinced it won’t mutate.
if this is communism the platform: I’m genuinely curious what crowd sourced central planning offers. The people who have studied that system, and it’s problems, are the ones in who have started the project. And they started with ‘to each for each’ as it’s core principle, but it’s easy to fork any foss project.
Part of what you learn when you start to read lefty philosophy is that they are (by volume and diversity), their own biggest critics. So there is going to be a plethora of times where we figure out of this is going to go pear shaped, and a ton of good or bad lessons that could come out of the canon.
Sure! And I’m sorry in advance for the book, I’m literally around here studying this thing for this reason.
So it might help to understand Soviet as a pre Bolshevik term more resembling ‘council’ than a unitary block like a nation.
In the fediverse this is instances, they stand up, enroll users and give them voices. And if you graph a lot of the ethos it’s 1:1 from the ground up. For instance, you might say your posts here, once contributed are owned by everyone. You might also notice those with knowledge about the platform are maybe operating as a vanguard, you pick top or bottom (users and posts, or instances and software).
Historically part of the problem with distributed systems of independent operating electors is how they’re vulnerable either to local tribalism, warlordism, and a need for some degree of functional central control of core ethos.
The pile of ‘free market’ people mad at the phone company evolved into the modern Internet without a model, just chaos and genius. If the next wave is reactionary communists, we’re looking at something very different, but I’m not convinced it won’t mutate.
if this is communism the platform: I’m genuinely curious what crowd sourced central planning offers. The people who have studied that system, and it’s problems, are the ones in who have started the project. And they started with ‘to each for each’ as it’s core principle, but it’s easy to fork any foss project.
Part of what you learn when you start to read lefty philosophy is that they are (by volume and diversity), their own biggest critics. So there is going to be a plethora of times where we figure out of this is going to go pear shaped, and a ton of good or bad lessons that could come out of the canon.