about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-02-25 21:52:55 -0500
committerZach DeCook <zachdecook@librem.one>2021-02-25 21:52:55 -0500
commitcd5bdeb7d4fa9098baca5a5754ab4e6db0146e65 (patch)
treefe7348b0c377e75a62a652cd32da0e26ab0919a8 /README.md
parent1e5cb63591fbb2745e34a15e076d111e87b6432b (diff)
downloadthml2gmi-master.tar.gz
docs: add readme which serves as gemtext index HEAD master
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..22d02fd
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# Theological Markup Language to Gemtext
+
+Parses ThML XML and returns gemtext.
+
+Due to ThML's structure these converted documents have very nice section headings.
+
+This probably contains some bugs.
+
+## Usage
+
+```sh examples of how to use this program
+# Download and convert John Owen's "The Mortification of Sin" into a local gemtext file
+curl https://ccel.org/ccel/owen/mort.xml | ./thml2gmi.py /dev/stdin > mort.gmi
+# Get an outline to a good confession of faith
+wget https://ccel.org/anonymous/bcf.xml
+./thml2gmi.py bcf.xml | grep '^#'
+
+```
+
+## Links
+
+=> LICENSE.gmi Licensed under AGPLv3
+
+=> thml2gmi.py Read the source code
+
+=> https://git.sr.ht/~earboxer/thml2gmi Source code repository