Nestable Processes Mutate
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    twimopublic

    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.

    Keywords

    none

    install

    npm i twimo

    Downloadsweekly downloads

    5

    version

    0.1.0

    license

    none

    last publish

    collaborators

    • avatar