Small self-contained pure-Go web server with Lua, Teal, Markdown, Ollama, HTTP/2, QUIC, Redis and PostgreSQL support
.prompt
files that contains a content-type, a model name, a blank line and a prompt. See README.md
for more information.ClearCache()
.TUTORIAL.md
).alg2docker
script.algernon -m
.servedir
Lua function check the given arguments.orsinium-labs/enum
package for an enum in logo_unix.go
.bmizerany/assert
.dkorunic/betteralign
utility to align struct fields.alg2docker
and benchmark scripts.GOEXPERIMENT=loopvar
feature.-tags=trace
, for benchmarking.welcome.sh
script with regard to ulimit
and sysctl kern.maxfiles
detection.--help
output and the REPL help.Makefile
.README.md
file (thanks Philipp Gillé / @philippgille)..alg
files) from memory if /dev/shm
is writable, ref #132 (thanks Dialga / @Dialga).github.com/xyproto/env
to github.com/xyproto/env/v2
..json
files a tiny bit faster.blackfriday
to gomarkdown/markdown
.markdown
function.close()
function, ref #124 (thanks Malcolm Ke Win / @diyism).handler.lua
in parent directories, ref #95, #112 and #130 (thanks Giulio Lunati / @giuliolunati).os
and io
instead of the deprecated ioutil
package.any
instead of interface{}
.unix
build constraint.strings.ReplaceAll
and bytes.ReplaceAll
.simpleredis/v2
.math.Round
.ulimit
check to the welcome.sh
script that also works on macOS Ventura.gofumpt
, golint
and staticcheck
.betteralign
tool, to improve struct field alignment.%2F
would appear in the URL instead of /
, ref #117.go fmt
, golint
, staticcheck
and to some extent fieldalignment
.req.Context
since CloseNotifier
has been deprecated--help
outputserve2
function so that the registration form example workspwd
, serverdir
and serverfile
ServerDir
function for the server configuration Lua scriptgo vet
, golint
and staticcheck