Real-time database changes monitoring with Telegram notifications for PostgreSQL and MongoDB.
- ๐ Real-time monitoring for PostgreSQL & MongoDB
- ๐ User access control system
- โก Instant notifications for changes
- ๐ฏ Select specific tables to monitor
- ๐ฆ Node.js 18+
- ๐๏ธ MongoDB & PostgreSQL
- ๐ค Telegram Bot Token
- Clone & Install:
git clone https://github.com/dongitran/UrDBNotify.git
cd collector && npm install
cd ../notifier && npm install- Configure:
- Copy
.env.sampleto.envin both folders - Update with your settings
- Run:
# Terminal 1
cd collector && npm start
# Terminal 2
cd notifier && npm start/start- Get started/help- View commands & usage/login- Request access/listen- Monitor databases
# Collector
docker build -t ur-database-collector ./collector
docker run -d --env-file collector/.env ur-database-collector
# Notifier
docker build -t ur-database-notifier ./notifier
docker run -d --env-file notifier/.env ur-database-notifier- Register with
/login - Wait for approval
- Use
/listento pick databases - Select tables to watch
- Get instant notifications! ๐
Let's make this project cooler together - PRs are like high fives! ๐ฎ