banner
约 300 字
1 分钟

无须NAS,CloudFlare免费搭建开源密码管理工具Bitwarden

-
-
无标签

前言

以前密码管理工具很多1password、LastPass等,但后来都收费了,如果你有NAS一定听说过Bitwarden这款开源免费的密码管理工具,功能不逊于收费软件。NodeWarden是运行在Cloudflare Workers上的第三方 Bitwarden兼容服务端,没有NAS也可以零成本使用。

准备工作

  1. 该项目是基于Bitwarden修改的,客户端用的也是Bitwarden,是否能长期使用请自行斟酌,项目地址:https://github.com/shuaiplus/nodewarden

  2. Cloudflare账号,R2存储需要信用卡

  3. GitHub账号

  4. 域名,可注册免费的:https://my.dnshe.com/

部署

  1. Fork 项目仓库

    blog image
    blog image
  2. 添加自动同步:进入你的 Fork 仓库 ➜ Actions ➜ Sync upstream ➜ Enable workflow,会在每天凌晨 3 点自动同步上游。

    blog image
    blog image
  3. 创建workers,选择Continue with GitHub,选择刚刚fork的项目

    blog image
    blog image
  4. 默认使用 R2 存储;若未开通,可用 KV 来代替,将部署命令改为 npm run deploy:kv

    blog image
    blog image
  5. 添加自定义域名

    blog image
    blog image

完成设置

  1. 第一次开启页面会提示未检测到 JWT_SECRET

    blog image
    blog image
  2. 根据提示,添加变量后重新部署

    blog image
    blog image
  3. 刷新页面后,创建管理账户

    blog image
    blog image
  4. 比原版Bitwarden多了DAV云端备份,这点还是非常实用的

    blog image
    blog image
  5. 使用方法和客户端均与Bitwarden相同

    blog image
    blog image

浏览器使用

  1. 浏览器插件,最下面选择自托管

    blog image
    blog image
  2. 填入自定义域名并保存

    blog image
    blog image
  3. 填入邮箱密码登录即可使用

    blog image
    blog image
  4. 正常使用

    blog image
    blog image

手机客户端

  1. 到应用市场或官网下载安装 https://bitwarden.com/download/

    blog image
    blog image
  2. 选择自托管

    blog image
    blog image
  3. 填入自定义域名

    blog image
    blog image
  4. 依次填入邮箱和主密码即可

    blog image
    blog image
  5. 正常使用

    blog image
    blog image
END

相关文章

暂无相关文章