Skip to content

Github actions自动抓取微博热搜,每小时自动存档,通过github page生成网站和api

License

Notifications You must be signed in to change notification settings

xiadd/tg-wb-trending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

推荐✈️机场

https://www.easy2023.com/#/register?code=xUYr0P4Z 个人自用IPLC机场,稳定使用2年

说明

Github Actions每天自动抓取微博热搜归档 网站,并且每小时发送热点消息到tg频道微博实时热搜

部署

  1. BotFather 创建机器人并获取机器人的token

  1. 创建频道并把机器人设置为频道的管理员

  2. 获取频道的id, 可以使用GetID 机器人获取频道的id

  3. 在github的项目设置中设置TOKEN和CHANNEL_ID

  1. 将docs/public/CNAME改为自己的域名,github pages设置为gh-pages分支

开发

  1. 使用tg bogfather创建一个机器人
  2. 新建一个频道,并把机器人设置成为频道的管理员
  3. 在仓库中设置TOKEN为telegram bot的token

About

Github actions自动抓取微博热搜,每小时自动存档,通过github page生成网站和api

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •