Skip to content

evalexpr/twitback

Repository files navigation

twitback

A bot to backup your Twitter favorites

Table of Contents

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/evalexpr/twitback

Running with Docker

Authentication

Create a Twitter app at Twitter and grab the consumer keys and access tokens.

Run it in daemon mode with twitter keys/tokens

# You need to either have environment variables that are
# CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_SECRET
# or pass them into the container.
$ docker run -d --restart always \
    --name twitback \
    -e CONSUMER_KEY=foo
    -e CONSUMER_SECRET=bar
    -e ACCESS_TOKEN=baz
    -e ACCESS_SECRET=qux
    -v "/some/download/directory:/home/user/downloads:rw" \
    w1lkins/twitback -d --interval 20h

Usage

twitback -  A bot to backup your favorites from Twitter.

Usage: twitback <command>

Flags:

  --access-secret    twitter access secret (default: <none>)
  --access-token     twitter access token (default: <none>)
  --consumer-key     twitter consumer key (default: <none>)
  --consumer-secret  twitter consumer secret (default: <none>)
  -d, --debug        enable debug logging (default: false)
  --dir              directory to store the downloaded favorites in (default: downloads)
  --interval         update interval (ex. 5ms, 10s, 1m, 3h) (default: 20h)
  --once             run once and exit (default: false)

Commands:

  version  Show the version information.

About

A bot that backs up your Twitter likes

Resources

License

Stars

Watchers

Forks

Packages

No packages published