Show HN: Storage.to 命令行工具,上传文件,获取链接

1作者: rsbadger20 天前
我一直遇到一个令人烦恼的问题:我希望通过脚本上传文件,然后直接获得一个链接——无需设置 S3 存储桶、身份验证流程或 SDK。 我构建了一个小型服务 + CLI 来解决这个问题: [https://storage.to](https://storage.to) [https://github.com/ryanbadger/storage.to-cli](https://github.com/ryanbadger/storage.to-cli) CLI 负责繁重的工作(自动进行单次 PUT 与分块上传),所以使用起来的思维模型是这样的: ``` storageto upload huge-file.zip ``` → 打印一个公共链接,你可以将其传递给下一步。 它还处于早期阶段,并且有意保持简单: * 匿名上传(尚未注册) * 公共链接 * CLI 自动将多个文件分组到一个集合中 这主要用于快速、临时的共享和脚本工作流程,在这些场景中,设置存储桶感觉像是过度设计。 我发布这篇文章主要是为了验证这是否解决了真正的工作流程问题,或者大多数人是否已经有更清晰的解决方案。
查看原文
I kept running into the same annoyance: I want to upload a file from a script and just get a link back — without setting up S3 buckets, auth flows, or SDKs.<p>I built a small service + CLI to scratch that itch:<p><a href="https:&#x2F;&#x2F;storage.to" rel="nofollow">https:&#x2F;&#x2F;storage.to</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;ryanbadger&#x2F;storage.to-cli" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ryanbadger&#x2F;storage.to-cli</a><p>The CLI does the heavy lifting (single PUT vs multipart automatically), so the mental model is just:<p><pre><code> storageto upload huge-file.zip </code></pre> → prints a public link you can pass to another step.<p>It’s very early and intentionally simple: - Anonymous uploads (no signup yet) - Public links - CLI groups multiple files into a collection automatically<p>This is meant for quick, ad-hoc sharing and scripted workflows where setting up buckets feels like overkill.<p>I’m posting mainly to sanity-check whether this solves a real workflow problem, or if most people already have a cleaner pattern for this.