Code Monkey home page Code Monkey logo

telegram-push's Introduction

Telegram Push

使用 Cloudflare Worker 搭建自己的 Telegram 消息推送机器人。

部署

  1. 点这里

Deploy to Cloudflare Workers

  1. 授权 Github

Authorize GitHub with Workers

  1. 登录 Cloudflare

Configure Cloudflare Account

  1. 打开 Dashboard 找到 Account ID,然后填进去。

Account ID

  1. 打开 API Tokens,选择新建一个 Token

Create Token

然后选择 Edit Cloudflare Workers

Edit Cloudflare Workers

改一下 Account Resources 和 Zone Resources,其他不用改。

API Tokens

API Tokens

然后就创建好了,把它填到 API Token 里。 API Tokens

API Tokens

  1. 点 Fork repository,Cloudflare 会自动 fork 一个仓库。

  2. 按照提示启用一下 Github Action。

  3. 这时 Gtihub Action 应该会自动开始运行,如果没运行的话可以手动运行一下。

API Tokens

安装

  1. Bot Father 创建一个机器人。

  2. 部署完成以后在 Cloudflare 面板里找到你 Worker 的地址,把机器人的 Token 填进去,然后点安装。

API Tokens

  1. 私聊你的机器人 /new 创建一个密钥,然后就可以开始推送消息了。

API Tokens

  1. /admin 是管理面板,有一些基本的功能。

API Tokens

telegram-push's People

Contributors

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