go script for check writeups in medium then add to database and send it to discord server or telegram.
- PostgreSQL
- Add
writup
database withpostgres
user. - Add Your Webhook Disocrd
webhook
or TelegramToken
&ChatID
. - for Schedule Runing Script You Can use
crontab
in linux. Example for runing every 3 hours:
0 */3 * * * cd ~/path/WriteupScript/;/usr/bin/go run main.go
Telegram Channel : https://t.me/WriteupScript
- go Version 1.19
- Postgrsql
go mod download github.com/lib/pq
go get github.com/ilyakaznacheev/[email protected]