--- /dev/null
+image: alpine/edge
+secrets:
+ - 5752743f-34af-46a8-aad9-b5d31e305b3b
+tasks:
+ - ssh: |
+ ssh -o StrictHostKeyChecking=no -p 23 web@armaanb.net "web-update-server lightcards-gemini"
--- /dev/null
+lightcards*.*.gmi
--- /dev/null
+--------------------------------------------------------------------------------\r
+\r
+title: lightcards-config section: 5 header: File Formats Manual footer: VERSION_HERE date: February 2021\r
+\r
+--------------------------------------------------------------------------------\r
+\r
+# NAME\r
+\r
+lightcards-config - configuration file formats for **lightcards(1)**\r
+\r
+# CONFIGURATION\r
+\r
+Configuration is done through the config.py file. This is an executed Python script and must have valid Python syntax. Whilst this does have some drawbacks of being stricter on syntax, it also allows you to do things such as appending values to lists instead of overwriting them, and using logic within the configuration through actual Python code.\r
+\r
+Copy the global config file from /etc/lightcards/config.py to ~/.config/lightcards/config.py or $XDG_CONFIG_HOME/lightcards/config.py and make modifications! All possible options are listed in the global config file.\r
+\r
+# SEE ALSO\r
+\r
+**lightcards(1)**
--- /dev/null
+Lightcards Gemini capsule
+Copyright © 2021 Armaan Bhojwani
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--- /dev/null
+.DEFAULT_GOAL := minify
+
+minify:
+ ./convert
--- /dev/null
+# Lightcards Gemini capsule
+
+Gemini capsule for [lightcards](https://git.sr.ht/~armaan/lightcards)
+
+## License
+Copyright 2021 Armaan Bhojwani, MIT license.
--- /dev/null
+#!/usr/bin/env bash
+
+curl -O https://git.sr.ht/~armaan/lightcards/blob/main/man/lightcards.1
+curl -O https://git.sr.ht/~armaan/lightcards/blob/main/man/lightcards-config.5
+
+find . -type f -name 'lightcards**' -not -name '*gmi*' | \
+ while read i; do
+ base=$(basename ${i} | cut -d '.' -f -2)
+ pandoc ${i} -t markdown | md2gemini > ${base}.gmi
+ sed -i -e 's/[*]//g' -e 's/^\: */ /g' ${base}.gmi
+ rm ${i}
+ done
--- /dev/null
+# lightcards
+A terminal flashcards program that gets its data from Markdown.
+
+=>https://sr.ht/~armaan/lightcards Source code
+=>https://lists.sr.ht/~armaan/public-inbox Mailing list
+=>https://pypi.org/project/lightcards PyPI
+
+## Installation
+Lightcards is only tested and maintained on Linux. Support for other Unix-like operating systems such as MacOS and the various BSDs is likely, although untested. Lightcards requires Python 3.9.
+
+### From PyPI
+```sh
+pip install lightcards
+```
+
+### From Git
+Main branch (stable)
+```sh
+pip install git+https://git.sr.ht/~armaan/lightcards
+```sh
+
+Development branch
+```sh
+pip install git+https://git.sr.ht/~armaan/lightcards@devel
+```
+
+## Manpages
+=>lightcards.1.gmi lightcards(1)
+=>lightcards-config.5.gmi lightcards-config(5)
+
+## Gallery
+=>1.webp screenshot 1 (image/webp)
+=>2.webp screenshot 2 (image/webp)
+=>3.webp screenshot 3 (image/webp)
+
+## Copyright
+Copyright 2021 Armaan Bhojwani, MIT license.