this post was submitted on 28 Jul 2024
16 points (100.0% liked)

Photon

244 readers
1 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

founded 9 months ago
MODERATORS
 

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 :⁠-⁠)

top 16 comments
sorted by: hot top controversial new old
[–] Xylight@lemm.ee 7 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] Blisterexe@lemmy.zip 3 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] Xylight@lemm.ee 5 points 1 month ago (3 children)

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.

[–] sevon@lemmy.kde.social 2 points 1 month ago* (last edited 1 month ago)

(👀)

(👀) indeed, definitely interested to see that.

[–] Blisterexe@lemmy.zip 2 points 1 month ago (1 children)

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

[–] Xylight@lemm.ee 5 points 1 month 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.

[–] Sunny@slrpnk.net 2 points 1 month ago (1 children)

Shameless github plug please so we can follow! 🙌

[–] Xylight@lemm.ee 3 points 1 month ago

It's very early, once it's partially usable I'll publish the github

[–] ptz@dubvee.org 5 points 1 month ago (1 children)

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

[–] LazerFX@sh.itjust.works 2 points 1 month ago (2 children)

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@slrpnk.net 6 points 1 month ago* (last edited 1 month ago) (1 children)

Firefox supports PWA on Android.

[–] LazerFX@sh.itjust.works 3 points 1 month ago

I... Didn't know that. Thanks.

[–] ptz@dubvee.org 3 points 1 month 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@slrpnk.net 3 points 1 month ago (2 children)

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 ?

[–] LazerFX@sh.itjust.works 4 points 1 month 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).

[–] LazerFX@sh.itjust.works 3 points 1 month ago

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