Giter VIP home page Giter VIP logo

gnip-expander's Introduction

NAME
  gnip-expander

SYNOPSIS
  gnip-expander [mode] [options]+

DESCRIPTION
  gnip-expander relays an existing gnip publisher's activites and
  re-publishers a stream with all http/https links published in a shortened
  form (bit.ly, etc) normalized to their long form.
  
  gnip-expander attempts to setup a keyword filter on the src publisher but
  does not require the publisher to support keyword filters - if the
  publisher does the entire stream is relayed.
  
  like all gnip.rb client code gnip-expander expects to find your gnip
  account info configured in ~/.gnip.yml in a file that looks like
  
    username: gnip-username
    password: gnip-password
  
  although you can pass this information in using the command line switches
  of course.
  
  gnip-expander keeps track of successfully relayed buckets in a directory
  (~/.gnip-expander by default).  although you can pass in the starting
  point with the --timestamp switch gnip-expander is quite good at doing
  'the right thing' with respect to which buckets to process.  in general it
  simply processes all unprocessed buckets as quickly as possible and then
  proceeds to process any new bucket as it appears, polling only when all
  buckets are processed and new ones have yet to appear.

PARAMETERS
  mode (1 ~> mode) 
      one of start|stop|restart|pid for daemon control. all imply --daemon. 
  --timestamp=timestamp, -t (0 ~> time(timestamp)) 
      timestamp to begin relaying activites from 
  --gnip-username=gnip-username (0 ~> gnip-username) 
      you gnip username - default from ~/gnip.yml 
  --gnip-password=gnip-password (0 ~> gnip-password) 
      you gnip password - default from ~/gnip.yml 
  --src-publisher=src-publisher (0 ~> src-publisher=twitter) 
      publisher whose posts we want to expand 
  --daemon, -D 
      run continuously in the background 
  --timeout=timeout (0 ~> integer(timeout=60)) 
      polling interval in daemon mode 
  --basedir=basedir (0 ~> basedir=/Users/ahoward/.gnip-expander) 
      base directory for logs, config, pidfile, etc. 
  --verbosity=verbosity, -v (0 ~> verbosity=info) 
      one of debug(4)|info(3)|warn(2)|error(1)|fatal(0) 
  --help, -h 

EXAMPLES
  . run at the console in verbose mode
      gnip-expander -v4
  
  . run in the background in daemon mode
      gnip-expander start && tail -F ~/.gnip-expander/log
  
  . stop a background daemon
      gnip-expander stop
  
  . restart a background daemon
      gnip-expander restart
  
  . report the pid of the background daemon or currently running gnip-expander
      gnip-expander pid

gnip-expander's People

Contributors

ahoward avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.