A simple server for sending and receiving messages. It allows users to post new messages, view existing messages and delete messages as needed. This server can work in a local network without the need for an Internet connection and does not require registration.
- Python 3.X or higher
- Dependencies: Flask, Requests
git clone https://github.com/2boom-ua/webntfy.git
cd webntfy
touch messages.db
docker build -t webntfy .
or
docker pull ghcr.io/2boom-ua/webntfy:latest
docker run -v ./messages.db:/webntfy/messages.db --name webntfy -p 5511:5511 -e TZ=UTC ghcr.io/2boom-ua/webntfy:latest
version: "3.8"
services:
webntfy:
container_name: webntfy
image: ghcr.io/2boom-ua/webntfy:latest
environment:
- TZ=Etc/UTC
ports:
- 5511:5511
volumes:
- ./messages.db:/webntfy/messages.db
restart: always
docker-compose up -d
pip install -r requirements.txt
nano /etc/systemd/system/webntfy.service
Add the following content:
[Unit]
Description=WebNtfy
After=multi-user.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python3 /opt/webntfy/webntfy.py
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable webntfy.service
systemctl start webntfy.service
https://your_domain_name or http://server_ip:5511
This project is licensed under the MIT License.
- 2boom - GitHub