A webmail client. Forked from https://git.sr.ht/~migadu/alps
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
Simon Ser 76599232dc
Add a Lua API to set template filters
4 anni fa
cmd/koushin Add basic theme support 4 anni fa
public Drop define in templates 4 anni fa
.gitignore Add .gitignore 4 anni fa
LICENSE Correct license ownership 4 anni fa
README.md Add basic support for plugins 4 anni fa
conn_pool.go Add basic pagination to message list 4 anni fa
go.mod Add basic support for plugins 4 anni fa
go.sum Add basic support for plugins 4 anni fa
handlers.go Make render data static 4 anni fa
imap.go Use imap.BodyStructure.Filename and imap.Address.Address 4 anni fa
plugin.go Add a Lua API to set template filters 4 anni fa
server.go Add a Lua API to set template filters 4 anni fa
smtp.go Add basic pagination to message list 4 anni fa
strconv.go Add basic pagination to message list 4 anni fa
template.go Add a Lua API to set template filters 4 anni fa

README.md

koushin

Usage

go run ./cmd/koushin imaps://mail.example.org:993 smtps://mail.example.org:465

See -h for more information.

Themes

They should be put in public/themes/<name>/.

Templates in public/themes/<name>/*.html override default templates in public/*.html. Assets in public/themes/<name>/assets/* are served by the HTTP server at themes/<name>/assets/*.

Plugins

Lua plugins are supported. They can be dropped in plugins/*.lua.

For now only a single hook is supported: render(name, data). If defined, this Lua function will be called prior to rendering a template.

License

MIT