tech 8227f36cbe refactor: organize tests and extract formatting utilities
- Move test files to lib/__tests__/ directory
- Extract formatting utilities (formatVersion, formatFileSize, formatDateTime)
  from fs-utils.ts to new utils.ts module
- Add Jest test configuration and test scripts
- Update component imports to use new utils module
- Add CLAUDE.md documentation for project structure

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 02:33:30 +08:00
2026-03-04 02:16:35 +08:00

资源下载网站

基于 Next.js 构建的内网 APK 资源下载工具。

功能

  • 按项目、版本搜索 APK 文件
  • 支持按 commit id 过滤
  • 简单的用户认证
  • 简洁美观的界面

开发

npm install
npm run dev

访问 http://localhost:3000

环境变量

.env.local 中配置:

AUTH_USERNAME=admin
AUTH_PASSWORD=changeme
RESOURCE_PATH=/Users/tech/workspace/n3-world/handy-tools/ftdl

构建

npm run build
npm start

资源目录结构

RESOURCE_PATH/
├── FT/
│   ├── 0_42/
│   │   └── apks/
│   │       └── *.apk
│   └── 0_44/
│       └── apks/
│           └── *.apk
├── FT_DEV/
│   └── ...
└── FT_Rustore/
    └── ...
Description
基于 Next.js 构建的内网 APK 资源下载工具。
Readme 174 KiB
Languages
TypeScript 97.2%
JavaScript 1.9%
CSS 0.9%