antonmedv / antonmedv/gitmal

A single zip archive instead of multiple files

未关闭
#9 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature
主要语言
Go
星标
1.3k
派生
50
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。