Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xspai/shakespeare-bot
A Twitter bot for posting every word of Shakespeare at an interval of time.
https://github.com/0xspai/shakespeare-bot
python python-script shakespeare tweety twitter twitter-bot
Last synced: 8 days ago
JSON representation
A Twitter bot for posting every word of Shakespeare at an interval of time.
- Host: GitHub
- URL: https://github.com/0xspai/shakespeare-bot
- Owner: 0xSpai
- License: gpl-3.0
- Created: 2024-06-28T19:59:13.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-07T20:45:39.000Z (7 months ago)
- Last Synced: 2025-01-22T20:15:44.677Z (8 days ago)
- Topics: python, python-script, shakespeare, tweety, twitter, twitter-bot
- Language: Python
- Homepage:
- Size: 1.84 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shakespeare Twitter Bot
A Twitter bot for posting every word of Shakespeare at an interval of time.
## Features
1) Splits any body of text into words
2) Uses the Twitter API to make posts
3) Highly customizable## Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/0xSpai/ShakespeareBot.git
```2. **Install Dependencies**
```bash
pip install -r requirements.txt
```3. **Set up API keys**:
Create a new file called `keys.py` and enter the following code:
```python
api_key = ''
api_key_secret = ''
bearer_token = ''
access_token = ''
access_token_secret = ''
```Visit `https://developer.x.com/` and sign up for a developer account. Fill the relevant fields with your API tokens.
> [!IMPORTANT]
> Ensure these keys are kept **private**. If leaked, they could be used to write/read on your account.4. **Run the Project**:
```bash
python bot.py
```## License
Distributed under the GNU General Public License. See `LICENSE.txt` for more information.