Little go script that will notify me when there is a new mention to my post in a thread in a 4chan board :) The script will send you an email to the specified email address.
- To be able to send emails you need a SENDGRID api key
- The program also uses an environmental variable named EMAIL_TO_4CHAN
- Passing the environmental variable to the program
env EMAIL_TO_4CHAN=email@emaildomain.com ./4chan-thread-notifs -board lit -id 15897101 -post 15899180EMAIL_TO_4CHAN=email@emaildomain.com ./4chan-thread-notifs -board lit -id 15897101 -post 15899180- Declare your environmental variable in your ~/.bashrc
EMAIL_TO_4CHAN=email@emaildomain.comsource the ~/.bashrc again and run the program:
./4chan-thread-notifs -board lit -id 15897101 -post 15899180make
or:
go build -o "4chan-thread-notifs"
./4chan-thread-notifs -board lit -id 15897101 -post 15899180
