goodbye

command module
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2017 License: BSD-3-Clause Imports: 9 Imported by: 0

README

Goodbye

Goodbye is a Go application, when someone unfollows you on Twitter, it will Direct Message you their Twitter handle.

Installation with Docker

Create a Twitter application on https://dev.twitter.com and access tokens for the application before you start. Then, create a config.json file with the credentials:

{
  "consumerKey": "<value>",
  "consumerSecret": "<value>",
  "accessToken": "<value>",
  "accessSecret": "<value>"
}

Clone this repo and build the Docker image:

$ docker build -t goodbye .

Then run the container:

docker run -d --restart=always \
    -v /path/to/config.json:/etc/goodbye/config.json \
    --name=goodbye-agent \
    goodbye

Check if it is running fine: docker logs -f goodbye-agent.

Obtaining Twitter API Credentials

Go to https://dev.twitter.com/, create an application and access tokens for it, then save those to a config.json described above.

How it works

This program has to be running all the time to periodically download the list of your followers and compare it with the previous version to see who is no longer there (meaning, unfollowed you).

Demo

Here is how it looks like in action:

Goodbye program in action

Author

Copyright (c) 2013-2017, Ahmet Alp Balkan

Made in Bellevue, WA with love.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL