{"id":13431423,"url":"https://github.com/icyux/bili-auth","last_synced_at":"2025-03-16T11:31:39.548Z","repository":{"id":41418963,"uuid":"387162097","full_name":"icyux/bili-auth","owner":"icyux","description":"第三方哔哩哔哩 OAuth 2.0 API，基于私信鉴权 | Third-party Bilibili OAuth 2.0 API","archived":false,"fork":false,"pushed_at":"2025-02-02T09:04:24.000Z","size":290,"stargazers_count":52,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T10:19:20.654Z","etag":null,"topics":["bilibili","bilibili-api","bot","oauth","oauth2"],"latest_commit_sha":null,"homepage":"https://bili-auth.icyu.me:41259","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icyux.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}},"created_at":"2021-07-18T11:44:01.000Z","updated_at":"2025-02-02T09:04:28.000Z","dependencies_parsed_at":"2023-12-28T07:40:05.884Z","dependency_job_id":"a5007a78-4c82-4268-9027-40853e1e53b8","html_url":"https://github.com/icyux/bili-auth","commit_stats":null,"previous_names":["icyux/bili-auth","vapehacker/bili-auth"],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyux%2Fbili-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyux%2Fbili-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyux%2Fbili-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icyux%2Fbili-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icyux","download_url":"https://codeload.github.com/icyux/bili-auth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243863065,"owners_count":20360262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bilibili","bilibili-api","bot","oauth","oauth2"],"created_at":"2024-07-31T02:01:03.005Z","updated_at":"2025-03-16T11:31:39.538Z","avatar_url":"https://github.com/icyux.png","language":"JavaScript","funding_links":[],"categories":["开发"],"sub_categories":["直播脚本"],"readme":"# bili-auth\n\n第三方实现的哔哩哔哩 OAuth 2.0 API，无需通过官方平台申请成为开发者，任何用户都可使用。应用只需通过标准的 OAuth 2.0 流程，即可快速接入哔哩哔哩帐号登录。\n\n视频展示：[【开源】让你的应用快速接入哔哩哔哩帐号登录 | bili-auth](https://www.bilibili.com/video/BV1iS4y1S7QB)\n\n## 对于用户\n\n基于私信鉴权，用户仅需按照指引发送一条私信即可完成鉴权。快捷简单，用户容易接受。\n\n\n## 对于开发者\n\n后端所有功能，包括 OAuth Service / 私信收发机器人 等，均使用 `Python` 编写，使用的 Web 框架为 `Flask`。向外提供通用的 OAuth 2.0 API，开发者可以直接调用。\n\n完全基于普通用户使用的 API ，不需要申请其他接口，无门槛。开发者只需要一个可以正常收发私信的哔哩哔哩帐号即可搭建自己的 *bili-auth* 服务。\n\n提供 Docker 镜像用于快速部署，参考 [Docker 部署](doc/deploy-docker.md)。\n\n关于常规的部署流程，包括环境准备、配置填写、应用管理、运行等环节，参考[部署流程](doc/deploy.md)。\n\n关于第四方应用（即您自己的应用）的 OAuth 接入，参考 [OAuth 应用管理与接入](doc/oauth.md)。\n\n\n## Demo\n\n~~在本项目的 \"demo\" 目录中是一个基于 `PHP` 的留言板，它需要用户通过 *bili-auth* 验证哔哩哔哩帐号后方可进行留言操作。您可自行在 PHP-FPM 环境下部署。~~ （此 Demo 已经过时，不适用于当前版本）\n\n如果需要在线 Demo ，可以访问[我的博客](https://blog.icyu.me)，文章评论区已经接入 *bili-auth* ，作为其中一项登录方式。\n\n\n## 其他\n\n关于此项目的博客文章，以及 bilibili 私信 API 的更多文档：\u003chttps://blog.icyu.me/post/1626001\u003e\n\n关于此项目的最初设想：\u003chttps://www.bilibili.com/video/BV1TX4y1c727\u003e\n\n\n## 免责声明\n\n本项目为第三方的开源项目，不属于哔哩哔哩官方提供的服务。\n\n由于哔哩哔哩的 API 经常更新，本项目调用的接口存在失效的可能，不保证其长期运行的稳定性。如果您是企业开发者，可使用官方提供的[哔哩哔哩开放平台](https://openhome.bilibili.com/)。\n\n本项目所使用到的哔哩哔哩平台的图标、名称、标识等内容仅便于用户识别，所有权归属于其原始所有者。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyux%2Fbili-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficyux%2Fbili-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficyux%2Fbili-auth/lists"}