Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LuisMayo/ace-attorney-twitter-bot
Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-reddit-bot
https://github.com/LuisMayo/ace-attorney-twitter-bot
bot hacktoberfest
Last synced: about 1 month ago
JSON representation
Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-reddit-bot
- Host: GitHub
- URL: https://github.com/LuisMayo/ace-attorney-twitter-bot
- Owner: LuisMayo
- License: mit
- Archived: true
- Created: 2021-01-22T16:11:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T15:58:08.000Z (over 1 year ago)
- Last Synced: 2024-08-01T21:59:28.823Z (5 months ago)
- Topics: bot, hacktoberfest
- Language: Python
- Homepage:
- Size: 673 KB
- Stars: 546
- Watchers: 9
- Forks: 36
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- starred - LuisMayo/ace-attorney-twitter-bot - Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-reddit-bot (Python)
README
# Ace Attorney twitter Bot
# Archived due to APIv1 deprecation and paywalling
Twitter bot that turns comment chains into ace attorney scenes. Inspired by and using https://github.com/micah5/ace-attorney-reddit-bot
Currently being executed on [@aceCourtBot](https://twitter.com/aceCourtBot?s=09)Check also the [Telegram](https://github.com/LuisMayo/ace-attorney-telegram-bot), [Discord](https://github.com/LuisMayo/ace-attorney-discord-bot) and [Reddit](https://github.com/micah5/ace-attorney-reddit-bot) bots!
## Getting Started
### Prerequisites
- Everything included in [/objection_engine/Readme.md](https://github.com/LuisMayo/objection_engine/blob/main/README.md#prerequisites).
- Twitter Credentials.### Installing
Clone the repository with submodules
```
git clone --recursive https://github.com/LuisMayo/ace-attorney-twitter-bot
```
Install dependencies of this repo. Refer to [objection engine's install instructions](https://github.com/LuisMayo/objection_engine/blob/main/README.md#installing) for any problems you may encounter
``` bash
python -m pip install -r requirements.txt
```
Copy keys-dummy.json into keys.json and fill the required settings with the access keys you should've obtained from Twitter's Developer portalStart the project
`python main.py`#### Note about Linux systems
In Linux it may be a bit harder to set the enviorenment properly. More specifically it may be hard to install required codecs.
If having a codec problem (like "couldn't find codec for id 27") you may need to compile ffmpeg and opencv by yourself.
You should be good using these guides (tested on Ubuntu with success and on Debian without success)
- [FFMPEG compilation guide](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu)
- [Opencv compilation guide](https://docs.opencv.org/master/d2/de6/tutorial_py_setup_in_ubuntu.html)#### Note about MongoDB
By default Mongita is used for easier deployment, but administrators can opt in to use full MongoDB. Set the environment variable `ACE_MONGODB=URL` for this and make sure MongoDB is reachable in said URL## Contributing
Since this is a tiny project we don't have strict rules about contributions. Just open a Pull Request to fix any of the project issues or any improvement you have percieved on your own. Any contributions which improve or fix the project will be accepted as long as they don't deviate too much from the project objectives. If you have doubts about whether the PR would be accepted or not you can open an issue before coding to ask for my opinion