Giter VIP home page Giter VIP logo

babbler's Introduction

Created by Stephen McDonald

Babbler

A Twitter bot that polls an RSS feed and posts its entries as tweets, with auto-generated hashtags. For extra mischief, replies to the bot are responded to using a basic Eliza implementation.

After installing, the 'babbler' command will be available which you can use to run the bot. Data will be stored in the current directory.

Options

--version show program's version number and exit -h, --help show this help message and exit

Required:
-u url, --feed-url=url

RSS Feed URL

Optional:
-i strings, --ignore=strings

Comma separated strings for ignoring feed entries if they contain any of the strings

-p seconds, --pause=seconds

Seconds between RSS feed requests (default:600)

-q decimal, --queue-slice=decimal

Decimal fraction of unposted tweets to send during each iteration between feed requests (default:0.3)

-l level, --log-level=level

Level of information printed (ERRORDEBUG) (default:INFO)

-m len, --hashtag-min-length=len

Minimum length of a hashtag (default:3)

Switches:
-a, --append Switch certain options into append mode where their

values provided are appended to their persisted values, namely --ignore, --hashtag-min-length, --pause, --queue-slice

-s, --subtract Opposite of --append -e, --edit-data Load a Python shell for editing the data file -f, --dry-run Fake run that doesn't save data or post tweets -d, --daemonize Run as a daemon -k, --kill Kill a previously started daemon -D, --DESTROY Deletes all saved data and tweets from Twitter

Twitter authentication (all required):
-w key, --consumer-key=key

Twitter Consumer Key

-x secret, --consumer-secret=secret

Twitter Consumer Secret

-y key, --access-token-key=key

Twitter Access Token Key

-z secret, --access-token-secret=secret

Twitter Access Token Secret

Options need only be provided once via command line as options specified are then persisted in the data file, and reused on subsequent runs. Required options can also be omitted as they will each then be prompted for individually.

babbler's People

Contributors

stephenmcd avatar

Watchers

 avatar  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.