Skip to content

tribela/autotweet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autotweet

Learn your response pattern on twitter.

image

Installation

$ pip install autotweet
# Or with telegram bot
$ pip install 'autotweet[telegram]'

Usage

Learning user's tweet

Autotweet can learn your tweet by collector.

$ autotweet collector

Automatic answering by clone account

Your clone account can automatic answer by answer command.

$ autotweet answer

Automaticaly tweet after death

Autotweet can be auto tweeting using your main account. Use it when you are leaving from twitter for any reason.

$ autotweet after_death

Add manually

You can add question/answer set manually.

$ autotweet add 'Question' 'Answer'

Telegram integration

You can run a telegram bot with learned database.

$ autotweet telegram -h

Configure

You can configure Autotweet by editing ~/.autotweetrc file.

[auth]
token = <OAuth token (automaticaly generated)>
answerer_token = <OAuth token (automaticaly generated)>

[database]
db_url = <database url>

[answer]
threshold = <Auto answering to tweet that is not mention to answerer. (float 0.0 ~ 1.0)>

[tweet after death]
message0 = This is message sent by auto tweet.
message1 = If you are reading this, I'm already dead.
Package Index (PyPI)

https://pypi.python.org/pypi/autotweet/

image

Docs (ReadTheDocs)

https://autotweet.readthedocs.org/

image

License

Autotweet is following MIT license.

About

learn your response pattern from twitter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages