mai/mai.ini.5
yakumo.izuru 29e1e11c63 PixivFEからいくつか輸入しました
リクエストリミッターを構成可能にする
マニュアルページを更新する
エラーページを改善する
GoFiber v2.52.0 へのアップデート

Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: https://svn.yakumo.dev/yakumo.izuru/mai/trunk@70 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
2024-02-12 02:42:11 +00:00

41 lines
973 B
Groff

.Dd $Mdocdate$
.Dt MAI.INI 5
.Os
.Sh NAME
.Nm mai.ini
.Nd Configuration file for Mai
.Sh OPTIONS
.Ss [mai] section
.Bl -tag -width 11n
.It danmaku (int)
Control the maximum amount of requests
before a ratelimit happens
.It listen (string)
HTTP port for the server to listen.
Default is "localhost:5000"
.It static (string)
Directory where the static resources are located.
Default is "./static"
.It templates (string)
Directory where the templates are located.
Default is "./views"
.El
.Sh ENVIRONMENT
.Bl -tag -width 11n
.It Ev MAI_LIBRETRANSLATE_INSTANCE
LibreTranslate instance to use, it's required for the engine to work.
.It Ev MAI_LIBRETRANSLATE_API
LibreTranslate API key for the above setting, it may or
may not be required, depending on the instance.
.El
.Sh FILES
.Pa /usr/local/etc/mai/mai.ini
.Sh SEE ALSO
.Xr mai 1
.Sh AUTHORS
.An fattalion
.An metalune
.An ManeraKai Lk https://manerakai.com
.Sh MAINTAINERS
.An Izuru Yakumo Aq Mt yakumo.izuru@chaotic.ninja