展示HN:Sairo – 自托管的S3浏览器,支持在134,000个对象中以2.4毫秒的速度搜索
我开发 Sairo 是因为在 AWS S3 控制台中搜索文件在大型存储桶中大约需要 14 秒,而 MinIO 去年将其免费版的网页控制台移除了。
Sairo 是一个单一的 Docker 容器,它将您的存储桶索引到 SQLite FTS5 中,并在 2.4 毫秒(p50)的时间内提供对 134K 对象 / 38 TB 的全文搜索。无需外部数据库,无需微服务,无需消息队列。
它的功能包括:
- 在所有对象中进行即时搜索(SQLite FTS5,每秒索引 1,300 个对象)
- 支持 45 种以上格式的文件预览 — Parquet 模式、CSV 表格、PDF、图像、代码
- 带有过期时间的密码保护分享链接
- 版本管理 — 浏览、恢复、清除版本和删除标记
- 存储分析,带有增长趋势图
- RBAC、双因素认证、OAuth、LDAP、审计日志
- 提供 24 个命令的命令行界面(使用 brew install ashwathstephen/sairo/sairo)
支持 AWS S3、MinIO、Cloudflare R2、Wasabi、Backblaze B2、Ceph 以及任何 S3 兼容的端点。
```bash
docker run -d -p 8000:8000 \
-e S3_ENDPOINT=https://your-endpoint.com \
-e S3_ACCESS_KEY=xxx -e S3_SECRET_KEY=xxx \
stephenjr002/sairo
```
网站: [https://sairo.dev](https://sairo.dev)
GitHub: [https://github.com/AshwathStephen/sairo](https://github.com/AshwathStephen/sairo)
我非常希望得到诚实的反馈 — 还有什么缺失的?什么能让您真正切换到这个工具?
查看原文
I built Sairo because searching for a file in the AWS S3 console takes ~14 seconds
on a large bucket, and MinIO removed their web console from the free edition last year.<p>Sairo is a single Docker container that indexes your bucket into SQLite FTS5 and
gives you full-text search in 2.4ms (p50) across 134K objects / 38 TB. No external
databases, no microservices, no message queues.<p>What it does:
- Instant search across all your objects (SQLite FTS5, 1,300 objects/sec indexing)
- File preview for 45+ formats — Parquet schemas, CSV tables, PDFs, images, code
- Password-protected share links with expiration
- Version management — browse, restore, purge versions and delete markers
- Storage analytics with growth trend charts
- RBAC, 2FA, OAuth, LDAP, audit logging
- CLI with 24 commands (brew install ashwathstephen/sairo/sairo)<p>Works with AWS S3, MinIO, Cloudflare R2, Wasabi, Backblaze B2, Ceph, and any
S3-compatible endpoint.<p><pre><code> docker run -d -p 8000:8000 \
-e S3_ENDPOINT=https://your-endpoint.com \
-e S3_ACCESS_KEY=xxx -e S3_SECRET_KEY=xxx \
stephenjr002/sairo
</code></pre>
Site: <a href="https://sairo.dev" rel="nofollow">https://sairo.dev</a>
GitHub: <a href="https://github.com/AshwathStephen/sairo" rel="nofollow">https://github.com/AshwathStephen/sairo</a><p>I'd love honest feedback — what's missing, what would make you actually switch to this?