Files in the top-level directory from the latest check-in
- pharos
- src
- clean.sh
- config.m4
- make.sh
- readme.txt
PHAROS by Ben Collver <bencollver@tilde.pink>
=============================================
* Description
* Requirements
* Configuration
* Installation
Description
===========
Pharos is a gopher front-end to the Internet Archive written in AWK.
It is named after the light-house island near Alexandria.
For a description and screenshots from an earlier version, see my
post linked below.
<gopher://tilde.pink/1/~bencollver/log/
2024-07-30-pharos-gopher-frontend-to-internet-archive/>
<https://gopher.tildeverse.org/tilde.pink/1/~bencollver/log/
2024-07-30-pharos-gopher-frontend-to-internet-archive/>
Requirements
============
* Runs under the Geomyidae gopher server.
<gopher://bitreich.org/1/scm/geomyidae/log.gph>
* Written in AWK. Tested using busybox awk.
* Commands used:
* env, mktemp, rm, strings, xargs
* curl <https://curl.se/>
* json2tsv <gopher://codemadness.org/1/phlog/json2tsv/>
* webdump <gopher://codemadness.org/1/phlog/webdump/>
Configuration
=============
To set configuration variables, edit config.m4
AWK_EXT allows use of non-standard features in gawk and mawk
BLOCKLIST is a file to block by IP address, one regex per line
CACHE_ENABLED caches content in sqlite to reduce API calls
Installation
============
Installation depends on m4.
$ sh clean.sh
$ sh make.sh
Copy pharos/ into place