antonmedv / antonmedv/gitmal

A single zip archive instead of multiple files

Offen
#9 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature
Vorherrschende Sprache
Go
Sterne
1.3k
Forks
50
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.