antonmedv / antonmedv/gitmal

A single zip archive instead of multiple files

Đang mở
#9 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature
Ngôn ngữ chính
Go
Star
1.3k
Fork
50
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

There is this [redbean](https://redbean.dev/) beast that is able to serve static file from itself as it is an exe and a zip archive at the same time.
It can be manipulated with standard tool: `zip -u redbean.zip index.html` (it has to be named with ".zip" extension)
Then run as a standalone program : `./redbean.zip` and it will serve the entries in the zip archive.

So, if gitmal was able to write the generated pages into a zip instead of on the filesystem, this could provide a very elegant solution to distribute the content as a standalone asset. And it is not only for redbean but for any tool that is able to serve the content of a zip archive.

Not only zip archives are compressed but also more compact than files in a FS, for which a file is a multiple of 4KB.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.