GitHub 热门项目:Nimbus

摘要

GitHub项目:Nimbus 仓库地址:https://github。

https com Nimbus cloud the
2026-05-16 1 阅读 GitHub Trending
GitHub 项目:Nimbus 仓库地址:https://github.com/nimbusdotstorage/Nimbus 明星:1974 | 作者:nimbusdotstorage 项目描述:文件存储的未来 =================================================== 自述文件内容: # Nimbus 云存储 ![覆盖范围](https://img.shields.io/badge/coverage-9%25-red) 更好的云 ## 快速入门 ## 先决条件 - [Bun](https://bun.sh/)(JavaScript 运行时) - [Docker](https://www.docker.com/)(用于运行 PostgreSQL) - [Git](https://git-scm.com/) - [OpenSSL](https://www.openssl.org/) ### 1.克隆存储库 ````bash git 克隆 https://github.com/nimbusdotstorage/Nimbus.git cd雨云 ```` ### 2.安装依赖项 ````bash 包子我 ```` ### 3.环境设置 1.将.env.example复制到.env ````bash cp .env.example .env ```` 将 .env 复制到子目录 ````bash 面包运行环境:同步 ```` 请按照本[指南](https://www.better-auth.com/docs/authentication/google) 第一步中的说明进行操作。 <详情> 如何设置 Google 密钥?
- 导航到 Google Cloud [控制台](https://console.cloud.google.com/)。 - 创建一个新项目并导航到其仪表板。 - 导航至 [**OAuth 同意屏幕**](https://console.cloud.google.com/auth/overview) 并输入详细信息。 - 名称:_Nimbus_ - 观众:_外部_ - 联系信息:_youremail@gmail.com_ - 导航到[**客户端**](https://console.cloud.google.com/auth/clients)。 - 类型:_Web 应用程序_ - 名称:_Nimbus_ - 添加 **授权 Javascript 来源** 作为 `http://localhost:3000` - 添加 **授权重定向 uri** 作为 `http://localhost:1284/api/auth/callback/google` - **重要**:获取您的“client_id”和“client_secret”。 - 启用 Google Drive API - 搜索 **Google Drive API** 或 [单击此处](https://console.cloud.google.com/apis/library/drive.googleapis.com)。 - 单击**启用**。 - 现在导航到 [**Audience**](https://console.cloud.google.com/auth/audience) 并添加 **测试用户**。 <详情> 如何设置微软密钥?
官方指南:[Microsoft Register App](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app) - 转到 **Microsoft Azure 门户**。 - 导航到 [**Microsoft Entra ID**](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade) → 单击 **添加** → 单击 **应用程序注册**。 - 名称:_Nimbus_ - 在 **支持的帐户类型** 下,选择:**任何组织目录中的帐户和个人 Microsoft 帐户**(即所有 Microsoft 帐户用户)。 - 在“**重定向 URI**”下,选择“**Web**”并输入:“http://localhost:1284/api/auth/callback/microsoft”(如果需要,还可在前端源下添加“http://localhost:3000”。) - 注册后,导航至应用程序的**概述**以复制您的**应用程序(客户端)ID**。 - 在左侧菜单中,单击“**管理**”。用它来导航。 - 导航到 **证书和机密** → 单击 **新客户端机密** → 添加 _description_ 和 _expiry_ → 单击 **添加** → 复制生成的机密值。 - 导航到 **API 权限** 并确保添加并授予这些 **委派的 Microsoft Graph** 权限: -`艾玛