Turn your site into a place people can bump into each other
The article introduces TownSquare, a new feature that transforms websites into social spaces where visitors can interact and serendipitously connect with each other. By integrating real-time presence indicators and lightweight communication tools, the platform aims to recreate the spontaneous encounters of physical communities in a digital environment.
背景速读
- 作者 Cauê Napier 是一位独立开发者,专注于去中心化(Web3)和档案类工具,曾开发过 Werd(去中心化博客平台)和之前的 Slipbox(本地笔记工具)。
- TownsQuare 是他新发布的、为静态网站(如博客或个人主页)添加“小镇广场”功能的开源工具。核心机制是:在每篇页面底部嵌入一个留言区,访客可以留下文本留言,这些留言会通过 Nostr(一个去中心化、抗审查的协议)进行广播和存储,而不是依赖中央服务器(如 Disqus 或 WordPress 原生评论)。
- 背景:对于由静态站点生成器(如 Hugo、Jekyll、Astro)构建的网站,原生评论功能缺失,通常只能接入第三方服务(往往带广告、追踪、或审查风险)。TownsQuare 在这条路上更进一步:用 Nostr 协议留言不仅是评论,还相当于发了一条全局可见的公开消息,让“偶遇”发生——即他人能在别处看到你留下的痕迹,形成一种去中心化的社交互动。