Giter Site home page Giter Site logo

ai-awe / aigc_telegram_bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joeseesun/aigc_telegram_bot

0.0 0.0 0.0 9 KB

编程新手用GPT4辅助开发的一个Telegram机器人,指定twitter ID,自动抓取推特消息并翻译成中文发给自己的Telegram账号。

License: Apache License 2.0

Python 100.00%

aigc_telegram_bot's Introduction

AIGC_Telegram_Bot

编程新手用GPT4辅助开发的一个Telegram机器人,指定twitter ID,自动抓取推特消息并翻译成中文发给自己的Telegram账号。

使用方法

① 创建Telegram机器人,获取Token 打开 https://t.me/botfather 输入 /start 按引导流程,先输入机器人名字,然后输入想要ID(必须以bot结尾),比如telegram_rss_bot 创建后会给Token,类似这种结构:5987500169:AAEBqLx7OWmK6ne9pIfHhrgMktDmq_VcsSQ

② 获取自己的Telegram ID 打开 https://t.me/userinfobot 输入 /start,拿到自己的ID,类似结构:1293676963

③ 设置Token和Telegram ID

把Token和Telegram ID 填入env.txt文件,然后把env.txt改名为".env"

④ 安装依赖程序

pip install -r requirements.txt

⑤ 运行程序 python main.py

想自定义关注人?

修改 twitter_list.txt ,一个一个 twitter ID,逗号分割后面是名字,可自定义(非必须)

求帮优化改进

自己是产品经理,不怎么会代码。 以上都是GPT4帮写的,希望程序员大佬帮优化改进。

aigc_telegram_bot's People

Contributors

joeseesun 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.