{"id":17326494,"url":"https://github.com/amarok1412/fen4i4","last_synced_at":"2025-03-27T04:43:55.543Z","repository":{"id":77534530,"uuid":"83367579","full_name":"AmarOk1412/fen4i4","owner":"AmarOk1412","description":"A simple twitter bot","archived":false,"fork":false,"pushed_at":"2017-03-16T03:31:32.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T10:13:19.615Z","etag":null,"topics":["classification","python-3","tweepy","twitter-bot"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmarOk1412.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-27T23:25:36.000Z","updated_at":"2017-02-27T23:28:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"3492fc97-5c57-491a-8f07-8ce8b86291d8","html_url":"https://github.com/AmarOk1412/fen4i4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmarOk1412%2Ffen4i4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmarOk1412%2Ffen4i4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmarOk1412%2Ffen4i4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmarOk1412%2Ffen4i4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmarOk1412","download_url":"https://codeload.github.com/AmarOk1412/fen4i4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785720,"owners_count":20671631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","python-3","tweepy","twitter-bot"],"created_at":"2024-10-15T14:16:11.416Z","updated_at":"2025-03-27T04:43:55.513Z","avatar_url":"https://github.com/AmarOk1412.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fen4i4 - A simple twitter bot.\n\n[Fen4i4](https://enconn.fr/project/fenrir.php) 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).\n\n![Fen4i4](https://enconn.fr/images/project/fenrir/home.jpg)\n\n# Why Fen4i4?\n\nI just do this project for fun.\n\n# Run your instance\n\nI will release my classifier later. But, to run this twitter bot, you will need:\n\n- _Tweepy_ and _Python 3_ on your computer\n- (optional) A server to host the bot\n\n## Configure the bot\n\nYou need to configure the bot with your own parameters in _config.json_. (You can get a key for twitter [here](https://apps.twitter.com/) and for discord [here](https://discordapp.com/developers/docs/topics/oauth2)). Also, you must have a classifier in `rsc`.\n\n## Architecture\n\n- `img/` just contains some image for \u003chttp://twitter.com/fen4i4/\u003e\n- `rsc/` will contains\n\n  - `classifier.pickle`: the classifier\n  - some files (`follow`, `nfollow`, `lastid`, `neg` and `pos`)\n\n- `train/` will contains useful files for training the bot.\n\n  - `classifier.pickle` if you run `train`\n  - `datas/neg` and `datas/pos` to classify tweets.\n\n## Run the bot!\n\n```\npython3 f3n414.py config_true.json\n\n                                  ,--,               ,--,\n                                ,--.'|             ,--.'|\n.--.,                          ,--,  | :  ,--,    ,--,  | :\n,--.'  \\                ,---, ,---.'|  : ',--.'| ,---.'|  : '\n|  | /\\/            ,-+-. /  |;   : |  | ;|  |,  ;   : |  | ;\n:  : :     ,---.   ,--.'|'   ||   | : _' |`--'_  |   | : _' |\n:  | |-,  /     \\ |   |  ,\"' |:   : |.'  |,' ,'| :   : |.'  |\n|  : :/| /    /  ||   | /  | ||   ' '  ; :'  | | |   ' '  ; :\n|  |  .'.    ' / ||   | |  | |\\   \\  .'. ||  | : \\   \\  .'. |\n'  : '  '   ;   /||   | |  |/  `---`:  | ''  : |__`---`:  | '\n|  | |  '   |  / ||   | |--'        '  ; ||  | '.'|    '  ; |\n|  : \\  |   :    ||   |/            |  : ;;  :    ;    |  : ;\n|  |,'   \\   \\  / '---'             '  ,/ |  ,   /     '  ,/\n`--'      `----'                    '--'   ---`-'      '--'\n-===========================================================-\n                    A Simple Twitter B0t\n-===========================================================-\n\nInit the bot...\nLoad classifier...\nclassifier loaded\nBot Ready!\nH3ll0, f3n4i4\n\u003e help\nAvailable commands:\n- quit/exit: quit the app\n- follow (\u003cuser\u003e|followers): try yo follow an user or the followers of the bot\n- test (\u003cuser\u003e|followers): get interesting tweets from user or the followers\n- reaction \u003ctweet\u003e: generate a reaction tweet\n- classify: classify and retweet some tweets\n- force follow \u003cuser\u003e: follow an user\n- force unfollow \u003cuser\u003e: unfollow an user\n- force unrt \u003cid\u003e: unretweet a tweet\n- followers: get followers\n- following: get following account\n- mention: get mentions\n- go/run: run the bot in automated mode.\n- train: train a classifier\n\u003e\n```\n\n# License\n\n```\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n        Version 2, December 2004\n\nCopyright (C) 2016 Sébastien (AmarOk) Blin \u003chttps://enconn.fr\u003e\n\nEveryone is permitted to copy and distribute verbatim or modified\ncopies of this license document, and changing it is allowed as long\nas the name is changed.\n\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0\\. You just DO WHAT THE FUCK YOU WANT TO.\n```\n\n# Contribute\n\nPlease, feel free to contribute to this project in submitting patches, corrections, opening issues, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarok1412%2Ffen4i4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famarok1412%2Ffen4i4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarok1412%2Ffen4i4/lists"}