Code Monkey home page Code Monkey logo

charbotgreen's Introduction

CharBotGreen Installation Instructions
--------------------------------------

CharBotGreen is a twitter bot written in Ruby using 
http://www.bbc.co.uk/radio4/programmes/schedules/fm/today.json
(see http://www.bbc.co.uk/programmes/developers#alternateserialisations)

The original author is Libby Miller (http://nicecupoftea.org) 
Libby's code is available on http://svn.foaf-project.org/foaftown/2009/charbotgreen/

This fork is by Phil Wilson (http://philwilson.org/) 
The code is on http://github.com/pipwilson/charbotgreen

The license is MIT (MIT-License.txt).

There are four easy steps:

1. Installing Ruby 
-------------------

Download from http://www.ruby-lang.org/en/downloads/


2. Installing sqlite3
---------------------

On Ubuntu you can install sqlite from Synaptic.

On Windows you can download the sqlitedll zip file from 
http://www.sqlite.org/download.html and unzip it into C:\Ruby\bin

Install the Ruby bindings

$ gem install sqlite3-ruby

To inspect the database you can either use the command-line tool that comes
with SQLite (separate download on Windows) or a GUI like:

* http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index (Windows)
* http://sqlitebrowser.sourceforge.net/index.html (cross platform)
* https://addons.mozilla.org/en-US/firefox/addon/5817 (firefox add-on)


3. Installing Json Pure
-----------------------

$ gem install json_pure 


4. Running the ruby files
-------------------------

Edit the todaysTwits.rb with the correct username and password

$ ruby beeb.rb # run once a day between 1am and 5:20am
$ ruby todaysTwits.rb # run every 5 minutes

charbotgreen's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

libbymiller

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.