this post was submitted on 16 Jun 2023
125 points (97.7% liked)

Selfhosted

40394 readers
454 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago (2 children)

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

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 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

[–] [email protected] 2 points 1 year ago

At this point I might as well release it onto the wild. No clue If I'll work on it until there is a definitive answer to the CORS question: https://github.com/ShittyKopper/lemmik

Obligatory screenshot: