Files
nexus/wiki/sources/nodewarden-bitwarden-cloudflare-workers-serverless-deployment.md
2026-04-17 08:38:12 +08:00

51 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "NodeWarden - 把 Bitwarden 搬上 Cloudflare Workers彻底告别服务器"
type: source
tags: []
date: 2026-02-22
---
## Source File
- [[raw/Home Office/NodeWarden - 把 Bitwarden 搬上 Cloudflare Workers彻底告别服务器.md]]
## Summary
- 核心主题:在无服务器情况下,通过 Cloudflare Workers 部署 Bitwarden 兼容的密码管理服务器
- 问题域密码管理、自托管部署、Serverless 应用
- 方法/机制:利用 Cloudflare Workers + D1 + R2 实现完整的 Bitwarden 协议兼容服务
- 结论/价值:零成本(仅需 Cloudflare 账号)实现私有密码管理,支持 TOTP 双因素认证
## Key Claims
- NodeWarden 是完全开源的 Bitwarden 服务器替代方案,运行于 Cloudflare Workers 上
- 支持 Cloudflare D1 作为数据库、R2 存储附件,实现完整 Bitwarden 功能
- 支持 TOTP 双因素认证,官方 Bitwarden 需要付费会员的高级功能
- 定位单用户场景,去除 Bitwarden 多用户、组织等企业功能
## Key Quotes
> "部署 NodeWarden 之后的效果,就是在无服务器的情况下,也能在手机、电脑上使用 Bitwarden 客户端来保存密码了,支持自动登陆、二次验证之类的功能。" — 原文描述
## Key Concepts
- [[Serverless Computing]]无需管理服务器即可运行代码的云计算模式NodeWarden 运行于 Cloudflare Workers
- [[TOTP (Time-based One-Time Password)]]:基于时间的一次性密码算法,用于双因素认证
- [[JWT_SECRET]]JSON Web Token 密钥,用于用户认证会话
- [[Cloudflare D1]]Cloudflare 的无服务器 SQL 数据库
- [[Cloudflare R2]]Cloudflare 的无服务器对象存储,用于存储附件
## Key Entities
- [[NodeWarden]]GitHub 项目名,运行于 Cloudflare Workers 的 Bitwarden 兼容服务器
- [[Bitwarden]]开源密码管理系统NodeWarden 兼容其协议
- [[Cloudflare]]:提供 Workers、D1、R2 等无服务器平台
- [[GitHub]]:代码托管和一键部署平台
- [[Appinn]]:小众软件网站,本文来源
## Connections
- [[NodeWarden]] ← implements ← [[Bitwarden Protocol]]
- [[NodeWarden]] ← runs_on ← [[Cloudflare Workers]]
- [[Cloudflare D1]] ← provides_database ← [[NodeWarden]]
- [[Cloudflare R2]] ← provides_storage ← [[NodeWarden]]
- [[GitHub]] ← hosts ← [[NodeWarden]]
## Contradictions
- 与 Bitwarden 官方服务对比:
- 冲突点:多用户支持
- NodeWarden 观点:单用户足够,专注核心密码管理功能
- Bitwarden 官方观点:提供多用户、组织、集合等企业级功能