SMOLNET PORTAL home about changes
๐Ÿ‘ฝ chime_23

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

1 year ago ยท ๐Ÿ‘ innerteapot, warpengineer, justyb


[1] gemini://localhost (localhost)

Actions


๐Ÿ‘‹ Join Station


1 Reply


๐Ÿ‘ฝ tamatama

How about publishing the server via tor onion? ยท 1 year ago

Response: 20 (Success), text/gemini
Original URLgemini://station.martinrue.com/chime_23/d5530d70c67b48479...
Status Code20 (Success)
Content-Typetext/gemini; charset=utf-8