Fen4i4 is a twitter bot that tweet and retweet interesting facts (and follow interesting accounts). I want to make the bot trainable on any computer (for example a i5 2xxx and 4Gb of RAM are enough to train this bot in one night).
I just do this project for fun.
I will release my classifier later. But, to run this twitter bot, you will need:
- Tweepy and Python 3 on your computer
- (optional) A server to host the bot
You need to configure the bot with your own parameters in config.json. (You can get a key for twitter here and for discord here). Also, you must have a classifier in rsc
.
-
img/
just contains some image for http://twitter.com/fen4i4/ -
rsc/
will containsclassifier.pickle
: the classifier- some files (
follow
,nfollow
,lastid
,neg
andpos
)
-
train/
will contains useful files for training the bot.classifier.pickle
if you runtrain
datas/neg
anddatas/pos
to classify tweets.
python3 f3n414.py config_true.json
,--, ,--,
,--.'| ,--.'|
.--., ,--, | : ,--, ,--, | :
,--.' \ ,---, ,---.'| : ',--.'| ,---.'| : '
| | /\/ ,-+-. / |; : | | ;| |, ; : | | ;
: : : ,---. ,--.'|' || | : _' |`--'_ | | : _' |
: | |-, / \ | | ,"' |: : |.' |,' ,'| : : |.' |
| : :/| / / || | / | || ' ' ; :' | | | ' ' ; :
| | .'. ' / || | | | |\ \ .'. || | : \ \ .'. |
' : ' ' ; /|| | | |/ `---`: | '' : |__`---`: | '
| | | ' | / || | |--' ' ; || | '.'| ' ; |
| : \ | : || |/ | : ;; : ; | : ;
| |,' \ \ / '---' ' ,/ | , / ' ,/
`--' `----' '--' ---`-' '--'
-===========================================================-
A Simple Twitter B0t
-===========================================================-
Init the bot...
Load classifier...
classifier loaded
Bot Ready!
H3ll0, f3n4i4
> help
Available commands:
- quit/exit: quit the app
- follow (<user>|followers): try yo follow an user or the followers of the bot
- test (<user>|followers): get interesting tweets from user or the followers
- reaction <tweet>: generate a reaction tweet
- classify: classify and retweet some tweets
- force follow <user>: follow an user
- force unfollow <user>: unfollow an user
- force unrt <id>: unretweet a tweet
- followers: get followers
- following: get following account
- mention: get mentions
- go/run: run the bot in automated mode.
- train: train a classifier
>
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2016 Sébastien (AmarOk) Blin <https://enconn.fr>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0\. You just DO WHAT THE FUCK YOU WANT TO.
Please, feel free to contribute to this project in submitting patches, corrections, opening issues, etc.