Hey, I made a simple webapp, that shows you a random community with basic stats, description and top 10 posts of all time from this community.
You can use it without logging in, but for automatic following, the login is required.
All data is stored in your browser and code is open source.
Some info and issues of the app:
- I made it in a day, so bugs may and will happen
- It uses a json list of communities from browse.feddit.de
- It ignores all NSFW communities. I’m planning on adding a switch for that, but if you really want, you can change
nsfwFilter
property in local storage through devtools.all
is for everything,none
is for no NSFW andonly
is for only NSFW communities. - Sometimes it fails to follow a community. Maybe it’s because community is not yet “synced” to the instance you logged in from. Don’t know much about exact reason, because I’m new to lemmy from the tech side.
- There is also a planned feature to exclude whole instances. Currently only possible with editing local storage.
The code is open source, the build process is open on GitHub actions and it’s hosted on GitHub pages so you also see compiled site easily. The password never leaves your browser apart from going to the instance you chose when logging in. The password also is not saved, only the access token.
I tried my best at making it as transparent as possible.
Can you add TOTP support?
Just added TOTP support in https://github.com/stirante/lemmy-discover/commit/e590c6a5cff366060e3fb6202031442b8bfe7fc8
Logins with 2FA aren’t working, is it possible to fix?
Just added TOTP support in https://github.com/stirante/lemmy-discover/commit/e590c6a5cff366060e3fb6202031442b8bfe7fc8
Thanks, can now log in! Which brings me to the next problem - if I hit “follow” I just get a “community not found” error. Can you trigger a search for the community if it isn’t found?