Here’s an example of how to repost content hosted in a git repository published by cgit on the web to a wiki using the titan script that comes with Phoebe:
#!/bin/bash files=(specification.gmi faq.gmi best-practices.gmi) names=(Specification FAQ Best%20Practices) for i in "${!files[@]}"; do curl --silent https://alexschroeder.ch/cgit/gemini-spec/plain/${files[$i]} \ | titan --token=hello titan://transjovian.org/gemini/raw/${names[$i]} done