• Stars
    star
    182
  • Rank 211,154 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 12 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

IRC bot that responds to selected phrases with a quotation from a notable woman (defaults to answering "that's what she said" jokes)

talkbackbot

Build Status Coverage Status

Are you tired of "That's what she said" jokes? Then this bot is for you! It will join a specified channel and respond to the configured trigger phrases with what she really said, i.e. a quotation from a notable woman. It will also respond to any direct message with a quotation.

Many quotes taken from this excellent resource: http://womenshistory.about.com/library/qu/blqulist.htm

Usage

Activate virtualenv

workon talkbackbot

Copy settings.py.EXAMPLE to settings.py and edit as desired

cp settings.py.EXAMPLE settings.py
vim settings.py

Note: QUOTES_FILE should have one quotation per line. QUOTES_URL must point to a JSON API that provides data in the following format:

{"results": [{"author": "Corazon Aquino", "text": "The media's power is frail."}]}

Run the bot

twistd twsrs

Stop the bot

kill `cat twistd.pid`

Development

Fork the project on github and git clone your fork, e.g.:

git clone https://github.com/<username>/talkbackbot.git

Create a virtualenv and install dependencies:

mkvirtualenv talkbackbot
pip install -r requirements/development.txt

Run tests and view coverage:

coverage run -m nose
coverage report

Check code style:

flake8

More Repositories

1

eggtimer-server

Server for online menstrual tracker
Python
48
star
2

ionic-angular-google-maps-example

Example of using angular-google-maps in Ionic
CSS
29
star
3

flask-google-sheets

Simple example of retrieving data from Google Sheets and displaying it in a Flask app.
Python
20
star
4

twitterbot

Configurable bot that replies to mentions and posts messages to twitter
Python
19
star
5

heartbot

Tweet compliments when tweeted to
Python
11
star
6

pipwrap

Manages pip requirements files for multiple environments, e.g. production and development
Python
9
star
7

django-google-maps

Example using postgis and google maps with Django on heroku
Python
9
star
8

paragres

Utility for synchronizing parallel PostgreSQL databases on Heroku and localhost
Python
8
star
9

django-celery-example

Django sample app that uses celery to queue tweets for posting to twitter
Python
7
star
10

eggtimer-ui

Front-end for online menstrual tracker - in early development
JavaScript
6
star
11

underquotedbot

Tweets quotes from oft-overlooked people
Python
6
star
12

pipreq

Utility for managing package requirements across multiple environments
Python
6
star
13

image-to-text-chrome-extension

Google Chrome extension that gets text from images
JavaScript
5
star
14

my-bike-lane-mobile

Mobile app for my-bike-lane
CSS
5
star
15

image-to-text-server

Django application providing an API to extract text from images.
Python
5
star
16

django-wkhtmltopdf-example

Django sample app that uses wkhtmltodpf to generate PDFs.
Python
3
star
17

django-csv-example

Example of integrating CSV data into Django. Includes importing CSV data to populate a model and exporting a CSV of selected records from the admin.
Python
3
star
18

pyicu-wheels

PyICU wheels for use on Heroku
Dockerfile
2
star
19

angular-turnjs-example

Example using angular-turnjs to display a book
HTML
2
star
20

django_jet_example

Django Jet Example
Python
1
star
21

whatshereallysaid

This project has been moved to https://github.com/jessamynsmith/talkbackbot
1
star
22

linkedin-api-example

Simple Flask app that connects to the Linkedin API
Python
1
star
23

eu-web-starter

JavaScript
1
star
24

analysocial

Python
1
star
25

taotrack

Open-source web/mobile app to provide personalized recommendations based on Taoist philosophy.
CSS
1
star
26

pyqt-matplotlib-pyinstaller

Example of using pyinstaller to create a Python app that contains pyqt and matplotlib.
Python
1
star
27

python-profiler-examples

Examples of using common Python profiling techniques
Python
1
star
28

django-getting-started

Step by step instructions on getting started with Django development on OS X
1
star
29

django-stripe-example

Django Stripe Example
Python
1
star
30

angular-google-maps-example

Example of using angular-google-maps to display data from an API
JavaScript
1
star
31

allauth_loginreg

Django-allauth Login and Registration
HTML
1
star
32

django-customize-admin

Customize admin with buttons to make API calls
Python
1
star
33

underquoted

Django app that serves up quotations from underquoted people
Python
1
star