avatar

PiDIN

Play In Docker In NAS

  • 首页
  • 关于本站
  • 项目地址
  • 发布文章
Home 一个聚合每日热门数据的 API 接口 | DailyHot 2K ⭐
文章

一个聚合每日热门数据的 API 接口 | DailyHot 2K ⭐

Posted 2025-04-18 Updated 2025-04- 19
By srebro
97~124 min read

DailyHot 介绍

image-20250417194513654

今日热榜 API,一个聚合热门数据的 API 接口,支持 RSS 模式。

🚢 项目地址

  • Github:后端-DailyHotApi https://github.com/imsyy/DailyHotApi
  • Github:前端-DailyHot https://github.com/imsyy/DailyHot

🚀DailyHot 特性

  • 极快响应,便于开发
  • 支持 RSS 模式和 JSON 模式
  • 支持多种部署方式
  • 简明的路由目录,便于新增

🌏️DailyHotApi 支持的接口

查看全部接口

部分国内站点可能存在访问异常,请以实际情况为准

站点 类别 调用名称 状态
哔哩哔哩 热门榜 bilibili https://api-hot.imsyy.top/bilibili
AcFun 排行榜 acfun https://api-hot.imsyy.top/acfun
微博 热搜榜 weibo https://api-hot.imsyy.top/weibo
知乎 热榜 zhihu https://api-hot.imsyy.top/zhihu
知乎日报 推荐榜 zhihu-daily https://api-hot.imsyy.top/zhihu-daily
百度 热搜榜 baidu https://api-hot.imsyy.top/baidu
抖音 热点榜 douyin https://api-hot.imsyy.top/douyin
快手 热点榜 kuaishou https://api-hot.imsyy.top/kuaishou
豆瓣电影 新片榜 douban-movie https://api-hot.imsyy.top/douban-movie
豆瓣讨论小组 讨论精选 douban-group https://api-hot.imsyy.top/douban-group
百度贴吧 热议榜 tieba https://api-hot.imsyy.top/tieba
少数派 热榜 sspai https://api-hot.imsyy.top/sspai
IT之家 热榜 ithome https://api-hot.imsyy.top/ithome
IT之家「喜加一」 最新动态 ithome-xijiayi https://api-hot.imsyy.top/ithome-xijiayi
简书 热门推荐 jianshu https://api-hot.imsyy.top/jianshu
果壳 热门文章 guokr https://api-hot.imsyy.top/guokr
澎湃新闻 热榜 thepaper https://api-hot.imsyy.top/thepaper
今日头条 热榜 toutiao https://api-hot.imsyy.top/toutiao
36 氪 热榜 36kr https://api-hot.imsyy.top/36kr
51CTO 推荐榜 51cto https://api-hot.imsyy.top/51cto
CSDN 排行榜 csdn https://api-hot.imsyy.top/csdn
NodeSeek 最新动态 nodeseek https://api-hot.imsyy.top/nodeseek
稀土掘金 热榜 juejin https://api-hot.imsyy.top/juejin
腾讯新闻 热点榜 qq-news https://api-hot.imsyy.top/qq-news
新浪网 热榜 sina https://api-hot.imsyy.top/sina
新浪新闻 热点榜 sina-news https://api-hot.imsyy.top/sina-news
网易新闻 热点榜 netease-news https://api-hot.imsyy.top/netease-news
吾爱破解 榜单 52pojie https://api-hot.imsyy.top/52pojie
全球主机交流 榜单 hostloc https://api-hot.imsyy.top/hostloc
虎嗅 24小时 huxiu https://api-hot.imsyy.top/huxiu
酷安 热榜 coolapk https://api-hot.imsyy.top/coolapk
虎扑 步行街热帖 hupu https://api-hot.imsyy.top/hupu
爱范儿 快讯 ifanr https://api-hot.imsyy.top/ifanr
英雄联盟 更新公告 lol https://api-hot.imsyy.top/lol
米游社 最新消息 miyoushe https://api-hot.imsyy.top/miyoushe
原神 最新消息 genshin https://api-hot.imsyy.top/genshin
崩坏3 最新动态 honkai https://api-hot.imsyy.top/honkai
崩坏:星穹铁道 最新动态 starrail https://api-hot.imsyy.top/starrail
微信读书 飙升榜 weread https://api-hot.imsyy.top/weread
NGA 热帖 ngabbs https://api-hot.imsyy.top/ngabbs
V2EX 主题榜 v2ex https://api-hot.imsyy.top/v2ex
HelloGitHub Trending hellogithub https://api-hot.imsyy.top/hellogithub
中央气象台 全国气象预警 weatheralarm https://api-hot.imsyy.top/weatheralarm
中国地震台 地震速报 earthquake https://api-hot.imsyy.top/earthquake
历史上的今天 月-日 history https://api-hot.imsyy.top/history

