Skip to content

Get ISSO New Comment | Edit Comment | Delete Comment Notifications on Telegram.

License

Notifications You must be signed in to change notification settings

mskian/isso-telegram-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ISSO Telegram Notifier πŸ””

Get notification on Telegram if someone create, edit or delete comment on your isso comment system.

πŸ’‘ How does it work?

Using tail and grep to watch the log file and Match the Current log Keyword. Once it matches, you will Get notfication alert on Telegram.

πŸ”§ ISSO Configuration

⚠️ Note - Don't Setup SMPT Email Notification if you are going to use this Notification Method - Use stdout - https://posativ.org/isso/docs/configuration/server/#general

πŸ“• Example Conf for Log:

[general]
dbpath = /home/isso/issocomments.db
host =
    http://example.com/
    https://example.com/
max-age = 15m
notify = stdout
log-file = /home/isso/issocomments.log

Notification Script Setup

API= Telegram Bot API Key
CHATID= Telegram Chat ID
MESSAGE= "New Comment Action on example.com"
LOGFILE= Path of the isso log
  • Now, Make it executable chmod +x notify.sh
  • Next Setup systemd for Running this script continuously
cd /etc/systemd/system

# Create New Service File
touch issonotify.service

# Create a Service file for systemd service
nano issonotify.service
systemctl daemon-reload
systemctl enable issonotify
systemctl start issonotify
  • You can Check the service status with
systemctl status issonotify

LICENSE β˜‘

MIT

About

Get ISSO New Comment | Edit Comment | Delete Comment Notifications on Telegram.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages