8000 GitHub - dongitran/UrDBNotify: ๐Ÿ”” Real-time database monitor with Telegram notifications for PostgreSQL & MongoDB changes ยท GitHub
[go: up one dir, main page]

Skip to content

About

๐Ÿ”” Real-time database monitor with Telegram notifications for PostgreSQL & MongoDB changes

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

ย 

History

78 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”” URDatabase Notify

Real-time database changes monitoring with Telegram notifications for PostgreSQL and MongoDB.

โœจ Features

  • ๐Ÿš€ Real-time monitoring for PostgreSQL & MongoDB
  • ๐Ÿ” User access control system
  • โšก Instant notifications for changes
  • ๐ŸŽฏ Select specific tables to monitor

๐Ÿ› ๏ธ Quick Start

Prerequisites

  • ๐Ÿ“ฆ Node.js 18+
  • ๐Ÿ—„๏ธ MongoDB & PostgreSQL
  • ๐Ÿค– Telegram Bot Token

Installation

  1. Clone & Install:
git clone https://github.com/dongitran/UrDBNotify.git
cd collector && npm install
cd ../notifier && npm install
  1. Configure:
  • Copy .env.sample to .env in both folders
  • Update with your settings
  1. Run:
# Terminal 1
cd collector && npm start

# Terminal 2
cd notifier && npm start

๐Ÿค– Bot Commands

  • /start - Get started
  • /help - View commands & usage
  • /login - Request access
  • /listen - Monitor databases

๐Ÿณ Docker

# 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

๐Ÿ’ก How it Works

  1. Register with /login
  2. Wait for approval
  3. Use /listen to pick databases
  4. Select tables to watch
  5. Get instant notifications! ๐ŸŽ‰

๐Ÿ‘ฅ Contribute

Let's make this project cooler together - PRs are like high fives! ๐ŸŽฎ

About

๐Ÿ”” Real-time database monitor with Telegram notifications for PostgreSQL & MongoDB changes

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0