/cf-workers-saucenao-tg-bot

A SauceNAO Telegram bot deployed on Cloudflare workers

Primary LanguageTypeScript

cf-workers-saucenao-tg-bot

cf-workers-saucenao-tg-bot is a Telegram bot that uses SauceNAO to reverse search images deployed on Cloudflare workers. You don't need a server to run this bot, just a Cloudflare account.

You can the bot here.

Deployment

Prerequisites

  • Telegram bot
  • Cloudflare account
  • SauceNAO account
  • Node.js and pnpm

Setup

  1. Create a new Telegram bot using @BotFather
  2. Request a free SauceNAO API key here
  3. Configure your wrangler.toml file from wrangler.example.toml
  4. Run pnpm i && pnpm run deploy
  5. Set your worker secrets:
    • pnpm wrangler secret put BOT_TOKEN
    • pnpm wrangler secret put SAUCENAO_TOKEN