From 4110a4df25170289dce8690a572d26c58063adb9 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 14 Jun 2020 21:48:20 +0800 Subject: Humanized file sizes Includes hurry.filesize dep and its license ZPL-2.0 --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 34523b6..fdc7f36 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Dependencies: - relatively new version of Python (3.8.3 personally) - pygit2 (`pip install pygit2`) +- hurry.filesize (`pip install hurry.filesize`) - a gemini server capable of serving CGI You need to edit the shebang of `git-gmi/cgi`: @@ -51,4 +52,8 @@ Then, if you use Jetforce, run: $ jetforce --dir /path/to/gemini --cgi-dir git [other arguments] ``` -Access your instance at `gemini://your-domain-or-ip/git/cgi/`. Don't forget the trailing slash. \ No newline at end of file +Access your instance at `gemini://your-domain-or-ip/git/cgi/`. Don't forget the trailing slash, because jetforce is not capable of telling git.gmi its existence, potentially messing up relative links. + +## Licensing's a Bitch + +`hurry.filesize` is licensed under ZPL-2.0. I'm obligated, on ZPL-2.0's terms, to include it. I am once again ~~asking~~ begging you to use permissive licenses like a normal human being. \ No newline at end of file -- cgit v1.2.3