🛠️ 部署 DailyHot

👻 先决条件/要求

  • 最低 512MB RAM(推荐 1GB+)
  • 具备docker 或者 docker-compose 环境

🚩方法一:使用Docker 命令部署

运行 后端DailyHotApi容器

docker run --name dailyhotapi --restart always -p 6688:6688  -d docker.cnb.cool/srebro/pidin/dailyhotapi:latest

运行 前端DailyHotui容器

官方并没有提供Dockerfile文件,这个是我根据前端代码封装出来的镜像,需要⚠️注意的是 修改.env 下的api接口地址,这里我配置成立 VITE_GLOBAL_API="/api" 的方式,需要后面再nginx 做一个/api的反向代理,代理到你自己的DailyHotapi接口地址上

docker run --name dailyhotui --restart always -p 8848:8848  -d docker.cnb.cool/srebro/pidin/dailyhotui:latest

🚩方法二:使用Docker Compose部署 (推荐)

services:
  dailyhotapi:
    ##image: dailyhot-api
    image: docker.cnb.cool/srebro/pidin/dailyhotapi:latest  ##CNB镜像加速地址
    container_name: dailyhotapi
    volumes:
      - "./logs:/app/logs"
    ports:
      - 6688:6688
    restart: always
  dailyhotui:
    image: docker.cnb.cool/srebro/pidin/dailyhotui:latest ##CNB镜像加速地址
    container_name: dailyhotui
    ports:
      - 8848:8848
    restart: always
  • 访问: http://xx.xx.xx.xx:8848

🧭 使用Nginx反向代理

#dailyhotui
  server {
        listen       443 ssl;
        server_name  hot.srebro.cn;
        error_page  404              /404/404.html;
        charset utf-8;

	    ssl_certificate /home/application/nginx/cert/srebro.cn.pem; 
	    ssl_certificate_key /home/application/nginx/cert/srebro.cn.key;
        ssl_session_cache    shared:SSL:1m;
        ssl_ciphers  HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers  on;

	location / {
	proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header x-wiz-real-ip $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-Proto $scheme;
	proxy_pass http://localhost:8848;
        }


	location /api/ {
	proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header x-wiz-real-ip $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-Proto $scheme;
       ##代理到DailyHotapi接口上
        proxy_pass http://localhost:6688/;

	}
}

效果

image-20250418100856799

image-20250418100831343

🎁 获取 DailyHot

  • CNB 仓库地址:DailyHot
  • 前端DailyHotui容器封装仓库
网络工具
网络工具
License:  CC BY 4.0
Share

Further Reading

Jun 5, 2025

MAZANOKE:离线运行的全能图片处理神器,隐私安全有保障

MAZANOKE 介绍 MAZANOKE 是一个简单的图像优化器,它可以在您的浏览器中运行,离线工作,并在不离开您的设备的情况下保持您的图像。 🚢 项目地址 Github:https://github.com/civilblur/mazanoke 🚀MAZANOKE 特征 🖼️ 在浏览器中优化

Jun 2, 2025

FileCodeBox,轻量匿名文件中转站:快递柜式传输,免注册即传即取

FileCodeBox 介绍 FileCodeBox 是一个基于 FastAPI + Vue3 开发的轻量级文件分享工具。它允许用户通过简单的方式分享文本和文件,接收者只需要一个提取码就可以取得文件,就像从快递柜取出快递一样简单。 🚢 项目地址 Github:https://github.com/

May 26, 2025

Nextcloud平替?FileGator 轻松实现多用户文件管理

FileGator 介绍 FileGator 是一个免费的、开源的、自托管的 Web 应用程序,用于管理文件和文件夹,也是一个强大的多用户文件管理器。可以让管理员和其他用户管理具有不同访问权限、角色和主文件夹的文件。文件上传支持拖放、进度条、暂停和恢复。 🚢 项目地址 Github:https:/

OLDER

SPlayer:一个简约的在线音乐播放器,支持网易云音乐 4K ⭐

NEWER

随时随地开机,局域网唤醒工具 | UpSnap 3.1K ⭐

Recently Updated

  • MAZANOKE:离线运行的全能图片处理神器,隐私安全有保障
  • FileCodeBox,轻量匿名文件中转站:快递柜式传输,免注册即传即取
  • 「别让灵感溜走!」​​10分钟搭建轻量级笔记应用 Blinko​​ ——让每个想法都有归宿
  • Nextcloud平替?FileGator 轻松实现多用户文件管理
  • Domain Admin:域名SSL证书监控+自动续签,运维从此0焦虑

Trending Tags

网络工具 无线电 人工智能 智能家居 影音娱乐 阅读学习 sre

Contents

©2025 PiDIN. Some rights reserved.

Using the Halo theme Chirpy