{"id":21340613,"url":"https://github.com/vikiboss/60s","last_synced_at":"2026-03-11T04:04:35.754Z","repository":{"id":112198008,"uuid":"572302993","full_name":"vikiboss/60s","owner":"vikiboss","description":"⏰ 60s API 免费接口。每天 60 秒看世界、冬奥会奖牌榜 🏅、小红书/B站/微博/抖音/知乎热搜、金价、油价、天气、翻译、壁纸、Epic 游戏、二维码、猫眼票房｜一系列 高质量、开源、可靠、全球 CDN 加速 的开放 API 集合，支持 Docker / Deno / Bun / Cloudflare Workers / Node.js 部署","archived":false,"fork":false,"pushed_at":"2026-03-06T07:33:29.000Z","size":2843,"stargazers_count":4912,"open_issues_count":4,"forks_count":837,"subscribers_count":15,"default_branch":"main","last_synced_at":"2026-03-06T07:36:14.158Z","etag":null,"topics":["60s","api","bilibili","bing","bun","cloudflare-workers","deno","docker","entertainment","fun","news","today-in-history","typescript","weibo","youdao"],"latest_commit_sha":null,"homepage":"https://docs.60s-api.viki.moe","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vikiboss.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-30T01:19:43.000Z","updated_at":"2026-03-06T07:33:33.000Z","dependencies_parsed_at":"2024-04-18T03:37:17.687Z","dependency_job_id":"2a05bd97-2567-49ac-9de9-e4f1c2e581af","html_url":"https://github.com/vikiboss/60s","commit_stats":null,"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"purl":"pkg:github/vikiboss/60s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiboss%2F60s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiboss%2F60s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiboss%2F60s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiboss%2F60s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikiboss","download_url":"https://codeload.github.com/vikiboss/60s/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikiboss%2F60s/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30370316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["60s","api","bilibili","bing","bun","cloudflare-workers","deno","docker","entertainment","fun","news","today-in-history","typescript","weibo","youdao"],"created_at":"2024-11-22T00:52:03.303Z","updated_at":"2026-03-11T04:04:35.733Z","avatar_url":"https://github.com/vikiboss.png","language":"TypeScript","readme":"# ⏰ 60s API\n\n![Update Status](https://github.com/vikiboss/60s-static-host/workflows/schedule/badge.svg) ![GitHub](https://img.shields.io/github/v/release/vikiboss/60s?label=GitHub) ![Docker](https://img.shields.io/docker/v/vikiboss/60s?style=flat\u0026label=Docker) ![Node.js](https://img.shields.io/badge/Node.js-6DA55F?logo=node.js\u0026logoColor=white) ![Bun](https://img.shields.io/badge/Bun-%23000000.svg?logo=bun\u0026logoColor=white) ![Deno](https://img.shields.io/badge/Deno-000000?logo=deno\u0026logoColor=white) [![群](https://img.shields.io/badge/%E4%BC%81%E9%B9%85%E7%BE%A4-595941841-ff69b4)](https://qm.qq.com/q/RpJXzgfAMG)\n\n\u003ca href=\"https://hellogithub.com/repository/vikiboss/60s\" target=\"_blank\" ref=\"noreferrer noopener\" \u003e\u003cimg src=\"https://api.hellogithub.com/v1/widgets/recommend.svg?rid=8e9af473df2244f59d84b79915298fcc\u0026claim_uid=wXMelR56paDoO2x\u0026theme=dark\" alt=\"Featured｜HelloGitHub\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\n一系列 **高质量、开源、可靠、全球 CDN 加速** 的开放 API 集合，让你用最简单的方式获取最准确的数据。\n\n构建于现代技术栈 [Deno](https://deno.com/)，托管在 [Deno Deploy](https://deno.com/deploy)，同时支持 [Docker](https://docker.com)、[Cloudflare Workers](https://www.cloudflare.com/zh-cn/developer-platform/products/workers/)、[Bun](https://bun.sh/) 和 [Node.js](https://nodejs.org/) 等多种部署方式。\n\n## 🎯 项目起源\n\n本项目最早源于 [这篇博客文章](https://blog.viki.moe/60s) 中提到的想法。随着项目的发展，逐渐演变成一个多功能的开放 API 平台，旨在为开发者提供便捷的数据获取方式。\n\n## 🌍 读懂世界 · 每天 60 秒读懂世界\n\n本项目的 **核心功能**：获取每日精选新闻，让你快速了解世界大事。\n\n**📡 API 调用示例**\n\n\u003e 部分地区访问主域名可能超时，可尝试自行部署，或使用他人分享的 [公共实例](https://docs.60s-api.viki.moe/7306811m0)\n\n```bash\n# JSON 格式 (默认)\ncurl \"https://60s.viki.moe/v2/60s\"\n\n# 纯文本格式\ncurl \"https://60s.viki.moe/v2/60s?encoding=text\"\n\n# 原图直链 (重定向到数据仓库原图直链)\ncurl \"https://60s.viki.moe/v2/60s?encoding=image\" --location --output \"$(date +%Y-%m-%d).png\"\n\n# 代理直链 (代理请求，直接返回图片二进制数据)\ncurl \"https://60s.viki.moe/v2/60s?encoding=image-proxy\" --output \"$(date +%Y-%m-%d).png\"\n```\n\n**📊 数据特性**\n\n- **数据源**: 微信公众号，详情参考 [这里](https://github.com/vikiboss/60s-static-host/blob/main/src/constants.ts#L4-L12)\n- **更新频率**: 每半小时自动尝试更新，正常情况最晚上午 10 点会更新\n- **数据处理**: [vikiboss/60s-static-host](https://github.com/vikiboss/60s-static-host) 仓库定时抓取\n- **响应速度**: 毫秒级缓存响应，全球 CDN 加速\n- **内容质量**: 精选 15 条国内外优质新闻 + 每日微语\n\n**💡 使用场景**\n\n- 📱 移动应用新闻模块\n- 🖥️ 网站首页资讯展示  \n- 🤖 聊天机器人新闻推送\n- 📧 邮件订阅日报生成\n- 🔔 桌面通知提醒\n\n## 🤖 Agent Skills\n\n本项目支持配合各种 AI 大模型以 Agent Skills 的方式使用，你可以在 [skills.sh](https://skills.sh/?q=vikiboss/60s-skills) 查看相关 skills，更多详情可参考 [vikiboss/60s-skills](https://github.com/vikiboss/60s-skills) 源码仓库，欢迎贡献。\n\n## 🎯 API 设计理念\n\n- **权威数据源** - 优先选择官方、权威的数据来源，确保信息准确性\n- **毫秒级响应** - 部分接口采取智能缓存策略，用户无感的高速响应体验\n- **开发者友好** - 统一的 API 设计，简洁的参数结构，完善的文档支持\n\n## 📚 完整 API 列表与文档\n\n完整 API 文档托管在 [Apifox](https://docs.60s-api.viki.moe)，持续更新中，欢迎贡献。\n\n---\n\n## 🚀 快速开始\n\n你可以通过 [API 文档](https://docs.60s-api.viki.moe) 中提供的 [官方实例](https://60s.viki.moe) 或者 [社区公共实例](https://docs.60s-api.viki.moe/7306811m0) 快速开始。\n\n\n如果你想要更多的**掌控感**和**稳定性保证**，也可以通过下面的方式自行部署。\n\n### 📦 一键部署\n\n**Docker 方式（推荐）**\n\n```bash\ndocker run -d \\\n  --restart always \\\n  --name 60s \\\n  -p 4399:4399 \\\n  vikiboss/60s:latest\n```\n\n**其他 JS/TS 运行时（备选）**\n\n```bash\n# Deno\ndeno install \u0026\u0026 deno run -A deno.ts\n\n# Bun\nbun install \u0026\u0026 bun run bun.ts\n\n# Node.js (需要 v22.6+)\nnpm install \u0026\u0026 node --experimental-strip-types node.ts\n```\n\n### ☁️ 云端部署\n\n**Cloudflare Workers**\n\n方式一，使用 Workers 的可视化界面：\n\n1. [Fork 本仓库](https://github.com/vikiboss/60s/fork)\n2. 在 [Cloudflare Workers](https://workers.cloudflare.com/) 通过 GitHub 创建项目\n3. 使用默认配置直接部署\n\n\u003e 仓库已预置 Workers 配置，无需额外设置。后续更新只需同步主仓库即可。\n\n方式二，命令行操作，clone 本仓库然后执行：\n\n```bash\nnpm install \u0026\u0026 npx wrangler publish\n```\n\n---\n\n## 📋 数据更新机制\n\n![数据流架构图](./images/arch.png)\n\n### 🔄 更新策略\n- **数据抓取**: GitHub Actions 定时任务\n- **存储方式**: 静态 JSON 文件 + CDN 缓存  \n- **更新频率**: 每日自动更新\n\n\u003e 可视化架构图: [60s 更新策略 - Excalidraw](https://excalidraw.com/#json=VRffPBlMuFBkOlTbGe7IH,0C6yClfLME65ZhmQ30ywdg)\n\n---\n\n## 🤝 社区与支持\n\n### 🙏 致谢\n\n本项目的部分代码、灵感、实现方式等参考了以下优秀开源项目，排名不分先后：\n\n- [DIYgod/RSSHub](https://github.com/DIYgod/RSSHub)\n- [Rankslive/RanksLiveApi](https://github.com/Rankslive/RanksLiveApi)\n\n### 💬 交流\n\n- **QQ 群**: [![加入群聊](https://img.shields.io/badge/%E4%BC%81%E9%B5%9D%E7%BE%A4-595941841-ff69b4)](https://qm.qq.com/q/RpJXzgfAMG) (问题反馈、使用交流)\n- **GitHub**: [Issues](https://github.com/vikiboss/60s/issues) (Bug 报告、功能建议)\n- **文档**: [API 文档](https://docs.60s-api.viki.moe) (详细使用说明)\n\n### 📈 项目 Star 历史\n\n[![Star History Chart](https://api.star-history.com/svg?repos=vikiboss/60s\u0026type=Date)](https://star-history.com/#vikiboss/60s\u0026Date)\n\n## 💰 赞赏项目\n\n如果觉得这个项目对你有帮助，欢迎请我喝咖啡 ☕️\n\n\u003e 采取**自愿**原则, 收到的赞赏将用于提高开发者积极性和开发环境。\n\n\u003cdiv id='readme-reward' style=\"display: flex; gap: 8px; flex-wrap: wrap; width: 100%\"\u003e\n  \u003cimg src=\"https://s2.loli.net/2022/11/16/X2kFMdaxvSc1V5P.jpg\" alt=\"wxpay\" height=\"160px\"style=\"margin: 24px;\"/\u003e\n  \u003cimg src=\"https://s2.loli.net/2022/11/16/vZ4xkCopKRmIFVX.jpg\" alt=\"alipay\" height=\"160px\" style=\"margin:24px;\"/\u003e\n\u003c/div\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003e感谢以下小伙伴的赞赏（点击展开/收起，排名不分先后）\u003c/summary\u003e\n\n\u003c!-- 表格 --\u003e\n|           赞赏人            |  金额  |  途径  |                  备注                  |\n| :-------------------------: | :----: | :----: | :------------------------------------: |\n|           Update            |  6.66  | WeChat |           感谢大佬的开源分享           |\n|            匿名             |  0.01  | WeChat |                   -                    |\n|         月夜忆江南          |  5.00  | WeChat |                   -                    |\n|            匿名             |  1.66  | WeChat |                   -                    |\n|         GoooodJooB7         |  1.66  | WeChat |              谢谢大佬开源              |\n|            匿名             |  1.66  | WeChat |                   -                    |\n| 十七岁就学会吃饭的天才少年  |  5.00  | WeChat |                   -                    |\n|          Sundrops           |  1.66  | WeChat |             感谢友友的接口             |\n|        春风伴我余生         | 10.00  | WeChat |                   -                    |\n|             杰              |  1.00  | WeChat |                   -                    |\n|            Blue             |  6.66  | WeChat |           Blue 祝开发者 6666           |\n|           聆听、            | 10.00  | WeChat |           喝杯咖啡，记得加冰           |\n|            匿名             | 100.00 | WeChat |                 好项目                 |\n| 卤蛋 （HelloGitHub 发起人） | 88.88  | WeChat |      很喜欢你的项目，加油 ^ O ^ ~      |\n|             Lee             |  6.66  | WeChat |                感谢分享                |\n|          世界和平           | 66.00  | WeChat |           世界需要更多的英雄           |\n|         севастополь         |  6.66  | WeChat |                买包辣条                |\n|             爪              |  2.00  | WeChat |                   -                    |\n|             LMQ             | 18.80  | WeChat | 大佬的响应速度，我泪目了，请大佬喝咖啡 |\n|             ---             |  ---   |  ---   |                  ---                   |\n|             *斌             | 12.90  | Alipay |                   -                    |\n|             *杰             | 20.00  | Alipay |                   -                    |\n|            **杰             |  9.90  | Alipay |                   -                    |\n|             *瑞             | 666.66 | Alipay |               100 杯咖啡               |\n|             ---             |  ---   |  ---   |                  ---                   |\n|             Ko.             | 11.66  |   QQ   |                   -                    |\n|           yijiong           | 15.00  |   QQ   |            a cup of coffee             |\n\n\u003e 如有遗漏，欢迎通过 issue 或者 QQ 群 595941841 反馈。\n\n\u003c/details\u003e\n\n## 🪪 License （开源协议）\n\n[MIT](license) License © 2022-PRESENT Viki\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikiboss%2F60s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikiboss%2F60s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikiboss%2F60s/lists"}