diff options
| author | Christian Cleberg <[email protected]> | 2026-08-02 15:29:32 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-08-02 15:29:32 -0500 |
| commit | 32d1cae0e4c8b37aec2fcd58dcc281f16364e6f9 (patch) | |
| tree | e77f92f358da1f26ab670af0cb81d904e4f5c64e /README.nfo | |
| parent | f062c56bf5148355fc8db71107a7a32802967e28 (diff) | |
| download | hn-32d1cae0e4c8b37aec2fcd58dcc281f16364e6f9.tar.gz hn-32d1cae0e4c8b37aec2fcd58dcc281f16364e6f9.tar.bz2 hn-32d1cae0e4c8b37aec2fcd58dcc281f16364e6f9.zip | |
convert readme to nfo; convert docs to txt; relicense to 0bsd
Diffstat (limited to 'README.nfo')
| -rw-r--r-- | README.nfo | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/README.nfo b/README.nfo new file mode 100644 index 0000000..d498d9f --- /dev/null +++ b/README.nfo @@ -0,0 +1,51 @@ +┌──────────────────────────────────────────────────────────────┐ +│ H N [ KRZ ] krz.sh │ +└──────────────────────────────────────────────────────────────┘ + +WHAT + front-end alternative for hacker news. php. no tracking. + +REQUIRES + a web server (nginx or apache), php 8.0+, optional minify. + +INSTALL + sudo apt install nginx-full php php-cgi php-fpm minify + git clone $repo_url + + minify css after changes: + + minify -o static/styles.min.css static/styles.css + +DEPLOY + copy the code to your webroot. route all errors to index.php. + + nginx: + + location / { + try_files $uri $uri/ /index.php?$args; + } + + apache (.htaccess): + + FallbackResource /index.php + +BUILT WITH + php, html, minify (for css). + +TODO + - recursive descendant comment threads + - polls (ConstructPoll) + - pagination / load more + +CONTRIBUTING + see CONTRIBUTING.txt and CODE_OF_CONDUCT.txt. + +VERSIONING + none. read the git log. + +LICENSE + 0bsd. see LICENSE.md. + +┌──────────────────────────────────────────────────────────────┐ +│ krz.sh │ +└──────────────────────────────────────────────────────────────┘ |
