Files
tldr/pages.zh/common/agate.md

16 lines
363 B
Markdown

# agate
> 一个用于Gemini网络协议的简单服务器。
> 更多信息:<https://github.com/mbrubeck/agate>。
- 运行并生成私钥和证书:
`agate --content {{path/to/content/}} --addr {{[::]:1965}} --addr {{0.0.0.0:1965}} --hostname {{example.com}} --lang {{en-US}}`
- 运行服务器:
`agate {{path/to/file}}`
- 显示帮助:
`agate -h`