#vercel
3 discoveries · Hand-picked discoveries from the open web, newest first.
-
因 LeanCloud 停止对外服务,对数据迁移至 Vercel 。
由于LeanCloud即将停止服务,详细记录了如何将博客中依赖的"Do you like me"点赞组件和Waline评论服务及其数据,迁移并部署到Vercel平台的完整过程。
叶泯希 · ZH
-
Waline 数据源迁移记
起源:Valine + LeanCloud 博客最早期用的评论系统是 Valine.js。当时整套方案完全是前端操作,后端找一个 SaaS 提供对象存储服务。在 2017、2018 年左右,大部分博客系统推荐的都是 Valine.js + LeanCloud 这套组合 —— 存储免费、够用也好用,基本上大家都用 LeanCloud。 中途 Valine 爆出过漏洞。毕竟它是纯前端的,Token 之类的敏感信息都直接写在页面里,很容易泄露。一旦泄露,别人就能拿你的 Token 去读写数据 —— 更恶心的是,可以往里面乱写一通,直接把你的博客评论刷满无意义内容甚至危险内容。 漏洞出来后没多久,就有人在 Valine 的基础上做了一个新框架 —— Waline。主要改进有几点:在 Valine 上套了一层 Web 服务,可以直接跑在 Vercel 上;把敏感信息都放到了后端,所有数据操作都通过后端服务完成;另外还提供了一个管理后台,方便内容管理。 我当时也注意到了 Valine 的安全问题,所以 Waline 一出来我就跟着换了。当时博客主题还不支持 Waline,我自己手动改的支持,用着也算稳定。 至于 Waline 本身,体感反而一般,主要是 breaking changes 太多。最开始用的是 V1,后来升到 V2,按它的使用方式,客户端一直引用最新版本,而服务端是自己部署、版本写
YeungYeah 的乱写地 · ZH
-
vercel-labs/agent-desktop
Computer use CLI for AI agents https://agent-browser.dev/desktop agent-desktop Computer use for AI agents: read and operate desktop apps through the OS accessibility tree. A CLI and C library for macOS, Windows and Linux. A snapshot returns JSON with a ref for every element an agent can act on. The agent acts on a ref and snapshots again to check, with no pixel matching; the loop stays in your agent. Every CLI call runs in its own process. Headless calls still prohibit foreground activation and synthesized input. Snapshots, clipboard reads, screenshots, command output and debug artifacts can c
GitHub Trending · EN