antonmedv / antonmedv/gitmal

A single zip archive instead of multiple files

Ouverte
#9 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
feature
Langage dominant
Go
Étoiles
1.3k
Forks
50
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.