| View source | |
| # 2025-11-11 - Coprolit For Gopher & Fossil SCM | |
| Just for fun, i wrote coprolit.awk, a static page generator for | |
| gopher and fossil SCM. It is loosely modeled on stagit-gopher. | |
| It depends on awk, fossil, and webdump being in your path. | |
| Why didn't i just export to git and use stagit-gopher? Because i | |
| like fossil SCM and it's more fun to write new code. | |
| How to use it? The first step is to clone to a local repository. | |
| Then run coprolit.awk with the desired options to generate | |
| gophermaps. | |
| The script parses the plain text output from fossil commands and | |
| generates the gophermaps. I made an effort to show which commands | |
| the information came from in the "References" section at the bottom | |
| of the gophermap files. | |
| You can view the source code in the Files section of the item | |
| below. | |
| Coprolit | |
| As an example, when i posted this, i ran the following commands. | |
| ben@rainbow:~/coprolit$ awk -f coprolit.awk ../coprolit.fossil \ | |
| '~/bencollver/fossil/coprolit' --server tilde.pink \ | |
| --dir coprolit --format geomyidae | |
| Then i copied the "coprolit" directory into place on the server. | |
| tags: bencollver,technical,unix | |
| # Tags | |
| bencollver | |
| technical | |
| unix |