Go to file
Syfaro 1404d09436 Drone improvements, reply for Sentry feedback. 2020-03-08 19:02:50 -05:00
fautil Various improvements. 2020-03-04 00:00:48 -06:00
langs/en-US Drone improvements, reply for Sentry feedback. 2020-03-08 19:02:50 -05:00
quaint@dc628de334 Drone improvements, reply for Sentry feedback. 2020-03-08 19:02:50 -05:00
src Drone improvements, reply for Sentry feedback. 2020-03-08 19:02:50 -05:00
telegram Error handling improvements, remove clones. 2020-03-08 16:26:41 -05:00
.dockerignore Attempt at bypassing FA's Cloudflare page. 2020-03-01 18:17:10 -06:00
.drone.yml Drone improvements, reply for Sentry feedback. 2020-03-08 19:02:50 -05:00
.gitignore Add Twitter support. 2019-11-08 02:04:38 -06:00
Cargo.lock Fix channel issues, other improvements. 2020-03-08 05:46:02 -05:00
Cargo.toml Fix channel issues, other improvements. 2020-03-08 05:46:02 -05:00
Dockerfile Drone improvements, reply for Sentry feedback. 2020-03-08 19:02:50 -05:00
README.md Significant improvement in error handling. 2020-01-08 18:04:32 -06:00

README.md

foxbot

Telegram bot for easily collecting furry images from multiple sites.

Written as the successor of furryimgbot.

It currently supports a number of sites:

  • FurAffinity (including source finding via fa.huefox.com)
  • Mastodon
  • Weasyl
  • Twitter
  • e621 (finds original link from direct image links)
  • direct links

It also supports trying to reverse image search images sent directly using fa.huefox.com.

Configuration

Env Name Description
FA_A FurAffinity cookie 'a' from authenticated user
FA_B FurAffinity cookie 'b' from authenticated user
FAUTIL_APITOKEN API Token for fa.huefox.com to resolve FurAffinity direct links
WEASYL_APITOKEN API Token for weasyl.com
TELEGRAM_APITOKEN API Token for Telegram, from Botfather
TWITTER_CONSUMER_KEY Twitter app consumer key
TWITTER_CONSUMER_KEY Twitter app consumer secret
TWITTER_DATABASE Path to database file to store Twitter credentials
USE_WEBHOOKS If should configure and use webhooks instead of polling
WEBHOOK_ENDPOINT If using webhooks, endpoint to set with Telegram
HTTP_HOST If using webhooks, host to listen for updates on
HTTP_SECRET If using webhooks, secret endpoint to use for Telegram updates
INFLUX_HOST InfluxDB host, including scheme
INFLUX_DB InfluxDB database name
INFLUX_USER InfluxDB username
INFLUX_PASS InfluxDB password
USE_PROXY If should use images.weserv.nl to proxy images
SENTRY_DSN Sentry DSN to report errors