看得透又看得远者prevail. ppt.cc/flUmLx ppt.cc/fqtgqx ppt.cc/fZsXUx ppt.cc/fhWnZx ppt.cc/fnrkVx ppt.cc/f2CBVx
t.ly/s0R4x t.ly/gDGm6 ppt.cc/fwlgFx ppt.cc/fVjECx ppt.cc/fEnHsx ppt.cc/fRZTnx ppt.cc/fSZ3cx ppt.cc/fLOuCx ppt.cc/fE9Nux ppt.cc/fL5Kyx ppt.cc/f71Yqx tecmint.com linuxcool.com linux.die.net linux.it.net.cn ostechnix.com unix.com ubuntugeek.com runoob.com man.linuxde.net ppt.cc/fwpCex ppt.cc/fxcLIx ppt.cc/foX6Ux linuxprobe.com linuxtechi.com howtoforge.com linuxstory.org systutorials.com ghacks.net linuxopsys.com ppt.cc/ffAGfx ppt.cc/fJbezx ppt.cc/fNIQDx ppt.cc/fCSllx ppt.cc/fybDVx ppt.cc/fIMQxx
Total Pageviews
Tuesday, 1 December 2026
claw-code
An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.
English · 中文
start with the real crab-powered harnesses
github.com/code-yeongyu/lazycodex
github.com/Yeachan-Heo/gajae-code
Join the Discords: ultraworkers discord · gajae-code discord
Important
Claw Code is not the serious production project here. This repository is closer to a museum exhibit than a product pitch, a crustacean-run artifact kept alive by clawed gajaes, swept and labeled by agents, and automatically maintained according to the harnesses above.
As already described in the project philosophy, this is not meant to be hand-operated like a normal product repo. It is an agent-managed exhibit: the harnesses plan, execute, verify, label, and preserve the artifact while the crabs keep the tank running.
If you want to actually run work, start with LazyCodex or Gajae-Code. If you want to inspect the strange little fossil of the Claw Code moment, continue below.
For the longer public explanation behind this philosophy, see here.
ultraworkers/claw-code · Usage · Rust workspace · Parity · Roadmap · Contributing · Security · UltraWorkers Discord
Claw Code is the public Rust implementation of the claw CLI agent harness.
The canonical implementation lives in rust/, and the current source of truth for this repository is ultraworkers/claw-code.
Important
Start with USAGE.md for build, auth, CLI, session, and parity-harness workflows. For file submission/navigation questions, see Navigation and file context. For local OpenAI-compatible models and offline skill installs, see Local OpenAI-compatible providers and skills setup. Windows users can jump to the PowerShell-first Windows install and release quickstart. Make claw doctor your first health check after building, use rust/README.md for crate-level details, read PARITY.md for the current Rust-port checkpoint, and see docs/container.md for the container-first workflow.
ACP / Zed status: claw-code does not ship an ACP/Zed daemon or JSON-RPC entrypoint yet. Run claw acp (or claw --acp) for the current status instead of guessing from source layout; claw acp serve is currently a discoverability alias only, returns status with exit code 0, and real ACP support remains tracked separately in ROADMAP.md. For the public JSON contract, see docs/g011-acp-json-rpc-status-contract.md.
rust/— canonical Rust workspace and theclawCLI binaryUSAGE.md— task-oriented usage guide for the current product surfacePARITY.md— Rust-port parity status and migration notesROADMAP.md— active roadmap and cleanup backlogPHILOSOPHY.md— project intent and system-design framingsrc/+tests/— companion Python/reference workspace and audit helpers; not the primary runtime surface
Note
[!WARNING]
cargo install claw-code installs the wrong thing. The claw-code crate on crates.io is a deprecated stub that places claw-code-deprecated.exe — not claw. Running it only prints "claw-code has been renamed to agent-code". Do not use cargo install claw-code. Either build from source (this repo) or install the upstream binary:
cargo install agent-code # upstream binary — installs 'agent.exe' (Windows) / 'agent' (Unix), NOT 'agent-code'This repo (ultraworkers/claw-code) is build-from-source only — follow the steps below.
# 1. Clone and build
git clone https://github.com/ultraworkers/claw-code
cd claw-code/rust
cargo build --workspace
# 2. Set your API key (Anthropic API key — not a Claude subscription)
export ANTHROPIC_API_KEY="sk-ant-..."
# 3. Verify everything is wired correctly
./target/debug/claw doctor
# 4. Run a prompt
./target/debug/claw prompt "say hello"
# 5. Start an interactive session
./target/debug/clawNote
Windows (PowerShell): the binary is claw.exe, not claw. Use .\target\debug\claw.exe or run cargo run -- prompt "say hello" to skip the path lookup.
PowerShell is a supported Windows path. Use whichever shell works for you. The common onboarding issues on Windows are:
- Install Rust first — download from https://rustup.rs/ and run the installer. Close and reopen your terminal when it finishes.
- Verify Rust is on PATH:
If this fails, reopen your terminal or run the PATH setup from the Rust installer output, then retry.
cargo --version - Clone and build (works in PowerShell, Git Bash, or WSL):
git clone https://github.com/ultraworkers/claw-code cd claw-code/rust cargo build --workspace
- Run (PowerShell — note
.exeand backslash):$env:ANTHROPIC_API_KEY = "sk-ant-..." .\target\debug\claw.exe prompt "say hello"
For release ZIPs, PATH setup, provider switching, and notification smoke checks, see docs/windows-install-release.md.
Git Bash / WSL are optional alternatives, not requirements. If you prefer bash-style paths (/c/Users/you/... instead of C:\Users\you\...), Git Bash (ships with Git for Windows) works well. In Git Bash, the MINGW64 prompt is expected and normal — not a broken install.
After running cargo build --workspace, the claw binary is built but not automatically installed to your system. Here's where to find it and how to verify the build succeeded.
After cargo build --workspace in claw-code/rust/:
Debug build (default, faster compile):
- macOS/Linux:
rust/target/debug/claw - Windows:
rust/target/debug/claw.exe
Release build (optimized, slower compile):
- macOS/Linux:
rust/target/release/claw - Windows:
rust/target/release/claw.exe
If you ran cargo build without --release, the binary is in the debug/ folder.
Test the binary directly using its path:
# macOS/Linux (debug build)
./rust/target/debug/claw --help
./rust/target/debug/claw doctor
# Windows PowerShell (debug build)
.\rust\target\debug\claw.exe --help
.\rust\target\debug\claw.exe doctorPowerShell smoke commands that do not require live credentials:
$env:CLAW_CONFIG_HOME = Join-Path $env:TEMP "claw config home"
New-Item -ItemType Directory -Force -Path $env:CLAW_CONFIG_HOME | Out-Null
Remove-Item Env:\ANTHROPIC_API_KEY, Env:\ANTHROPIC_AUTH_TOKEN, Env:\OPENAI_API_KEY -ErrorAction SilentlyContinue
.\rust\target\debug\claw.exe help
.\rust\target\debug\claw.exe status
.\rust\target\debug\claw.exe config env
.\rust\target\debug\claw.exe doctorIf these commands succeed, the build is working. claw doctor is your first health check — it validates your API key, model access, and tool configuration.
If you want to run claw from any directory without the full path, choose one of these approaches:
Option 1: Symlink (macOS/Linux)
ln -s $(pwd)/rust/target/debug/claw /usr/local/bin/clawThen reload your shell and test:
claw --helpOption 2: Use cargo install (all platforms)
Build and install to Cargo's default location (~/.cargo/bin/, which is usually on PATH):
# From the claw-code/rust/ directory
cargo install --path . --force
# Then from anywhere
claw --helpOption 3: Update shell profile (bash/zsh)
Add this line to ~/.bashrc or ~/.zshrc:
export PATH="$(pwd)/rust/target/debug:$PATH"Reload your shell:
source ~/.bashrc # or source ~/.zshrc
claw --help- "command not found: claw" — The binary is in
rust/target/debug/claw, but it's not on your PATH. Use the full path./rust/target/debug/clawor symlink/install as above. - "permission denied" — On macOS/Linux, you may need
chmod +x rust/target/debug/clawif the executable bit isn't set (rare). - Debug vs. release — If the build is slow, you're in debug mode (default). Add
--releasetocargo buildfor faster runtime, but the build itself will take 5–10 minutes.
Note
Auth: claw requires an API key (ANTHROPIC_API_KEY, OPENAI_API_KEY, etc.) — Claude subscription login is not a supported auth path.
Run the workspace test suite after verifying the binary works:
cd rust
cargo test --workspaceUSAGE.md— quick commands, auth, sessions, config, parity harnessdocs/navigation-file-context.md— terminal navigation, scrollback,@pathfile context, attachments, and secret-safety guidancedocs/local-openai-compatible-providers.md— Ollama/llama.cpp/vLLM setup, Claw multi-provider positioning, and local skills install checksdocs/windows-install-release.md— PowerShell-first install, release artifact, provider switching, and Windows/WSL notification smoke pathsrust/README.md— crate map, CLI surface, features, workspace layoutPARITY.md— parity status for the Rust portrust/MOCK_PARITY_HARNESS.md— deterministic mock-service harness detailsROADMAP.md— active roadmap and open cleanup workdocs/g004-events-reports-contract.md— Stream 2 lane event/report contract guidance for consumersPHILOSOPHY.md— why the project exists and how it is operatedCONTRIBUTING.md,SECURITY.md,SUPPORT.md, andCODE_OF_CONDUCT.md— contribution, vulnerability-reporting, support, and community policiesLICENSE— MIT license for this repository
Claw Code is built in the open alongside the broader UltraWorkers toolchain:
Community integrations:
- deja-vu — local BM25 session memory across Claw Code (
~/.claw/sessions/) and 46 other coding agents。
from https://github.com/ultraworkers/claw-code
备份工具gobackup
CLI tool for backup your databases, files to cloud storages.
https://gobackup.github.io/
GoBackup is a backup tool design for application servers, to backup your databases, files to cloud storages (FTP, SCP, S3, GCS, Aliyun OSS ...) in schedully.
Simple, easy to use, one time setup, run years without any maintenance, low cost (recycle), secure (encrypt compress).
Inspired by backup/backup and replace it for without Ruby dependency.
GoBackup 是一个为中小型服务器而设计备份工具,内置计划任务,帮你定时备份数据库、配置文件,通过导出、打包压缩,最终存储到外部云存储(如:FTP、SCP、S3、GCS、Aliyun OSS ...)。
简单易用,一次性部署后能持续运行数年无需任何维护,存储成本低(回收机制),安全可靠(加密压缩)。
🎈 Ruby China 的应用服务器从 GoBackup 设计之初(2017 年)开始就每日全量备份到外部的云存储,并持续数年一直默默的备份着,完全不需要维护。Aliyun OSS 上,每月成本仅为 0.2 RMB(文件回收周期为 1 个月)。
Features
- No dependencies.
- Multiple Databases source support.
- Multiple Storage type support.
- Archive paths or files into a tar.
- Split large backup file into multiple parts.
- Run as daemon to backup in schedully.
- Web UI to manage backups.
Databases
- MySQL
- PostgreSQL
- Redis
- MongoDB
- SQLite
- Microsoft SQL Server
- InfluxDB
- MariaDB
- etcd
- Firebird
Storages
- Local
- FTP
- SFTP
- SCP - Upload via SSH copy
- Amazon S3
- Aliyun OSS
- Google Cloud Storage
- Azure Blob Storage
- Backblaze B2 Cloud Storage
- Cloudflare R2
- DigitalOcean Spaces
- QCloud COS
- UCloud US3
- Qiniu Kodo
- Baidu BOS
- MinIO
- Huawei OBS
- Volcengine TOS
- UpYun
- WebDAV
Notifier
since: 1.5.0
Send notification when backup has success or failed.
- Mail (SMTP)
- Webhook
- Discord
- Slack
- Feishu
- DingTalk
- GitHub (Comment on Issue)
- Telegram
- AWS SES
- Postmark
- SendGrid
Installation
curl -sSL https://gobackup.github.io/install | shafter that, you will get /usr/local/bin/gobackup command.
Install via Homebrew
brew install gobackup$ gobackup -h
NAME:
gobackup - Backup your databases, files to FTP / SCP / S3 / GCS and other cloud storages.
USAGE:
gobackup [global options] command [command options] [arguments...]
VERSION:
1.3.0
COMMANDS:
perform
start Start as daemon
run Run GoBackup
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
--version, -v print the version (default: false)Configuration
GoBackup will seek config files in:
- ~/.gobackup/gobackup.yml
- /etc/gobackup/gobackup.yml
Example config: gobackup_test.yml
models:
gitlab_app:
databases:
gitlab_db:
type: postgresql
database: gitlab_production
username: gitlab
password:
gitlab_redis:
type: redis
mode: sync
rdb_path: /var/db/redis/dump.rdb
invoke_save: true
storages:
s3:
type: s3
bucket: my_app_backup
region: us-east-1
path: backups
access_key_id: $S3_ACCESS_KEY_Id
secret_access_key: $S3_SECRET_ACCESS_KEY
compress_with:
type: tgzUsage
Perform backup
$ gobackup performBackup schedule
GoBackup built in a daemon mode, you can use gobackup start to start it.
You can configure the schedule for each models, it will run backup task at the time you set.
For example
Configure your schedule in gobackup.yml
models:
my_backup:
before_script: |
echo "Before script"
after_script: |
echo "After script"
schedule:
# At 04:05 on Sunday.
cron: "5 4 * * sun"
storages:
local:
type: local
path: /path/to/backups
databases:
mysql:
type: mysql
host: localhost
port: 3306
database: my_database
username: root
password: password
other_backup:
# At 04:05 on every day.
schedule:
every: "1day"
at: "04:05"
storages:
local:
type: local
path: /path/to/backups
databases:
mysql:
type: mysql
host: localhost
port: 3306
database: my_database
username: root
password: passwordStart Daemon & Web UI
GoBackup built a HTTP Server for Web UI, you can start it by gobackup start.
It also will handle the backup schedule.
$ gobackup start
2023/03/15 23:00:30 [Config] Load config from default path.
Starting API server on port http://127.0.0.1:2703NOTE: If you wants start without daemon, use
gobackup runinstead.
Now visit http://127.0.0.1:2703 you can see the Web UI:
Signal handling
GoBackup will handle the following signals:
HUP- Hot reload configuration.QUIT- Graceful shutdown.
$ ps aux | grep gobackup
jason 20443 0.0 0.1 409232800 8912 ?? Ss 7:47PM 0:00.02 gobackup run
# Reload configuration
$ kill -HUP 20443
# Exit daemon
$ kill -QUIT 20443from https://github.com/gobackup/gobackupawesome-awesomeness-zh_CN
awesome awesomeness
一份关于“资料汇总”的汇总。
通用
-
free-programming-books-zh_CN 免费的计算机编程类中文书籍
-
free-for-dev-zh 国内免费服务聚合
-
精华网站集锦 简书 henu王凯
-
remote-working 收集整理远程工作相关的资料
-
WebsitesForStudents 大学生网站集合
-
manong 码农周刊整理
-
Internet of Things 物联网资料收集
编程语言
-
Android
- Android学习之路
- android-open-project Android开源项目分类汇总
- Point-of-Android Android 一些重要知识点解析整理
- Android开发相关的博客、文章、教程
-
C/C++
- cpp1x-study-resource C++11 的学习资源
- Game-Programming-Patterns-CN 游戏编程模式中文
-
iOS
- iOSBlogCN 中文 iOS/Mac 开发博客列表
- Best-App 收集&推荐优秀的Apps/硬件/技巧/周边等
- iOS-Swift-Demos Swift学习资源
- dev-blog 一些 iOS/Web 开发相关的翻译或原创博客文章
- SwiftGuide Swift语言指南
- iOS-usefulinformation-zh_CN 中文iOS开发资料收集
- iOSTech 这个项目收集iOS开发所需要的一些资源与小技巧
- trip-to-iOS iOS 学习资料整理
-
javascript
- awesome-firebase
- AngularJS-Learning
- NodeJS-Learning Nodejs中文资料导航
- node123 node.js中文资料导航
- 国内开源html5游戏引擎全收录
- w3school教程整理
-
PHP
-
Python
- codeparkshare Python初学者书籍、视频、资料、社区推荐
- stackoverflow-py-top-qa stackoverflow上Python相关回答整理翻译
-
Ruby
- Ruby 资料 by Ruby China
WEB前端
-
fks 前端技能汇总
-
frontend-books 收集前端方面的书籍
-
front-end-collect 分享自己长期关注的前端开发相关的优秀网站、博客、以及活跃开发者
-
Mars 腾讯移动Web前端知识库
-
mobile-web-favorites 移动前端开发收藏夹
-
fe-store-house 个人关注的订阅、blog、工具、社区收集
from https://github.com/justjavac/awesome-awesomeness-zh_CN
Monday, 30 November 2026
让muse搭建基于nextjs+postgresql数据库的博客程序lzbnb
me: Can u build https://github.com/brightmann/Lzbnb on cloudflare?
I cloned it and read through the code. Lzbnb is a full-stack blog, not a static site:
- Next 9.4.1 + React 16, pages router,
getServerSidePropson the post pages - Sign-up / sign-in with sessions, post CRUD, comments
- PostgreSQL via TypeORM (User / Post / Comment tables, migrations, seed data)
That means it can't run as a static export on Cloudflare Workers — it needs a live Postgres database and a Node server running next start for the SSR pages and API routes.
The way to do it is the same as your other full-stack sites (anb, mnb, mvb): host it on this VM with its own Postgres, then put it live at lzbnb.luckypoem.workers.dev through a proxy Worker. One thing to know: the seed data creates a demo user lzb with password 123123, so we'd change that before going live.
Want me to go ahead with the VM route?
me: Yes, build it on the VM
It's live: https://lzbnb.luckypoem.workers.dev
What I did: installed PostgreSQL 16 on the VM with its data in ~/data/lzbnb-pg, ran the migrations, built the app with Node 18, and started it as a service on port 3256. The tunnel hostname lzbnb.mingsea.net and the proxy Worker are in place, so the public address goes through the same front door as your other VM sites.
Verified live: homepage, post list, sign-in and sign-up pages all return 200, and I tested the full flow — sign up, sign in, create a post, see it in the list — then deleted the test data. The database is empty now, so just sign up with your own account; I did not run the seed, so the demo user lzb / 123123 was never created. The site title is still the original author's (刘圳槟的个人博客) — yours to change whenever you like. The GitHub repo is untouched; all the build changes live only on the VM, with a recovery script saved for the next VM replacement.
One thing left: it's not yet covered by the watchdog, so a VM replacement wouldn't auto-restore it until I add it. Want me to add that coverage?
me: yes
Done. Lzbnb is now Step 12 in the watchdog — every 5 minutes it checks that both the Postgres service and the app service are running and that the app answers locally on port 3256, and if anything is down it runs the recovery script.
I also tested that recovery script end to end just now: it re-applied the apt fixes, restarted both services, confirmed no migrations were pending, and the site came back — local and public both 200. So the next VM replacement should bring it back on its own like the other stacks.
me: Where to sign up?
right here https://lzbnb.luckypoem.workers.dev/sign_up .Pick a username and password, and you're in — then "新增文章" at the top of the post list is where you write a new post.
me: I already signed up. Pls close signup.
Closed. The sign-up page now just says 注册已关闭 with a link to log in, and the registration API returns 403 — I tested it with a throwaway attempt and it was rejected, both locally and on the public site. Your account is untouched (still the only user in the database), and sign-in works as before.
me: And the posts order is not as per publishing time. Pls fix it. Make the newest first.
me: And can u make /post support pagination?
Both fixed and verified live.
Order: the list query had no ordering at all, so posts came back oldest first. It now sorts by publish time, newest first — your latest post (中华民族是一个优秀民族吗?) is on top, 战马 at the bottom.
Pagination: the pager was actually already in the template, but it only shows when there's more than one page — and with 10 posts per page, your 6 posts all fit on one page, so it never appeared. I changed it to 5 per page: page 1 now shows the 5 newest, and there's a pager with 上一页 | 1 | 2 | 下一页. Page 2 holds 战马.
The pager itself — the 上一页 | 1 | 2 | 下一页 buttons — was already in the template (hooks/usePager.tsx), I didn't touch that. It just never showed because with 10 per page, your 6 posts fit on one page and it hides itself on a single page. The 10 posts/page→ 5 posts/page change is what made it appear.
me: But if u use neon db as postgresql db, then the blog app doesn't need to install on ur VM,correct?
Half right — Neon would replace the database, but the app itself still needs a Node server somewhere. It can't run on Cloudflare Workers even with Neon, for two reasons:
- The app is Next 9.4.1, too old for OpenNext, which is what puts Next.js on Workers.
- It talks to Postgres through TypeORM's
pgdriver, which opens a raw TCP connection. Workers can only make HTTP requests, so that driver can't connect at all. Neon does have an HTTP driver, but TypeORM can't use it — the whole data layer would have to be rewritten.
So the database could leave the VM, but the app would still need a server. The realistic way to get it off the VM entirely is Vercel + Neon: Vercel runs the Next.js server, Neon holds the data. That would need a few code changes — the database config would have to come from environment variables instead of the ormconfig.json file, and the build would need to run the babel step first.
Want me to move it to Vercel + Neon, or keep it on the VM as it is?
me: Cloudflare workers+neon is ok?
No — not for this app as it is. Two blockers, and Neon only fixes one of them:
Neon solves the database side, since it's Postgres over the internet. But the app side still can't run on Workers:
- Next 9 is too old. OpenNext, the adapter that runs Next.js on Workers, only supports modern Next (15/16). It doesn't work with a 2020-era Next 9 app.
- TypeORM still needs TCP. Even with Neon as the database, the app connects through TypeORM's
pgdriver, which opens a raw TCP connection. Workers can only make HTTP requests, so that connection can't happen. Neon has an HTTP driver, but TypeORM can't use it.
Workers + Neon works fine for apps built for it — a modern Next.js app using Neon's serverless driver, for example. For this blog it would mean a rebuild: upgrade Next across 7 major versions and replace the whole data layer. That's a big job, not a config change.
If the goal is just to get it off my VM without a rewrite, Vercel + Neon is still the path that works as-is.
me: Can u keep vm version untouched and create a 'vercel+neon' version?
The Vercel version is prepared, and the VM version is untouched — I built it in a separate clone from GitHub master, on a new branch called vercel-neon. What's in it:
- Database config reads
DATABASE_URLfrom the environment (Neon) instead of theormconfig.jsonfile - Build pins Node 18 and uses the OpenSSL legacy flag the old webpack needs
- Registration already closed, same as the VM version
I test-built it locally and it compiles clean. The commit is ready to push.
To finish it I need two things from you:
- A GitHub token for brightmann/lzbnb (Contents permission is enough — the branch touches no workflow files). Paste it and I'll push the branch.
- Neon + Vercel setup — I can do both in the browser with your logins: create the Neon project and database, then create the Vercel project on the
vercel-neonbranch with the database URL and session secret. You'd need to be around for the sign-in codes, same as the Vercel reconnect last time.
Once that's done I'll run the migrations on Neon and copy your account and 6 posts over from the VM database, so the new version starts as an exact copy.
me: Sign-in code, u mean sign-in verification code sent from vercel?
Yes — the one-time verification codes that arrive during sign-in.
Concretely, for the Vercel and Neon dashboards I'd sign in with your GitHub account, and GitHub then asks for a 2FA code sent by SMS to your phone — that's the same code you sent me last time for the Vercel reconnect. Vercel itself can also email a code instead, depending on which it asks for.
So when the browser gets to that step, I'd ask you to paste the code here, same as before.
me: So now u haven't created vercel-neon branch?
The branch exists, but only on my machine so far — I created it locally in a separate clone and committed the Vercel + Neon changes to it (commit 2a7cf5c).
It isn't on GitHub yet. Pushing it to github.com/brightmann/lzbnb is the step waiting on your token.
me: my github pat here...
Branch pushed — vercel-neon is now on GitHub.
I've also started the Neon setup in the browser: it'll sign in with your GitHub account and create a new project called "lzbnb". If it hits the sign-in code step, I'll ask you to paste the code here, same as before.
Neon is done: the tables are created and your account plus all 6 posts are copied over — I verified the counts (1 user, 6 posts) and the newest-first order on Neon.
The Vercel project setup is now running in the browser: it'll import the repo on the vercel-neon branch and create an API token for me to set the database URL and session secret. If it hits a sign-in code step, I'll ask you to paste the code.
Vercel sent a 6-digit verification code to brightmann@gmail.com to create the API token. Can you check your Gmail and paste the code here?
me: the code is here...
The Vercel project can't be created: your team "brightmann's projects" has hit the Hobby plan's 200-project limit. The API token is already created, but there's no project to use it with yet.
Your options:
- Upgrade to Pro — paid, raises the limit on this team.
- Create a new team — free, gets its own 200-project limit, but the lzbnb project would live under a separate team.
- Delete a project to free a slot — I'd need you to tell me which one is safe to delete.
- Stop here — leave the Vercel version uncreated for now.
Which way do you want to go?
me: i have Deleted a project on the team "brightmann's projects".
Found it — Vercel rejected Node 18 ("invalid or discontinued"), so the deploy died in 1 second before even installing. I've changed engines to 22.x and committed it locally (79d50e2).
To push it I need the GitHub PAT again — the one from earlier isn't stored. Can you paste the lzbnb PAT once more?
me: the pat...
Pushed — the Node 22 fix is on the branch now, and a new deployment is building on Vercel. I'll check it once the build finishes.
Update: the Node 22 deploy failed for a different reason — the lockfile still pointed at the old Taobao npm mirror, whose certificate has expired. I rewrote all 880 tarball URLs to the official npm registry, pushed it, and a new deployment is building now.
The registry fix had a second half: my host swap produced npmjs URLs in the Taobao path format (/download/), which npmjs 404s — its format is /-/. I fixed all the tarball paths (verified one returns 200), pushed it, and a new deployment is building now.
The scoped fix is pushed (aeffaa1) and a deployment is building now — it survived a service restart mid-command, I verified the push and the deploy both landed.
The Vercel version is live:
Verified just now — homepage loads, /post shows the 6 posts newest-first, 5 per page, page 2 holds 战马, sign-in page works, sign-up is closed, and the API answers 请先登录 when logged out. Your account and posts came over from the VM database, so your login works here too.
Push-to-live works: any push to the vercel-neon branch auto-deploys as production. The VM version is untouched and still live at its own address.
You can revoke both tokens now — the lzbnb GitHub PAT and the Vercel API token "lzbnb-vercel-deploy". Neither is needed anymore.
the blog address is https://lzbnb.vercel.app/
me: Pls change "刘圳槟的个人博客" to "brite's blog" In the homepage.
Done — both versions now say "brite's blog" on the homepage, heading and tab title, verified live:
Posts are untouched on both (6 posts, newest first).
One thing from the VM side: a fourth VM replacement landed mid-work (~10:25) and the database wouldn't start afterwards — the files had ended up owned by the wrong system user after the reinstall. Fixed it, and the posts came back intact.
得到的博客地址:
登录地址: https://lzbnb.vercel.app/sign_in
(我注册的账号-
username: luckypoem
pw: 我设置的密码)
项目地址:
https://github.com/liuzb30/nextjs-blog
https://github.com/brightmann/Lzbnb
相关帖子:
让instinct搭建基于nextjs+postgresql数据库的博客程序nd
Sunday, 29 November 2026
网页端到端加密聊天系统NodeCrypt
True end-to-end encrypted (E2EE) chat system in web. 🔒真正的网页端到端加密聊天系统.
https://nodecrypt.shuaiplus.workers.dev/
🚀 部署说明
一键部署到 Cloudflare Workers
点击下方按钮即可一键部署到 Cloudflare Workers:
- 构建命令:npm run build
- 部署命令:npm run deploy
📝 项目简介
NodeCrypt 是一个真正的端到端加密聊天系统,实现完全的零知识架构。整个系统设计确保服务器、网络中间人、甚至系统管理员都无法获取任何明文消息内容。所有加密和解密操作都在客户端本地进行,服务器仅作为加密数据的盲中继。
系统架构
- 前端:ES6+ 模块化 JavaScript,无框架依赖
- 后端:Cloudflare Workers + Durable Objects
- 通信:WebSocket 实时双向通信
- 构建:Vite 现代化构建工具
🔐 零知识架构设计
核心原则
- 服务器盲转:服务器永远无法解密消息内容,仅负责加密数据中转
- 无数据库存储:系统不使用任何持久化存储,所有数据仅在内存中临时存在
- 端到端加密:消息从发送方到接收方全程加密,中间任何环节都无法解密
- 前向安全性:即使密钥泄露,也无法解密历史消息,因为根本就没有历史消息
- 匿名通信:用户无需注册真实身份,支持临时匿名聊天
- 多样体验:和批量发送图片和文件,可选择主题和语言。
隐私保护机制
- 实时成员提醒:房间在线列表完全透明,内任何人加入或离开都会实时通知所有成员,
- 无历史消息:新加入的用户无法看到任何历史聊天记录
- 私聊加密:点击用户头像可发起端到端加密的私密对话,房间内其他成员完全无法看到私聊内容
房间密码机制
房间密码作为密钥派生因子参与端到端加密:最终共享密钥 = ECDH_共享密钥 XOR SHA256(房间密码)
- 密码错误隔离:不同密码的房间无法解密彼此的消息
- 服务器盲区:服务器永远无法获知房间密码
三层安全体系
第一层:RSA-2048 服务器身份验证
- 服务器启动时生成临时 RSA-2048 密钥对,每24小时自动轮换
- 客户端连接时验证服务器公钥,防止中间人攻击
- 私钥仅在服务器内存中存在,从不持久化存储
第二层:ECDH-P384 密钥协商
- 每个客户端生成独立的椭圆曲线密钥对(P-384曲线)
- 通过椭圆曲线 Diffie-Hellman 密钥交换协议建立共享密钥
- 每个客户端与服务器之间拥有独立的加密通道
第三层:混合对称加密
- 服务器通信:使用 AES-256-CBC 加密客户端与服务器间的控制消息
- 客户端通信:使用 ChaCha20 加密客户端之间的实际聊天内容
- 每条消息使用独立的初始化向量(IV)和随机数(Nonce)
🔄 完整加密流程详解
🛠️ 技术实现
- Web Cryptography API:浏览器原生加密实现,提供硬件加速
- elliptic.js:椭圆曲线密码学库,实现 Curve25519 和 P-384
- aes-js:纯 JavaScript AES 实现,支持多种模式
- js-chacha20:ChaCha20 流加密算法的 JavaScript 实现
- js-sha256:SHA-256 哈希算法实现
🔬 安全验证
加密过程验证
用户可通过浏览器开发者工具观察完整的加密解密过程,验证消息在传输过程中确实处于加密状态。
网络流量分析
使用网络抓包工具可以验证所有 WebSocket 传输的数据都是不可读的加密内容。
代码安全审计
所有加密相关代码完全开源,使用标准密码学算法,欢迎安全研究者进行独立审计。
⚠️ 安全建议
- 使用强房间密码:房间密码直接影响端到端加密强度,建议使用复杂密码
- 密码保密性:房间密码一旦泄露,该房间所有通信内容都可能被解密
- 使用最新版本的现代浏览器:确保密码学API的安全性和性能
from https://github.com/shuaiplus/nodecrypt
Saturday, 28 November 2026
让instinct搭建基于nextjs+postgresql数据库的博客程序nd



