Xyphyn / photon

An opinionated web client for Lemmy to help users discover the fediverse.
https://phtn.app
GNU Affero General Public License v3.0
390 stars 43 forks source link

Single-instance mode #87

Closed KAMiKAZOW closed 1 year ago

KAMiKAZOW commented 1 year ago

If instance admins decide they want to only to use Photon instead of Lemmy-UI, an easy way to configure Photon to support sign-ups and not have users confuse with instance selection at login would be beneficial. (Perhaps Photon could access features not available through the regular API as well?)

Xyphyn commented 1 year ago

You can currently restrict Photon to a single instance with the PUBLIC_INSTANCE_URL environment variable, like PUBLIC_INSTANCE_URL=lemmy.world. You can see what the result looks like on https://photon.lemmy.world.

I'll implement signups though, sure.

KAMiKAZOW commented 1 year ago

I know how the result looks like on Lemmy World. It still has the instance selection, the actual selection is just greyed out. Makes no sense to have to click Log in twice just to log in.

Xyphyn commented 1 year ago

Ah, I see.

Well, if you have no accounts, you no longer have to click login twice from the menu.

KAMiKAZOW commented 1 year ago

I'll implement signups

Xyphyn closed this as completed

In which commit was this completed? Can't see it.

Xyphyn commented 1 year ago

I fixed the login twice, not added signups, don't know why i closed this

Xyphyn commented 1 year ago

Signups were added a while ago. Closing.