To test Gemini I setup Agate, a Rustlang server.
First I added a rule to my firewall, ufw:
$ sudo allow from 127.0.0.1 to 127.0.0.1 port 1965 proto tcp
Then I installed Agate:
$ cargo install agate
Then I made a folder, and made an 'index.gmi' inside it. I typed the following command:
agate --content /path/to/content/agate_public \ --addr 127.0.0.1:1965 \ --hostname localhost \ --lang en-US
I opened Lagrange to 'gemini://localhost' and the contents of 'index.gmi' appeared. To close agate, I ctrl-c'd into the terminal where it was running.
THE END
5 months ago ยท ๐ innerteapot, warpengineer, justyb
How about publishing the server via tor onion? ยท 5 months ago