Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

twimo

rowanmanning18deprecated0.1.0

This module is no longer maintained. If you're interested in taking over maintenance of this repo, please contact the author

Twimo =====

readme

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.