Deuxfleurs patches for alps webmail (from https://sr.ht/~migadu/alps/)
1cf95af41e
This causes the mailbox to automatically reload the page every 60 seconds, without JavaScript. This also updates the base template data to include the full URL, and replaces the earlier "Path" field with a pre-split array of path components, which is more immediately useful to most templates given the limitations of string munging with text/template primitives. |
||
---|---|---|
cmd/alps | ||
contrib | ||
docs | ||
plugins | ||
themes | ||
.build.yml | ||
.editorconfig | ||
.gitignore | ||
discover.go | ||
go.mod | ||
go.sum | ||
imap.go | ||
LICENSE | ||
plugin.go | ||
plugin_go.go | ||
README.md | ||
renderer.go | ||
server.go | ||
session.go | ||
smtp.go | ||
store.go |
alps
A simple and extensible webmail.
Usage
Assuming SRV DNS records are properly set up (see RFC 6186):
go run ./cmd/alps example.org
To manually specify upstream servers:
go run ./cmd/alps imaps://mail.example.org:993 smtps://mail.example.org:465
Add -theme alps
to use the alps theme. See docs/cli.md
for more
information.
When developing themes and plugins, the script contrib/hotreload.sh
can be
used to automatically reload alps on file changes.
Contributing
Send patches on the mailing list, report bugs on the issue tracker.
License
MIT