5 Commits

Author SHA1 Message Date
Alexey Olendor 19edc9df14 feat: add packed archive support with brotli compression, add configuration and more
Add support for serving assets from packed binary archives with brotli compression.

New features:
- `packer_brotli.py`: Pack vcsky/vcbr folders into single .bin archive with brotli compression (quality 11)
- `downloader_brotli.py`: Stream unpack archives during download
- `--packed` flag: Serve files directly from archive (supports local files and URLs)
- `--unpacked` flag: Extract archive to `unpacked/{hash}/` and serve from there
- `--vcsky_local` / `--vcbr_local`: Now accept optional custom paths
- MD5 hash detection: Pass existing folder hash directly to `--unpacked`
- `--pack` for packing

Archive format:
- ULEB128 length encoding for compact size
- Folder/file deduplication (identical content stored once)
- Parallel compression with ProcessPoolExecutor

and much more, like ?configurable=1

and auto language detection fix, ...
2025-12-27 10:41:45 +03:00
Alexey Olendor 0f588a5c89 fix: raw brotli streaming, add vcsky/vcbr cache options
- Fix proxy to pass raw brotli bytes without decoding (aiter_raw)
- Add get_local_file() for unified file serving with proper headers
- Replace StaticFiles with custom handlers for vcsky/vcbr locals
- Add --vcsky_cache and --vcbr_cache flags for hybrid mode
- Update README and docker-compose with new cache options
2025-12-25 02:10:06 +03:00
Alexey Olendor 19a20f714e Add more features!
local saves, run params (auth, urls, isLocal and etc), http auth (optional)
2025-12-24 05:03:28 +03:00
sonkai-dev 40f32df207 Update docker-compose.yml 2025-12-24 01:21:07 +01:00
Alexey Olendor 9178842251 Docker added
docker compose up -d
2025-12-24 02:53:15 +03:00