Please put a json file of the following format in path $HOME/.config/t.me/wallabag.json
{
"token": "wallabag-token",
"wallabag_site": "wallabag.yourdomain.com",
"client_id": "wallabag-client-id",
"client_secret": "wallabag-client-secret",
"username": "wallabag-username",
"password": "wallabag-password"
}
go get github.com/mattn/go-sqlite3 \
github.com/go-telegram-bot-api/telegram-bot-api \
mvdan.cc/xurls \
github.com/sirupsen/logrus
go run main.go
sudo docker build . -t localhost/wallabag-bot
sudo mkdir -p /etc/wallabag-bot
# fix the path in docker-compose.yaml, then
sudo cp docker-compose.yaml /etc/wallabag-bot
sudo cp [email protected] /etc/systemd/system/
sudo systemctl enable --now [email protected]
[@]ivz hh](https://github.com/ivzhh)