Awesome
Twimo
Quickly and easily import your Twitter archive into MongoDB. Why? Because data.
:bangbang: NOTE: This project is no longer being maintained. If you're interested in taking over maintenance of this repo, please contact me.
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.