{"id":28324290,"url":"https://github.com/dilettante258/tieba-api-scf","last_synced_at":"2026-02-20T06:02:39.153Z","repository":{"id":231511866,"uuid":"781946885","full_name":"Dilettante258/Tieba-API-SCF","owner":"Dilettante258","description":"百度贴吧API的封装。该项目是一个基于Node.js的API服务器，使用Protobuf.js处理数据，提供论坛、帖子和用户信息的路由处理，并与前端Web应用交互，以展示数据和处理用户操作。","archived":false,"fork":false,"pushed_at":"2025-04-13T10:43:53.000Z","size":274,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"v2","last_synced_at":"2025-06-24T02:39:27.162Z","etag":null,"topics":["functions","hono","javascript","serverless","tieba"],"latest_commit_sha":null,"homepage":"https://tb.wang1m.tech/reference","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dilettante258.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-04-04T10:48:29.000Z","updated_at":"2025-04-13T10:43:56.000Z","dependencies_parsed_at":"2024-04-04T11:50:39.514Z","dependency_job_id":"add06fbc-fcd5-4c9e-8ba4-f70548d62a5f","html_url":"https://github.com/Dilettante258/Tieba-API-SCF","commit_stats":null,"previous_names":["dilettante258/tieba-api-scf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dilettante258/Tieba-API-SCF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilettante258%2FTieba-API-SCF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilettante258%2FTieba-API-SCF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilettante258%2FTieba-API-SCF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilettante258%2FTieba-API-SCF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dilettante258","download_url":"https://codeload.github.com/Dilettante258/Tieba-API-SCF/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilettante258%2FTieba-API-SCF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29642907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T05:21:04.652Z","status":"ssl_error","status_checked_at":"2026-02-20T05:21:04.238Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["functions","hono","javascript","serverless","tieba"],"created_at":"2025-05-25T17:11:58.475Z","updated_at":"2026-02-20T06:02:39.147Z","avatar_url":"https://github.com/Dilettante258.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tieba-API-SCF\n\n![GitHub Repo stars](https://img.shields.io/github/stars/Dilettante258/Tieba-API-SCF)\n![GitHub forks](https://img.shields.io/github/forks/Dilettante258/Tieba-API-SCF)\n\n对百度贴吧的一些常用API进行了的调用时转发封装。\n\n该项目是一个基于Node.js运行时的API服务器，使用[Hono](https://hono.dev/)框架进行开发，使用了zod作类型验证并生成了OpenAPI文档，用[Scalar](https://scalar.com/)作API展示。\n\n## 体验地址\n\n**[Reference](https://tb.wang1m.tech/reference)**\n\n此分支部署在华为云函数上。有CORS限制，若想用于其他的项目中，请自行部署。\n\n## 部署教程\n先需要设置`BDUSS`环境变量，否则直接抛出错误。\n- **本地部署**\n    ```bash\n    npm install\n    npm run dev\n    ```\n  打开 http://localhost:8000/reference 可直接体验。\n- **云函数部署**\n  ```bash\n  npm install\n  npm run build\n    ```\n  将打包生成的`out.cjs`上传，并相应配置好对应的bootstrap即可运行。\n    \n  不建议部署至国外的云服务平台（例如AWS/CF)，因为延迟很高。\n\n\n## 注意事项\n请勿以本项目进行违反百度贴吧用户协议的行为，或向任何第三方提供任何形式的相关服务。\n使用此库时请仅用于学习和测试，禁止用于非法用途及其他恶劣的社区行为如：恶意刷屏、辱骂黄暴、各种形式的滥用等。\n由此违规而产生的任何后果自负，模块的所有贡献者不负任何责任。\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilettante258%2Ftieba-api-scf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdilettante258%2Ftieba-api-scf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilettante258%2Ftieba-api-scf/lists"}