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

  • kopper [they/them]
    link
    fedilink
    English
    101 year ago

    I had been also working on something like this for a couple days. also with sveltekit even!

    it’s not public yet as I really don’t have anything too much to show for, but it’s slowly coming together

    also it’s still a question whether upstream Lemmy will loosen their cors restrictions to allow for 3rd party web UIs. the more the merrier imo

    • @andobandoOP
      link
      English
      5
      edit-2
      1 year ago

      I love SvelteKit. I am a backend dev myself, but this framework made me really get into UI development, just so much easier.

      What do you mean by the cors restrictions? I am hosting the front end on the same domain as my backend (just like the lemmy UI) so there shouldn’t be any issues there.

      • kopper [they/them]
        link
        fedilink
        English
        1
        edit-2
        1 year ago

        I’m thinking of external clients, like what pinafore was for mastodon.

        in my case I’m planning on making a hacky “hybrid” that can be built both as a server and as a completely static SPA, where cors would be an issue.

        • @andobandoOP
          link
          English
          2
          edit-2
          1 year ago

          I think it should still be possible. Cors is enforced by browsers, not server side. Meaning your client cant make a request to lemmy.worlds backend BUT, your client can make a request to your backend which can make a request to lemmy.worlds backend.

          The site I have this hosted on is actually connected to lemmy.world, not my instance