Giter VIP home page Giter VIP logo

twitter_ebooks's Introduction

twitter_ebooks

twitter_ebooks is a COBE markov-chain tweetbot. It takes a training file of flat text and generates tweets each time twert.py is run.

Based on thom_ebooks by CelestialBeard, available at https://github.com/CelestialBeard/thom_ebooks/

This is no longer actively maintained. Check out clonepa's much better fork:

https://github.com/clonepa/twitter_ebooks

DEPENDENCIES

  • Python 2.7
  • COBE
  • postcasio/python-twitter - modified version of python-twitter with support for new API options.

SETUP

Create a new cobe brain:

cobe init

Prime it with your data:

cobe learn [file]

Create a twitter account and use it to register an application on dev.twitter.com. Set access to read/write and generate an access token. Enter the necessary information into config-example.py and rename it to config.py

Run twert.py --stdout to test. If the result is to your liking, you can schedule updates with cron.

For regular COBE use, including console and irc use, read the COBE README.

MAINTAINER

Dominic Adelaar [email protected] (twitter: @casiotone)

LARGE ASCII ART IMAGE OF THOM

                                                                                
                         MN8DDNMND87                                            
                           ZMN88888888DDNDZ                                     
                               ?NMN8888888888DNN8?                              
                                  $8MMM8888888888888MN                          
                           ?NNN88888888888888888888888DDM7                      
                        NN8OZZO888888888888888888888D88DDDDNNN7                 
                     MN88888OZZO888888888888888888D88DDDDDDD8D8DM7              
                  8D8888888888ZZO888888888888DDD888DDDDDDDDDDDDDD8N$            
                ON8888888888888ZZO888888888888DDDD8DDDDDDDDD8888D88DN           
               M88888N8888888888ZZO8888888DD88DDDDDDDDDDDDD8888888888N          
             D88DMN?ZD88888888888ZZO8888888DDDDDDDDDDDDDD8DD8888888888NI        
           OMD?    D88888D88888888ZZO8888DMO88DDDDDDDD88D88D888888888N8D8       
          D       ZD8DDDD8888888888ZZO8NO===MDDDDDD88D8888888888888888MM88      
                  NDDDD888DD8888DM888D+====+NDDD8DD88D8888888888888888D?DN8     
                 MDDDDDDDDD888NZN8NO~======ID8DD88D88888888888888888888N  M$    
                N8DDDDDDDD8NO7NDN==========$888D8888888888D8888D88D8888D        
                NDDDDDNDDD8?NDD============O88888888888888D8888D88D888888       
               M8DDDMNDDN+NDN==============D88888888888888DD888DD8DD88D8N       
              $DDDDMN8MIDDN===+OZODO=======M8888D8888D8888DD888DD88D88D8M       
              MNNDDNNZ7NN=============DI===M88M8DD888DD888DDD88DDDDDD8DDN       
             MZ$DNMN~MNZZ=~:::::::======I8=M88M8DDD88DD888DDDDDDDDDDDDDDN       
             8 ZDM$MM8+~=~::::::~+=========M88M8DDD8DDDD88DDDDDDDDDDDDDDN       
            Z  ?ND8NNID~=::::::~I7I+=======M88MDDDDDDDDD8DDDDDDDDDDDDDDDM       
                D::~+77MMDND88O7:...?I?M$==M88NNDDDDDDDDDDDDDDDDDDDDDDDDD       
                MDO   .D$:=+8:: ..,::~=7NMZM8D$MDDDDDDDDDDDD8DDDDDMDDDDDZ       
                MMM,  ,D?=:~8::      .?NNNNM8D8D8DDDNDDDDDDMDDDDDDDM8DDN        
                IZZ+D8=DI=:~8:::       +D:=M8N=7DDDDMDDDDDNNDDDDDDDMNDDN        
                 D7====88::~8::::+$OOI::D:=M8N~+MDDNMDDDDDNDDDDDDDDND8DO        
                  =7ODD$7::~8~~::::::::+8:=N8N~=MDDNMDDDDDZ8DDDDDDDM MD7        
                 O~====8:::::,:+7$O8887,::=D8D~=M8DMNDDDM~MDDDDDDDDM MD         
                 N~===8:::::::::::::::::::=Z8D==N8DMDDDM$IDDDDDDDDDM  M         
                 O==8=:::::::::::::::::::~=7DO==N8DM8NDD~MDDDDDDNDDM  MI        
                 7=I:::::::::::::::::::::~=?N$==N8MDN?+=N8DDDDDMODDD  ZZ        
                 Z+O,:::7::::::::::::::::~++MI==MN+====N8DDDDDDO7DD8   8        
                 D~=+$I::::::::::::::::::~+=M+==MZ==~ZNDDDDDDDN M8N             
                  D===~::::::::::::::::::~+=M==IO=?M8DDDDDDDDN  NDD             
                   Z7I~:::::::::::::::::::+=D~=N~=DMDDNDDDDDM  M8N              
                    I=8NNNM$+:::::::::::::==?====O~MZMMN  MN  $DDZ              
                    8=DMN$ONNNI:::::::::::==:==:8~=7 8Z  M$   MNZ               
                     N~=~:~=+78D::::::::::::::8?====N                           
                      8==~:::::::::::::::::+D+======?$                          
                       ?==::::::::::::::IDI==========8                          
                       D~=:::::::::I8D7+==============8                         
                         OOOOZ?    N~=====~:::::+=====+MDM                      
                                   8I===::::::::=======8NNNN                    
                               MNNM=7=~:::::::::~======ONNNNNN                  
                              ZNNM~===::::::::::=======DNNNNNNNM                
                            OMNNND~===::::::::::=======MNNNNNNNNNM?             

twitter_ebooks's People

Contributors

postcasio avatar

Watchers

 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.