TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Fast URL-to-[QR,Code39,Data Matrix] in Rust

2 点作者 lionpixel大约 2 个月前
Hey HN,<p>I wanted to share a side project I built recently: gen.printercow.com. It&#x27;s a simple free web service that generates QR codes, Code39, and Data Matrix barcodes just by visiting a URL.<p>Example 1: <a href="https:&#x2F;&#x2F;gen.printercow.com&#x2F;code39&#x2F;svg&#x2F;HELLO-WORLD" rel="nofollow">https:&#x2F;&#x2F;gen.printercow.com&#x2F;code39&#x2F;svg&#x2F;HELLO-WORLD</a> Example 2: <a href="https:&#x2F;&#x2F;gen.printercow.com&#x2F;qr&#x2F;svg&#x2F;HELLO-WORLD" rel="nofollow">https:&#x2F;&#x2F;gen.printercow.com&#x2F;qr&#x2F;svg&#x2F;HELLO-WORLD</a><p>This started as an exercise to deepen my understanding of Rust (using the Salvo framework). It also fills a small gap I needed for my main project, Printercow.com (which lets you print things like AI chats on thermal printers). I needed a quick, reliable way to embed barcodes dynamically without adding heavy dependencies client-side.<p>Performance &amp; Hosting: It seems quite fast! It&#x27;s currently hosted on a small server in Frankfurt, Germany. From within Europe, I&#x27;m seeing response times typically around 25-30ms. Obviously, latency will be higher from other regions.<p>Privacy: No content you encode, IP addresses, or other PII are logged. The only thing tracked is an anonymous, in-memory counter for each barcode type generated (to see what&#x27;s popular).<p>I&#x27;d love to get your feedback, hear about any bugs you find, or discuss potential features (other barcode types?). If you find it useful but experience high latency, let me know which region you&#x27;d like to see a server added next (e.g., US-East, APAC?).<p>Thanks for checking it out!

暂无评论

暂无评论