# Github 热度排行榜

摘要

Github项目热榜

Tip
github热榜 API,自动爬取当日的热榜数据

接口地址:

https://apiserver.alcex.cn/daily-hot/github

请求方式:

GET/POST

返回格式:

JSON

Curl请求示例:

curl -X GET 'https://apiserver.alcex.cn/daily-hot/github'

请求参数:

查询参数(query_param):

名称 必填 类型 说明
cache Bool 为保证服务稳定性默认缓存1小时,可选择不缓存获取最新数据
limit int 由于部分榜单返回的数据量过多,特地添加了一个 limit 限制,你可以在请求的网址后面加上参数 limit=20 即可
rss bool 默认为false,新版本支持了 RSS 模式,就是可以在各大阅读器中直接阅读热榜数据了

返回参数:

名称 类型 说明
code int 状态码
name str 名称
title str 标题
description str 介绍
link str 链接
total int 数据总数
updateTime str 更新时间
fromCache Bool 是否为缓存数据
data json 数据数组

状态码说明:

状态码 状态 说明
200 成功 请求成功,返回正确的数据
400 请求错误 请求参数错误或缺失必要参数
401 未授权 缺少有效的身份验证凭据
403 禁止访问 服务器理解请求但拒绝执行
404 未找到 请求的资源不存在
429 请求过多 请求频率超过限制
500 服务器错误 服务器内部错误
502 网关错误 网关或代理服务器错误
503 服务不可用 服务器暂时无法处理请求

返回示例:

