You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Syfaro 818df4b4cf Look at caption entities, use correct kind of URL. 4 months ago
fautil Make things faster. 4 months ago
langs/en-US Automatic sourcing in groups. 4 months ago
src Look at caption entities, use correct kind of URL. 4 months ago
telegram Look at caption entities, use correct kind of URL. 4 months ago
.dockerignore Attempt at bypassing FA's Cloudflare page. 5 months ago
.drone.yml Ignore clippy for now because of missing releases. 4 months ago
.gitignore Add Twitter support. 9 months ago
Cargo.lock Make things faster. 4 months ago
Cargo.toml Make things faster. 4 months ago
Dockerfile Drone improvements, reply for Sentry feedback. 4 months ago
README.md Significant improvement in error handling. 6 months ago

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