There’s a ton of issues with the UI I want to address and there’s a number of things I want to experiment such as how communities are subscribed to, so I started writing a new UI in SvelteKit. I also have Capacitor setup which would allow this to triple as a native iOS and Android application.

Would love some help if anyone is interested.

Github https://github.com/ando818/lemmy-ui-svelte

Preview so far though much yet still has to be done

  • RoundSparrow
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Cool. SvelteKit is ideal for this.

    Can you move the server name to an .env variable so I don’t have to run a sed? sharing my sed:

    find src/ -type f | xargs sed -i 's/lemmy\.world/enterprise.lemmy.ml/g'

    FYI, there is a double https:// on page https://github.com/ando818/lemmy-ui-svelte/blob/main/src/lib/lemmyclient.js

    On desktop browser, I’m getting a ‘500 internal error’ on the /r/post/xxx route, but not sure why. The console isn’t showing anything. The page.server.svelte seems to get the JSON fine, but the .svelte file in that route is failing.