Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否在头部添加一个热点新闻栏目 #57

Open
TRHX opened this issue Nov 20, 2024 · 2 comments
Open

能否在头部添加一个热点新闻栏目 #57

TRHX opened this issue Nov 20, 2024 · 2 comments

Comments

@TRHX
Copy link

TRHX commented Nov 20, 2024

参考这个站点:https://tool.lifeka.com/

image

这个站点好像没有开源,我的想法是支持配置是否开启显示热点,关于数据来源,可以考虑:

  1. 方法一:配置自定义 api 接口,网页加载完毕请求接口,解析热点数据更新到网页上
  2. 方法二:自己编写脚本获取热点,利用 github actions 自动将热点数据更新到一个 yml 文件,从而直接更新网站
@shenweiyan
Copy link
Owner

欢迎 PR

@TRHX
Copy link
Author

TRHX commented Nov 21, 2024

欢迎 PR

我不是专业前端开发,最多自己瞎捣鼓捣鼓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants