2017-08-21 18:33:41 +03:00
|
|
|
# hydroxide
|
2017-09-03 21:21:22 +03:00
|
|
|
|
2017-12-03 13:32:33 +02:00
|
|
|
A third-party, open-source ProtonMail bridge. For power users only, designed to
|
|
|
|
run on a server.
|
|
|
|
|
2018-01-13 12:40:21 +02:00
|
|
|
hydroxide supports CardDAV, IMAP and SMTP.
|
2017-09-03 21:21:22 +03:00
|
|
|
|
2017-12-03 13:40:18 +02:00
|
|
|
Rationale:
|
|
|
|
|
|
|
|
* No GUI, only a CLI (so it runs in headless environments)
|
|
|
|
* Standard-compliant (we don't care about Microsoft Outlook)
|
|
|
|
* Fully open-source
|
|
|
|
|
2017-12-09 15:22:54 +02:00
|
|
|
## Setup
|
|
|
|
|
2018-01-13 12:40:21 +02:00
|
|
|
### Go
|
2017-12-09 15:22:54 +02:00
|
|
|
|
2018-01-13 12:40:21 +02:00
|
|
|
hydroxide is implemented with Go. Head to [Go website](https://golang.org)
|
2017-12-09 15:22:54 +02:00
|
|
|
for setup information.
|
|
|
|
|
|
|
|
### Install and Setup
|
|
|
|
|
|
|
|
Install hydroxide
|
|
|
|
|
|
|
|
```shell
|
|
|
|
go get github.com/emersion/hydroxide/cmd/hydroxide
|
|
|
|
```
|
2017-09-03 21:21:22 +03:00
|
|
|
|
2017-09-09 16:37:03 +03:00
|
|
|
Your credentials will be stored on disk encrypted with a 32-byte random
|
2017-12-03 13:32:33 +02:00
|
|
|
password. When configuring your client, you'll need this password.
|
2017-09-09 16:37:03 +03:00
|
|
|
|
2017-09-03 21:21:22 +03:00
|
|
|
```shell
|
2017-09-09 16:37:03 +03:00
|
|
|
hydroxide auth <username>
|
2017-12-03 13:32:33 +02:00
|
|
|
```
|
|
|
|
|
2017-12-09 15:22:54 +02:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
hydroxide can be used in multiple modes.
|
|
|
|
|
2017-12-03 13:32:33 +02:00
|
|
|
### CardDAV
|
|
|
|
|
|
|
|
You must setup an HTTPS reverse proxy to forward requests to `hydroxide`.
|
|
|
|
|
|
|
|
```shell
|
2017-12-02 17:23:06 +02:00
|
|
|
hydroxide carddav
|
2017-09-03 21:21:22 +03:00
|
|
|
```
|
|
|
|
|
2017-09-09 16:37:03 +03:00
|
|
|
Tested on GNOME (Evolution) and Android (DAVDroid).
|
2017-09-03 21:21:22 +03:00
|
|
|
|
2018-01-13 12:40:21 +02:00
|
|
|
### IMAP
|
|
|
|
|
|
|
|
For now, it only supports unencrypted local connections.
|
|
|
|
|
|
|
|
```shell
|
|
|
|
hydroxide imap
|
|
|
|
```
|
|
|
|
|
2017-12-03 13:32:33 +02:00
|
|
|
### SMTP
|
|
|
|
|
|
|
|
For now, it only supports unencrypted local connections.
|
|
|
|
|
|
|
|
```shell
|
|
|
|
hydroxide smtp
|
|
|
|
```
|
|
|
|
|
2017-09-03 21:21:22 +03:00
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|