0.1.0 • Published 11 years ago

twimo v0.1.0

Weekly downloads
4
License
-
Repository
-
Last release
11 years ago

Twimo

Quickly and easily import your Twitter archive into MongoDB. Why? Because data.

Requirements

You'll need the following:

Mac users, you can install these with Homebrew:

$ brew install node
$ brew install mongodb

Usage

Install the node module globally:

$ npm install -g twimo

Download your Twitter archive and unzip it somewhere.

From the command line, run the following to import tweets into the mongodb database at mongodb://localhost/twitter_archive in the tweets collection.

$ twimo path/to/tweets

path/to/tweets should be the path to the folder that was created by unzipping your archive.

Configuration

The command line interface has a couple of options which allow you to change the database/collection which Tweets get imported into:

$ twimo --help

  Usage: twimo [options] <archive-path>

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -d, --dbstring <string>    Specify a mongodb connection string (must include database part)
    -c, --collection <string>  Specify the collection to import tweets into

License

Copyright 2013, Rowan Manning
Licensed under the MIT license.