So I’m looking for a new client, specifically mobile, that’s FOSS, easy to use, allows for browsing communities on other instances easily (not just searching for instances, but actually viewing the list of instances, etc).

I’m a dev, so happy to put some legwork into it myself. So my question is - technically, is the UI tied to being run on an instance “directly”, or could it be detached, electron- or atom-ified and put into an app?

I can do the work, but before starting I’d like to know :⁠-⁠)

  • Xylight (Photon Dev)M
    link
    fedilink
    English
    7
    edit-2
    2 months ago

    Photon can be installed as a PWA if that’s what you want. Photon v2 will take advantage of native features (👀)

    • @[email protected]
      link
      fedilink
      English
      3
      edit-2
      2 months ago

      Genuine question, what can there possibly be to improve to warrant a v2, its already so good.

      • Xylight (Photon Dev)M
        link
        fedilink
        English
        52 months ago

        Svelte (the JS framework I use) is releasing a really big v5 update which adds a lot of cool things and basically changes everything. It warrants a rewrite since I can make photon really fast with svelte 5, and the old codebase was limiting me in a lot of ways.

        The biggest feature of this rewrite will be support for mastodon AND Lemmy, and thanks to the way I’m writing these adaptors, can support Sublinks, PixelFed, and almost anything if I write an adaptor for it.

        I’m considering making this an entirely separate project (you might see it on my GitHub soon!) and maintaining photon separately, because I want to design this new one as an SPA for speed.

        • @[email protected]
          link
          fedilink
          English
          22 months ago

          If the new version is meant to be just better, why dont you just replace the old photon?

          • Xylight (Photon Dev)M
            link
            fedilink
            English
            52 months ago

            I want to start fresh, and this project will not use terminology from lemmy or mastodon specifically which will throw people off if I replaced photon.

  • Admiral Patrick
    link
    fedilink
    English
    52 months ago

    You can “install” it as a PWA, and it’s basically an app at that point (for all intents and purposes).

    • @LazerFXOP
      link
      English
      22 months ago

      Firefox doesn’t support PWA’s, so that’s a non-starter for me. I did try to get it to work, but I’d also want to tweak the UI scaling to make it a little more mobile-oriented - mainly scaling, and the sort of thing you can do with CSS and a few small tweaks. I suspect, as it’s got tablet and desktop scaling already, that could be done by adding another render target.

      • poVoq
        link
        fedilink
        English
        6
        edit-2
        2 months ago

        Firefox supports PWA on Android.

        • @LazerFXOP
          link
          English
          32 months ago

          I… Didn’t know that. Thanks.

      • Admiral Patrick
        link
        fedilink
        English
        42 months ago

        True about FF desktop, but the mobile version does. Lack of PWA support in FF desktop has been an ongoing criticism of mine.

        There’s also Web App Manager that will let you approximate PWAs on FF desktop. It’s shipped with Linux Mint, but I have it installed on both Debian and PopOS. I hate using it, but it’s a decent option if you’re opposed to having Chromium installed (I use Chromium only for desktop PWAs since I hate Electron).

  • poVoq
    link
    fedilink
    English
    32 months ago

    Its not tied to a specific instance, but have you had a look at the multiple mobile clients that exist already?

    The last thing Lemmy needs in another mobile client.

    Maybe contribute to https://github.com/aeharding/voyager ?

    • @LazerFXOP
      link
      English
      42 months ago

      I’ve tried most of them . The ones that work the way I want, especially for easy portable UI/UX design are closed source. Sadly, none of them have a nice workable UI for easy use, or if they do, they’re really poor in another area.

      This does all I want, with a nice UI and works nicely on mobile (with a few sizing tweaks).

    • @LazerFXOP
      link
      English
      32 months ago

      I’m going to add to my comment above - this is for me. If someone else wants to use it, great.