Ibis release 0.2.0 - Federated Wiki with Shiny Redesign (ibis.wiki)
from nutomic@lemmy.ml to fediverse@lemmy.ml on 17 Dec 2024 09:28
https://lemmy.ml/post/23671981

#fediverse

threaded - newest

muntedcrocodile@lemm.ee on 17 Dec 2024 10:32 next collapse

Recon we could get wikepedia to federate?

nutomic@lemmy.ml on 17 Dec 2024 14:07 collapse

Seems unlikely, but maybe it will happen in many years if Ibis shows that its possible and desirable.

andrew@pythag.net on 18 Dec 2024 21:21 next collapse

I've read that the same tech stack is intended to be used for Lemmy. Given how impressive the performance of the linked site is, it suggests very promising things for when it's implemented.

d_k_bo@feddit.org on 18 Dec 2024 22:06 collapse

This project sounds like a great idea!

Dark mode, so that you can write articles from the beach or from your basement

It would be great if it respected my browser’s prefers-color-scheme setting.

nutomic@lemmy.ml on 19 Dec 2024 09:11 collapse

It uses the browser preference for light/dark theme by default. After you click the theme toggle on the site, it keeps using that chosen theme by storing it in a cookie.

d_k_bo@feddit.org on 19 Dec 2024 12:33 collapse

It uses the browser preference for light/dark theme by default

This doesn’t work for me. It seems like you are using leptos_use::use_preferred_dark with server-side rendering which unfortunately uses the experimental Sec-CH-Prefers-Color-Scheme header which isn’t supported by all browsers, e.g. Firefox.

In my opinion, it is way better to implement theme switching on the client side. The prefers-color-scheme media query is better supported across browsers and allows reacting to a change of the user’s system preferences.

nutomic@lemmy.ml on 19 Dec 2024 14:44 collapse

Sounds like you are familiar with this topic. I dont have time to work more on this particular aspect (there are lots of other tasks like comment support, federation with Lemmy, etc). But contributions are definitely welcome, preferably directly to leptos_use so that others can benefit and its easier to maintain.

d_k_bo@feddit.org on 19 Dec 2024 14:50 collapse

I’ll look into it if I find the time.