Coder Social home page Coder Social logo

iitii / tg_setu_bot Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 310 KB

Telegram 聚合机器人

Home Page: https://github.com/IITII/tg_setu_bot/projects/1

License: MIT License

JavaScript 99.89% Dockerfile 0.11%
imagedownloader telegram-bot telegraph-downloader 24fa evaria knit 4kup acgbox asiantolick buondua

tg_setu_bot's Introduction

ReviewPic Bot

简体中文|English

  • An asian pic bot for telegram. Cosplay, Photograph, Anime, etc.

  • Use the search mode well, you will eventually know what it is, what it is for...

RoadMap

Highlights

  • Support automatic parsing of valid links in filtered messages
  • Adjust for multiple websites and support aggregation queries on them
  • Added MarkUp button support, reducing the tedious page switching, one-click download/subscribe
  • Message decoupling, message decoupling for download and reply, which is more convenient for flow control
  • Support multiple download modes
  • Support citing the above when replying
  • Automatically split and reply when there are too many pictures

Run

At least two bots need to be registered, one for search and one for subscription

  • Get Telegram Bot Token
  • git clone
  • npm i
  • export BOT_TOKEN=token1 SUBSCRIBE_TOKEN=token2 && npm start
  • Chat with your bot

Support Command

Name Des
/start Hello Msg
/download download
/copy_del direct send to TG
/search search mode
/sub Subscribe to receive the latest pictures
/u_sub UN-Subscribe to receive the latest pictures
/unset clear session
/clean Remove all temp files

ENV

Name Des Default
BOT_TOKEN Telegram Bot Token NULL
ADMIN_ID Send start/stop message to ADMIN_ID NULL
PROXY Http Proxy NULL
LIMIT Concurrency limit when downloading images 10
SEND_TO_SUB Send search result to sub false

tg_setu_bot's People

Contributors

iitii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

crazypeace

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.