Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wrussell1999/local-hack-day-workshop
⚡ Local Hack Day - Learn workshop run at University of Birmingham
https://github.com/wrussell1999/local-hack-day-workshop
Last synced: about 1 month ago
JSON representation
⚡ Local Hack Day - Learn workshop run at University of Birmingham
- Host: GitHub
- URL: https://github.com/wrussell1999/local-hack-day-workshop
- Owner: wrussell1999
- Created: 2019-09-29T23:56:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T22:30:37.000Z (over 1 year ago)
- Last Synced: 2024-10-28T20:50:03.316Z (3 months ago)
- Language: Python
- Homepage:
- Size: 1.31 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![(https://localhackday.mlh.io/learn/locations/1859)](/images/lhd_logo.png)
# Reddit + Discord Meme Bot Workshop
[Local Hack Day - Learn](https://localhackday.mlh.io/learn/locations/1859) workshop at the University of Birmingham run by Will Russell.The presentation can be found [here](https://docs.google.com/presentation/d/1Dpa35En2z70bxEA0AQd0QHqfcTFVvOtqDp2O27mCJeo/edit?usp=sharing).
The following libraries were used:
- [discord.py](https://discordpy.readthedocs.io/en/latest/)
- [PRAW](https://praw.readthedocs.io/en/latest/)
- [Pillow](https://pillow.readthedocs.io/en/stable/)
- [requests](https://realpython.com/python-requests/)## Setup
You'll need some tokens/unique IDs/secrets to get started. Follow the guides below to get these. These will all belong inside of `config.json`. See `template/config_template.json` for a template.
- Get Setup with the [Discord API here](discord.md)
- Get Setup with the [Reddit API here](reddit.md)
## Development
```bash
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
```## Run
```bash
(.venv) $ python -m discord_bot
```## Credit
The deepfry functionality was used from [deeppyer](https://github.com/Ovyerus/deeppyer). Some adjustments were made for maximum edge.