-- Leo's gemini proxy
-- Connecting to transjovian.org:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
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
-- Response ended
-- Page fetched on Sun May 19 07:57:26 2024