This is the static site generator for the Internet Radio Station Directory in Gemini space.
Quick start
Requirements
Go 1.15 (might work with older versions too, but I didn't test it)
A Gemini server which can serve the content (I use agate, written in Rust)
Install and run
# Clone the project
$ git clone https://git.sr.ht/~louis77/gemini.tunerapp.org
$ cd gemini.tunerapp.org
# Pass the directory to where all the files should be
# saved to as the only argument
$ go run . ~/content
2021/02/11 12:06:33 Fetching countries...
2021/02/11 12:06:33 Fetching all stations...
2021/02/11 12:06:36 Generating country Afghanistan...
2021/02/11 12:06:36 Generating country Albania...
2021/02/11 12:06:36 Generating country Algeria...
...
gemini.tunerapp.org is an experiment to learn how to run services in Gemini space. This is version 1. I'm currently working on version 2, which will dynamically serve the content and add search capabilities.
About Gemini
Learn about the Gemini project in these nice videos: