构建 DownloadStuffs:面向 Internet Archive 的现代 UI
发布: (2026年1月19日 GMT+8 07:16)
2 min read
原文: Dev.to
Source: Dev.to
Introduction
Internet Archive 是网络上最有价值的公共图书馆之一,但高效使用它却出乎意料地困难。浏览缓慢、无法明确判断“最佳”文件、下载经常中断,以及对多文件项目(系列、播放列表)的糟糕用户体验,都是常见的痛点。为了解决这些问题,我构建了 DownloadStuffs,一个现代的开源界面,专注于速度、清晰度和可靠下载。
Live demo: (link not provided in the original post)
Pain Points with Archive.org UI
- Performance 在大结果集上的表现
- 在众多格式中发现正确文件的困难
- 缺乏对长篇或连载内容的预览
- 现代浏览器中下载不可靠(CORS、超时)
这些摩擦对开发者和终端用户都会造成累积影响。
DownloadStuffs Overview
DownloadStuffs 围绕三个核心原则设计:
- Speed(速度)
- Clarity(清晰)
- Completion(完整)
Core Principles
Speed
- 使用媒体类型过滤和排序的快速搜索
- 页面内视频/音频预览
Clarity
- 带键盘控制的播放列表队列
- 对多文件项目的清晰 UI
Completion
- 可靠的下载代理(无 CORS 问题)
- 对多文件项目的批量 ZIP 下载
Features
- Search:IA Advanced Search API
- Metadata:IA Metadata API
- Streaming:直接 IA 下载端点
- Streaming ZIP generation 与 proxying large files
Technical Stack
- Backend:Bun + TypeScript
- Frontend:Vite + modern SPA routing
- Deployment:Vercel
Open Source
- Repository: (link not provided in the original post)
- Live site: (link not provided in the original post)
欢迎提供反馈、想法和贡献 🚀