Code Monkey home page Code Monkey logo

sticker-finder's Introduction

贴纸搜索机器人

介绍

添加的贴纸包多了之后,想找到某张贴纸就比较麻烦,特别是语录类的贴纸包,找起来更是费眼睛。在水群时,也会经常因为找不到贴纸而错过发送时机。
所以,贴纸搜索bot就诞生了,用来快速查找贴纸,节省寻找贴纸的时间

查找贴纸:支持通过 自定义标签 / 贴纸中的文字 / Emoji / 贴纸包名称/标题 来搜索贴纸,支持模糊搜索
最近使用:将最近使用的贴纸置顶显示,方便快速使用常用的贴纸。
自动索引:自动索引贴纸包中新增的贴纸
使用教程:LINK
体验一下:贴纸收藏夹


1.安装

1.1 安装 python3-pip

apt install python3-pip

1.2 将项目克隆到本地

git clone https://github.com/z-mio/sticker-finder.git && cd sticker-finder && pip3 install -r requirements.txt

1.3 修改 config.yaml 里的配置信息

proxy:
  hostname: '' # '127.0.0.1'
  port: ''  # '7890'
  scheme: '' # 'http'
user:
  # 默认为null,所有人都可以使用bot,设置之后只有管理员可用
  admin: null # 填user_id 可以从 https://t.me/getletbot 发送 /get 指令获取
  api_hash: 123abc # 在 https://my.telegram.org/apps 获取
  api_id: 123456789 # 在 https://my.telegram.org/apps 获取
  bot_token: 6108379846:AAH2 # 在 https://t.me/BotFather 获取
discern:
  ocr: azure # azure:使用微软试用接口 ,rapid:使用rapid本地ocr

1.4 打开bot内联模式

https://t.me/BotFather 新建bot后

2.运行

前台启动bot

python3 bot.py

后台启动bot

nohup python3 bot.py > botlog.log 2>&1 &

sticker-finder's People

Contributors

z-mio avatar

Stargazers

nufiHikari avatar  avatar  avatar Jason avatar 绒绒洛 avatar  avatar  avatar  avatar  avatar Chisato22 avatar Mayuu酱重症患者 avatar

Watchers

 avatar

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.