v0.0.1
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAluEmsoACgkQGPNoXAAi
v/P4qRAAspmAZq52PonU1yLJQCaUcp5N/SkQh438uNnBG4M14Ofq0h6e11UWZo85
RHnR/anphNzxCGEaYaUeU0/AwDWhqvS033yNdkCJpXJzZO0t1wzu0y0TRZrpkWdF
kuTdv+zwEdYtJQiB9YXN2z2R28sy5W0AWi7aXrKSzP5e88Al7B1w//npaJrEeQJY
96Qr/ODqumglbnEPQYWJQCVR+h3NybG74qD7nnGNa/AhaOeG64nr2CBrPv0XtK88
iHcyTDfENIm1tMxDPj7sKDdH/WDuG4y/UDJDwQ+A0ZuwDFFgEI+mTA/lrjvy6Nlc
F6E/AtcXgGMHErKgzkDFdauMDdUHYq1A/04afYCGF62KJSgTyANBtshAkyT8+o3G
PKa7A+naKdePXdCPRdhxJsB3crj+UblxRdzoI4jgi3qURxDiN+hn3E7F/GSKdkwn
Z4cudFvCHcwpFCt4fT5RNoqIidLYskZEKhgLlZ3dqwcx+EWuyQxErekz0LOWBsGE
3LnRolT4unbl442qKAy9Nee9Ms4vT+HvomgNYnTol/erSUDvH86Lk+em1Y7s+qU4
J80OsyCoLnN4EUY9ZQyZ9fSyf3PrdBw9lXssgfuD60OuO7xB7Y9eHNVaL9pba6qe
ydV1lShBFQnNBBnwVowq+P1YVS6ckA97LtpRRx9aoOoqmyGxbgo=
=pg/W
-----END PGP SIGNATURE-----
Bump version to v0.0.1

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 file changed
tree: 9c0b1b7c099a4662789373dc1c4488ea4301aa21
  1. .gitignore
  2. .goosarch
  3. .travis.yml
  4. .traviskey
  5. Dockerfile
  6. Gopkg.lock
  7. Gopkg.toml
  8. LICENSE
  9. Makefile
  10. README.md
  11. VERSION.txt
  12. filter.go
  13. gmail.go
  14. main.go
  15. vendor/
  16. version/
README.md

1up

Travis CI GoDoc Github All Releases

A custom Gmail filter bot.

How it works

The bot will create 3 labels in your Gmail:

  • 1up/good: where you label emails that are “good”
  • 1up/bad: where you label emails that are “bad”
  • 1up/quarantine: where the bot will place emails that it thinks are “bad” based off the results of the Bayes classifier

Thanks to @brendandburns for pointing me at Bayes classifiers.

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

You will want to follow the steps here to turn on the Gmail API and get a credentials file.

Via Go

$ go get github.com/genuinetools/1up

Via Docker

$ docker run --rm -it -v ~/configs/1up:/1up:ro \
    --tmpfs /tmp \
    r.j3ss.co/1up -f /1up/credentials.json

Usage

$ 1up -h
1up -  A custom Gmail filter bot.

Usage: 1up <command>

Flags:

  -d, --debug       enable debug logging (default: false)
  -f, --creds-file  Gmail credential file (or env var GMAIL_CREDENTIAL_FILE) (default: <none>)
  -i, --interval    update interval (ex. 5ms, 10s, 1m, 3h) (default: 5m0s)
  --once            run once and exit, do not run as a daemon (default: false)

Commands:

  version  Show the version information.