https://github.com/mskian/isso-telegram-notifier
Get ISSO New Comment | Edit Comment | Delete Comment Notifications on Telegram.
https://github.com/mskian/isso-telegram-notifier
bash bash-script comment-system comments isso isso-comments notifications telegram telegram-bot telegram-bot-api
Last synced: 2 months ago
JSON representation
Get ISSO New Comment | Edit Comment | Delete Comment Notifications on Telegram.
- Host: GitHub
- URL: https://github.com/mskian/isso-telegram-notifier
- Owner: mskian
- License: mit
- Created: 2021-10-09T10:50:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-11T03:16:06.000Z (over 3 years ago)
- Last Synced: 2024-12-29T21:14:13.652Z (4 months ago)
- Topics: bash, bash-script, comment-system, comments, isso, isso-comments, notifications, telegram, telegram-bot, telegram-bot-api
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
**:warning: Note** - Don't Setup SMPT Email Notification if you are going to use this Notification Method - Use `stdout` -
**📕 Example Conf for Log**:
```bash
[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
- Download the [notify.sh file](https://github.com/mskian/isso-telegram-notifier/blob/main/notify.sh) on your linux server in `root` or `home` (Home Recommended)
- Open the file and add these values (Required) (Get Chat ID from here - )
```sh
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```bash
cd /etc/systemd/system
# Create New Service File
touch issonotify.service# Create a Service file for systemd service
nano issonotify.service```
- Now paste everything from and save it.
- Reload the systemd and enable the issonotify service
```bash
systemctl daemon-reload
systemctl enable issonotify
systemctl start issonotify
```- You can Check the service status with
```bash
systemctl status issonotify
```## LICENSE ☑
MIT