Deuxfleurs patches for alps webmail (from https://sr.ht/~migadu/alps/)
Go to file
Drew DeVault 1cf95af41e
Add <meta refresh> to mailbox view
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.
2020-05-13 16:58:48 +02:00
cmd/alps Rename project to alps 2020-05-13 14:07:44 +02:00
contrib Rename project to alps 2020-05-13 14:07:44 +02:00
docs Rename project to alps 2020-05-13 14:07:44 +02:00
plugins Add <meta refresh> to mailbox view 2020-05-13 16:58:48 +02:00
themes Add <meta refresh> to mailbox view 2020-05-13 16:58:48 +02:00
.build.yml ci: add .build.yml 2020-03-18 14:04:37 +01:00
.editorconfig editorconfig: add more settings 2020-03-18 15:13:51 +01:00
.gitignore themes/alps: new theme 2020-03-19 18:03:13 +01:00
discover.go Rename project to alps 2020-05-13 14:07:44 +02:00
go.mod plugins/caldav: switch to path-based URLs 2020-05-13 16:48:03 +02:00
go.sum plugins/caldav: switch to path-based URLs 2020-05-13 16:48:03 +02:00
imap.go Rename project to alps 2020-05-13 14:07:44 +02:00
LICENSE Correct license ownership 2019-12-03 07:48:25 -05:00
plugin.go Rename project to alps 2020-05-13 14:07:44 +02:00
plugin_go.go Rename project to alps 2020-05-13 14:07:44 +02:00
README.md readme: suggest using the alps theme instead of the SourceHut one 2020-05-13 16:12:46 +02:00
renderer.go Add <meta refresh> to mailbox view 2020-05-13 16:58:48 +02:00
server.go Rename project to alps 2020-05-13 14:07:44 +02:00
session.go Rename project to alps 2020-05-13 14:07:44 +02:00
smtp.go Rename project to alps 2020-05-13 14:07:44 +02:00
store.go Rename project to alps 2020-05-13 14:07:44 +02:00

alps

GoDoc

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