Bump version to v0.0.5

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
1 file changed
tree: 51bfaa02e9bf1966a7b452431e1016ae4db21d20
  1. .github/
  2. .gitignore
  3. .goosarch
  4. Dockerfile
  6. Makefile
  7. README.md
  8. VERSION.txt
  9. basic.mk
  10. filter.go
  11. gmail.go
  12. go.mod
  13. go.sum
  14. main.go
  15. vendor/
  16. version/


make-all make-image GoDoc Github All Releases

A custom Gmail spam filter bot.

Table of Contents

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.



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


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

Usage: 1up <command>


  -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)


  version  Show the version information.