A CTFd plugin to communicate with a ThunderPush server to send push notifications to users.
It will also request browser notification permissions and fallback to an HTML based notification if the user doesn't grant the permission.
Requires: CTFd >= 1.0.4
-
Setup a ThunderPush Server and make note of the url, port, client_secret, and server_secret.
The following Docker command can help you:
docker run -d -p 8080:8080 \ -e PUBLIC_KEY=<client_secret> \ -e PRIVATE_KEY=<server_secret> \ kjagiello/thunderpush
-
Copy or clone this repository into CTFd/plugins with the folder name
notify
:git clone https://github.com/CTFd/CTFd-Notify.git notify
-
Configure the plugin in the Admin Panel and specify the url, port, client_secret, and server_secret for Thunderpush.