antonmedv / antonmedv/gitmal

A single zip archive instead of multiple files

オープン
#9 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。