8000 GitHub - hayesdavis/twitter-scripts: Some scripts for doing stuff with Twitter. Kind of a grab-bag of things I think are useful.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hayesdavis/twitter-scripts

Repository files navigation

Twitter Scripts

Some Ruby Twitter Scripts I find useful. Most of them use Grackle. Some of them use Redis.

Twitter Client

Each of these scripts uses a Grackle::Client to talk to Twitter. If you want to control authentication or other settings for this client you can create a file called .twitter_client in the directory from which you run the scripts or in your user directory. This is a YAML file that include arguments that will be passed directly to the Grackle::Client constructor. Example file:

auth:
  type: :basic
  username: USERNAME
  password: PASSWORD
ssl: true

For more options, see the Grackle::Client docs.

Grackle Setup

sudo gem install grackle

Redis Setup

Quick Start

$ curl -O http://redis.googlecode.com/files/redis-1.02.tar.gz
$ tar xzf redis-1.02.tar.gz
$ cd redis-1.02
$ make
$ ./redis-server

Shut it down

telnet 127.0.0.1 6379 type ‘SHUTDOWN’ and hit return

About

Some scripts for doing stuff with Twitter. Kind of a grab-bag of things I think are useful.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0