🟢 Stable | Every morning, get your task lists by email, WhatsApp or SMS.
Go to file
2019-09-04 09:06:05 +02:00
cmd/trello2mail Remove obsolete code 2019-09-04 07:37:00 +02:00
doc Add doc & presentation 2018-11-22 16:54:26 +01:00
docker Prepare docker build 2019-09-04 09:06:05 +02:00
templates Switch to latest version of trello library 2019-09-04 07:36:49 +02:00
tmp Update email mockup & ignore tmp dir 2018-09-11 17:21:55 +02:00
.dockerignore Prepare docker build 2019-09-04 09:06:05 +02:00
.gitignore Ignore .env file 2018-11-22 17:04:11 +01:00
docker-compose.example.yml Fix docker-compose example 2018-11-22 17:04:30 +01:00
go.mod Use local version of library 2019-09-04 07:38:35 +02:00
go.sum Switch to latest version of trello library 2019-09-04 07:36:49 +02:00
LICENSE.txt Improve documentation 2018-08-22 20:02:00 +02:00
Makefile Initial import 2018-08-21 09:08:51 +02:00
README.md Add support for app key + token 2019-09-04 07:35:49 +02:00

Trello-2-Mail

Every morning, get the content of your favorite task list by email

Installation

With go

Make sure you have Go installed, then type:

go install github.com/glenux/trello2mail-go/...

It will install Trello2Mail binary in $GOPATH/bin

With docker

Make sure you have Docker installed, then type:

docker build -t trello2mail -f docker/Dockerfile .

Usage

Creating a developper account

  1. Create a trello account
  2. Confirm your email
  3. Enable developper account on https://trello.com/app-key
  4. Get an developer API KEY

Getting a Trello TOKEN

Open the following URL in your web browser and authenticate yourself. That will give you the TRELLO_TOKEN that will be needed in the next step.

https://trello.com/1/authorize?expiration=never&scope=read,write,account&response_type=token&name=Trello2Mail&key=YOUR-API-KEY

Normal use

Prepare your environment with the following variables

EMAIL_FROM:    no-reply@example.com
EMAIL_TO:      me@example.com
EMAIL_SUBJECT: "Daily mail for YYYYYY"
TRELLO_URL:    https://trello.com/b/xxxxx/yyyy
TRELLO_TOKEN:  xxxxxxxxxxxxxx
SMTP_HOSTNAME: smtp.example.com
SMTP_USERNAME: foobar@example.com
SMTP_PASSWORD: securefoobar
SMTP_PORT:   587
# SMTP_AUTH_TYPE accepts either "none", "plain" or "login"
SMTP_AUTH_TYPE: plain 
# SMTP_SECURITY_TYPE accepts either "none", "tls" or "starttls"
SMTP_SECURITY_TYPE: tls

Then run the program:

$GOPATH/bin/trello2mail

With docker

docker run  \
    -e EMAIL_FROM=
    -e EMAIL_TO=
    -e EMAIL_SUBJECT=
    -e EMAIL_FROM=
    -e EMAIL_TO=
    -e EMAIL_SUBJECT=
    -v /var/lib/trello2mail/trello2mail.cron:/app/trello2mail.cron \
    -it trello2mail:latest

Contributing

  1. Fork it ( http://github.com/glenux/trello2mail-go/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

Author & Maintainer: Glenn Y. ROLLAND

Contributors: none yet ;)

Got questions? Need help? Tweet at @glenux

License

Trello2Mail is Copyright © 2018 Glenn ROLLAND. It is free software, and may be redistributed under the terms specified in the LICENSE file.