this post was submitted on 03 Jul 2023
52 points (94.8% liked)

wefwef

4216 readers
1 users here now

wefwef is now Voyager! Subscribe to !voyagerapp@lemmy.world.

founded 1 year ago
MODERATORS
 
top 16 comments
sorted by: hot top controversial new old
[–] nooooooo@lemmy.world 7 points 1 year ago (1 children)

I'm not using it at the moment. But what would be the benefit of self hosting?

[–] timespace@lemmy.world 6 points 1 year ago (4 children)

The other day wefwef.app hit api limits on lemmy.world so nothing was loading for awhile. The dev recommended selfhosting if you were able to go avoid these shutdowns.

Another benefit would be that your selfhosting instance would theoretically be available even if wefwef.app was down for some reason or another.

[–] nooooooo@lemmy.world 1 points 1 year ago

Thanks, that sounds intriguing. I guess I need an API key?

[–] nooooooo@lemmy.world 1 points 1 year ago (1 children)

Thanks, that sounds intriguing. I guess I need an API key?

[–] timespace@lemmy.world 2 points 1 year ago

Nope, just install it and you're off to the races!

[–] pfannkuchen_gesicht@lemmy.one 3 points 1 year ago (2 children)

Wait, why do you need to host a web client?

[–] Zephyrix@lemmy.zephyrix.com 7 points 1 year ago (1 children)

It isn’t just a client right now. Due to CORS restrictions on Lemmy 0.18 instances, wefwef also has a proxy that sits between the PWA and the Lemmy instance.

See https://github.com/LemmyNet/lemmy/pull/3421

[–] pfannkuchen_gesicht@lemmy.one 3 points 1 year ago

ah, I see. Thanks for the explanation!

[–] timespace@lemmy.world 6 points 1 year ago (1 children)

You don’t need to, but the developer of wefwef encouraged it a few days ago because Wefwef was hitting API limits, so the app wasn’t working for some hours.

If you selfhost it, you won’t ever run into this issue.

There are probably other reasons too. Among them, why not? :)

[–] pfannkuchen_gesicht@lemmy.one 2 points 1 year ago

I was a bit confused because for me a web-client usually means a self-contained app running directly where I need it. But now I understand it's a client that runs on the web(server)

[–] thank_me_its_friday@feddit.de 2 points 1 year ago (1 children)

Would it be possible to host it on GitHub Pages?

[–] Deemo@lemmy.fmhy.ml 3 points 1 year ago

In the future probably but currently no. Unfortunately Lemmy 0.18.0 has issues with corrs forcing wefwef to proxy all traffic. Ones cors issue is resolved static hosting with sites like GitHub pages should be possible.

https://github.com/LemmyNet/lemmy/pull/3421

[–] nooooooo@lemmy.world -1 points 1 year ago (1 children)

I'm not using it at the moment. But what would be the benefit of self hosting?

[–] troy@programming.dev 3 points 1 year ago

Currently the benefit is not sending your credentials and other requests through wefwef.app and avoiding throttling. If you value privacy self hosting is a good idea. If you trust wefwef, then the only other reason is to customize/develop wefwef.

After CORS fix in Lemmy is done and wefwef updates your requests should go directly to Lemmy servers so privacy concerns are mitigated.