Sane twitter backup and search
PHP JavaScript Shell Nginx HTML CSS Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
backup
www
.gitignore
Dockerfile
LICENSE
Makefile
README.md
greptweet.service
nginx.conf Tiny tidy up Oct 25, 2015
nginx.ini
php-fpm.ini

README.md

Greptweet

Setup

Set access_token in envfile. You should be able to get it from creating a new Twitter app.

curl -X POST "https://api.twitter.com/oauth2/token" -d "grant_type=client_credentials" -u consumerKey:consumerSecret

echo 'access_token=secret' > envfile
docker run -d --restart=unless-stopped --name greptweet --env-file envfile -p 8888:80 hendry/greptweet

Maintenance

Backing it up:

docker cp greptweet:/srv/http/u/ /tmp/backup