1作者: ncts4 个月前
我之所以构建它,是因为我觉得把“风险自担”页面做成“服务”会很有趣。<p>它能让你生成在子域名(你的东西.atyourownri.sk)上提供的讽刺性免责声明页面。你可以选择两种风格:冷幽默或法律术语。从精心挑选的风险条款列表中选择,或者自己编写。然后,你的“风险自担”页面就上线了。<p>法律术语风格读起来就像真正的SaaS条款页面,直到你注意到它用抛硬币来解决争议。冷幽默风格则只是默默地盯着你。<p>几个例子:<a href="https:&#x2F;&#x2F;this-side-project.atyourownri.sk" rel="nofollow">https:&#x2F;&#x2F;this-side-project.atyourownri.sk</a>(法律术语)和<a href="https:&#x2F;&#x2F;my-sourdough-starter.atyourownri.sk" rel="nofollow">https:&#x2F;&#x2F;my-sourdough-starter.atyourownri.sk</a>(冷幽默)。<p>技术栈:Cloudflare Workers &amp; D1,TypeScript。使用resvg-wasm进行OG图片渲染。其他部分都是手写的。<p>在<a href="https:&#x2F;&#x2F;github.com&#x2F;abslynowarranty&#x2F;atyourownri.sk" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abslynowarranty&#x2F;atyourownri.sk</a>查看源代码<p>它完全、彻底、在法律上毫无用处。请自担风险使用。
3作者: dimastopel4 个月前
早在 2012 年,我利用周末时间构建了 <a href="https:&#x2F;&#x2F;cert-depot.com" rel="nofollow">https:&#x2F;&#x2F;cert-depot.com</a>。它基于 Node.js + Express + jQuery,通过调用 OpenSSL 来生成证书。虽然它能运行,但我最终放弃了维护。 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4766743">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4766743</a> 现在我用 Go 从头重写了它。整个项目是一个没有外部依赖的单一二进制文件: 1. 证书生成使用 Go 的 crypto/x509 库(不再依赖 OpenSSL) 2. 证书在内存中生成并直接流式传输——服务器上不存储任何内容 3. 支持 RSA 2048/4096 和 ECDSA P-256/P-384 4. 支持主题备用名称(自 Chrome 58 以来,浏览器要求必须有此项) 5. 输出格式:ZIP (PEM 文件) 或 PFX/PKCS#12 欢迎提出您的评论、建议和错误报告。感谢! 源代码:<a href="https:&#x2F;&#x2F;github.com&#x2F;dimastopel&#x2F;certdepot" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dimastopel&#x2F;certdepot</a>