{
  "code": 200,
  "name": "github",
  "title": "github 趋势",
  "type": "日榜",
  "params": {
    "type": {
      "name": "排行榜分区",
      "type": {
        "daily": "日榜",
        "weekly": "周榜",
        "monthly": "月榜"
      }
    }
  },
  "link": "https://github.com/trending?since=daily",
  "total": 13,
  "fromCache": false,
  "updateTime": "2025-08-15T23:18:23.766Z",
  "data": [
    {
      "id": 0,
      "title": "fastapi_mcp",
      "desc": "Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!",
      "hot": "8,680",
      "owner": "tadata-org",
      "repo": "fastapi_mcp",
      "url": "https://github.com/tadata-org/fastapi_mcp",
      "description": "Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!",
      "language": "Python",
      "stars": "8,680",
      "forks": "680"
    },
    {
      "id": 1,
      "title": "ubicloud",
      "desc": "Open source alternative to AWS. Elastic compute, block storage (non replicated), firewall and load balancer, managed Postgres, K8s, AI inference, and IAM services.",
      "hot": "9,461",
      "owner": "ubicloud",
      "repo": "ubicloud",
      "url": "https://github.com/ubicloud/ubicloud",
      "description": "Open source alternative to AWS. Elastic compute, block storage (non replicated), firewall and load balancer, managed Postgres, K8s, AI inference, and IAM services.",
      "language": "Ruby",
      "stars": "9,461",
      "forks": "401"
    },
    {
      "id": 2,
      "title": "docker-android",
      "desc": "Android in docker solution with noVNC supported and video recording",
      "hot": "12,037",
      "owner": "budtmo",
      "repo": "docker-android",
      "url": "https://github.com/budtmo/docker-android",
      "description": "Android in docker solution with noVNC supported and video recording",
      "language": "Python",
      "stars": "12,037",
      "forks": "1,440"
    },
    {
      "id": 3,
      "title": "SpatialLM",
      "desc": "SpatialLM: Training Large Language Models for Structured Indoor Modeling",
      "hot": "3,695",
      "owner": "manycore-research",
      "repo": "SpatialLM",
      "url": "https://github.com/manycore-research/SpatialLM",
      "description": "SpatialLM: Training Large Language Models for Structured Indoor Modeling",
      "language": "Python",
      "stars": "3,695",
      "forks": "284"
    },
    {
      "id": 4,
      "title": "magentic-ui",
      "desc": "A research prototype of a human-centered web agent",
      "hot": "7,232",
      "owner": "microsoft",
      "repo": "magentic-ui",
      "url": "https://github.com/microsoft/magentic-ui",
      "description": "A research prototype of a human-centered web agent",
      "language": "Python",
      "stars": "7,232",
      "forks": "739"
    },
    {
      "id": 5,
      "title": "marker",
      "desc": "Convert PDF to markdown + JSON quickly with high accuracy",
      "hot": "27,715",
      "owner": "datalab-to",
      "repo": "marker",
      "url": "https://github.com/datalab-to/marker",
      "description": "Convert PDF to markdown + JSON quickly with high accuracy",
      "language": "Python",
      "stars": "27,715",
      "forks": "1,816"
    },
    {
      "id": 6,
      "title": "go-redis",
      "desc": "Redis Go client",
      "hot": "21,372",
      "owner": "redis",
      "repo": "go-redis",
      "url": "https://github.com/redis/go-redis",
      "description": "Redis Go client",
      "language": "Go",
      "stars": "21,372",
      "forks": "2,484"
    },
    {
      "id": 7,
      "title": "czkawka",
      "desc": "Multi functional app to find duplicates, empty folders, similar images etc.",
      "hot": "25,135",
      "owner": "qarmin",
      "repo": "czkawka",
      "url": "https://github.com/qarmin/czkawka",
      "description": "Multi functional app to find duplicates, empty folders, similar images etc.",
      "language": "Rust",
      "stars": "25,135",
      "forks": "780"
    },
    {
      "id": 8,
      "title": "Librum",
      "desc": "The Librum client application",
      "hot": "4,950",
      "owner": "Librum-Reader",
      "repo": "Librum",
      "url": "https://github.com/Librum-Reader/Librum",
      "description": "The Librum client application",
      "language": "C++",
      "stars": "4,950",
      "forks": "165"
    },
    {
      "id": 9,
      "title": "markitdown",
      "desc": "Python tool for converting files and office documents to Markdown.",
      "hot": "71,702",
      "owner": "microsoft",
      "repo": "markitdown",
      "url": "https://github.com/microsoft/markitdown",
      "description": "Python tool for converting files and office documents to Markdown.",
      "language": "Python",
      "stars": "71,702",
      "forks": "3,910"
    },
    {
      "id": 10,
      "title": "jitsi-meet",
      "desc": "Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.",
      "hot": "26,593",
      "owner": "jitsi",
      "repo": "jitsi-meet",
      "url": "https://github.com/jitsi/jitsi-meet",
      "description": "Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.",
      "language": "TypeScript",
      "stars": "26,593",
      "forks": "7,364"
    },
    {
      "id": 11,
      "title": "maui",
      "desc": ".NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.",
      "hot": "22,888",
      "owner": "dotnet",
      "repo": "maui",
      "url": "https://github.com/dotnet/maui",
      "description": ".NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.",
      "language": "C#",
      "stars": "22,888",
      "forks": "1,871"
    },
    {
      "id": 12,
      "title": "wire",
      "desc": "Compile-time Dependency Injection for Go",
      "hot": "14,114",
      "owner": "google",
      "repo": "wire",
      "url": "https://github.com/google/wire",
      "description": "Compile-time Dependency Injection for Go",
      "language": "Go",
      "stars": "14,114",
      "forks": "668"
    }
  ]
}

错误返回示例:

{
  "code": 400,
  "error": "请求参数验证失败",
  "message": "请求参数缺失或无效,请查看官网文档以解决此问题:https://api.alcex.cn/",
  "details": [
    "query.id: Field required"
  ],
  "timestamp": 1755182973,
  "request_id": "21646ea2a01c461298cdbdbdb3f3a663"
}
{
  "code": 404,
  "error": "HTTP错误",
  "message": "Not Found",
  "timestamp": 1755182878,
  "request_id": "9ddc3b08d6724e4eafc2b4e2c1f24190"
}
{
    "code": 500,
    "error": "请求错误",
    "message": "请求处理过程中发生错误,请检查请求参数是否正确", 
    "timestamp": 1755182846,
    "request_id": "1cb82ff6aac5482caeac1999df66dccb"
}

多语言代码示例:

正在生成代码示例...

在线测试

提示:在线测试可能无法正常返回数据,建议使用专业工具测试。

Apifox
在 Apifox 中调试

使用专业的API调试工具进行更详细的测试

文档信息
标签:
Github github 热度排行榜
添加时间: 2025-08-16 20:26:13
最后更新: 2025-08-16 23:59:36