sneakerweb
sneakerweb
A parallel web transported by physical media. The sneakerweb is a peer-to-peer protocol for web publishing without permission: there are no DNS servers, domain registrars, or web hosts. 一个通过物理介质传输的平行网络。sneakerweb 是一种无需许可的网页发布点对点协议:它没有 DNS 服务器、域名注册商或网络托管商。
Instead, websites are stored directly on user devices, and transferred between them through the ultimate fallback infrastructure: physical storage media. Your collected sites can be viewed offline, in the same web browser you normally use, and then shared with others via .snk files. 相反,网站直接存储在用户设备上,并通过终极备用基础设施——物理存储介质——在设备间进行传输。你收藏的网站可以在你常用的网页浏览器中离线查看,并通过 .snk 文件与他人共享。
The sneakerweb CLI
sneakerweb 命令行工具 (CLI)
The sneakerweb CLI lets you browse and maintain a local collection of sneakerwebsites. You can export your collection to a .snk file, you can import .snk files into your collection, and you can create new websites. sneakerweb CLI 允许你浏览和维护本地的 sneakerwebsites 收藏。你可以将收藏导出为 .snk 文件,将 .snk 文件导入到你的收藏中,并创建新的网站。
- sneakerweb domain — claim a sneakerweb domain to publish to
- sneakerweb domain — 申领一个用于发布的 sneakerweb 域名
- sneakerweb publish — publish a static website to a sneakerweb domain
- sneakerweb publish — 将静态网站发布到 sneakerweb 域名
- sneakerweb export — export websites to a .snk file
- sneakerweb export — 将网站导出为 .snk 文件
- sneakerweb import — import .snk files into your sneakerweb collection
- sneakerweb import — 将 .snk 文件导入到你的 sneakerweb 收藏中
- sneakerweb block — block domains you don’t want to import or propagate
- sneakerweb block — 屏蔽你不希望导入或传播的域名
- sneakerweb serve — start a local server to browse your collection from your web browser
- sneakerweb serve — 启动本地服务器,以便在网页浏览器中浏览你的收藏
You can download the sneakerweb CLI here. 你可以在此处下载 sneakerweb CLI。
Protocol specification
协议规范
The command-line interface is just one client for the fully specified sneakerweb protocol. This protocol builds upon Willow, which is used to prevent the forgery of websites, merge updated data, and create efficient and compact .snk files. 命令行界面只是完整定义的 sneakerweb 协议的客户端之一。该协议基于 Willow 构建,用于防止网站伪造、合并更新数据,并创建高效且紧凑的 .snk 文件。