server
server copied to clipboard
A simple server for push notifications via Matrix (and a minimalistic alternative to Pushover and Gotify) 🚀📯
Hello! I like what I see so far with pushbits. Thanks very much for creating it. How I am using it: - Compiled my own docker image using the Dockerfile,...
If someone doesn't want to run PushBits behind a proxy, this feature enables them to still use HTTPS. Shouldn't be too difficult using Gin's [RunTLS](https://pkg.go.dev/github.com/gin-gonic/gin#Engine.RunTLS) function.
[Gotify](https://gotify.net/docs/more-pushmsg) and [Pushover](https://pushover.net/) both have a collection of examples for sending notifications with their product. It probably makes sense for us to showcase similar examples for PushBits.
Added support for additional authentication methods and implemented oauth with JWT tokens. Take a look in the changes in the README file to check out how authentication with oauth is...
Most importantly, we should enable authentication via, e.g., OAuth bearer tokens, and support 2FA.
Either we disallow this to happen completely, so a user is bound to its Matrix ID, or we kick the existing Matrix ID and invite the new one.
Having E2E in Matrix is nice, but to make it effective against active attackers requires that the keys are verified. As a first step, we need to implement an API...
Would be cool and should be relatively simple. Possible Golang XMPP libraries to use: https://github.com/mattn/go-xmpp (used by Matterbridge, quite stable) https://github.com/FluuxIO/go-xmpp Thanks for considering. If you need help setting up...
I think most importantly, [authentication errors](https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#authentication-and-error-messages) should be generic. Also, usernames could be made [case-insensitive](https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#user-ids).
[PostgreSQL](https://www.postgresql.org/) is a great database, but I haven't found time to implement this yet.