Go to file
Syfaro 6ea5f347fc Drone updates. 2019-11-03 23:54:51 -06:00
commands Use API token with FA Utility API. 2019-04-28 01:21:00 -05:00
data Option to include message from Twitter. 2018-10-07 21:59:04 -05:00
logger Use finch's configuration handling. 2018-10-04 19:16:19 -05:00
sites Improve timeout logic. 2019-09-19 11:25:53 -05:00
utils Bypass CF for FA with hacky cfscrape usage. 2019-05-30 03:35:11 -05:00
.dockerignore Add Mastodon, authenticated Twitter support. 2018-10-06 15:57:51 -05:00
.drone.yml Drone updates. 2019-11-03 23:54:51 -06:00
.gitignore Add Mastodon, authenticated Twitter support. 2018-10-06 15:57:51 -05:00
Dockerfile Bypass CF for FA with hacky cfscrape usage. 2019-05-30 03:35:11 -05:00
README.md Use API token with FA Utility API. 2019-04-28 01:21:00 -05:00
bot.go Use FA Utility API to reverse image search. 2019-04-26 23:18:37 -05:00
go.mod Improve timeout logic. 2019-09-19 11:25:53 -05:00
go.sum Bypass CF for FA with hacky cfscrape usage. 2019-05-30 03:35:11 -05:00

README.md

telegram-furryimgbot

Mirror images from various furry websites into Telegram as an inline bot.

After being configured (optional, will only do SFW images from FurAffinity though), it will mirror images from URLs provided as inline queries.

Configuration

Items either need to be set in config.json as lowercase or environment variables.

  • TOKEN - Telegram Bot API token from Botfather
  • DEBUG - If debugging information should be printed
  • FA_A - FurAffinity cookie 'a'
  • FA_B - FurAffinity cookie 'b'
  • TWITTER_CONSUMER_KEY - Twitter application consumer access key
  • TWITTER_SECRET_KEY - Twitter application consumer secret key
  • DB_DIR - Folder to store app.db in, will be created if it does not exist. Docker defaults to /app/db.
  • FAUTIL_KEY - API token for https://fa.huefox.com/

If using Twitter credentials from users, the DB_DIR folder must be persistent.

Supported Sites

  • FurAffinity
  • e621