Play Bad Apple!! video in the terminal as ASCII art with audio
Project description
Bad Apple!! Terminal
Essentially a Sunday project fueled by my Touhou love and Diwali holiday snacks; a terminal-based rendition of the classic Bad Apple! shadow video from the Touhou Project. This plays a video on the CLI as ASCII art with synced audio!
Installation
- Clone this repository:
git clone https://github.com/AbhinavMangalore16/badapple-terminal.git
cd badapple-terminal
- Install dependencies:
pip install -r requirements.txt
- Run the script:
python badapple_terminal/player.py
Python Package:
You can install Bad Apple!! Terminal directly from PyPI (https://pypi.org/project/badapple-terminal/) using:
pip install badapple-terminal
After installation, you can run the CLI anywhere using:
badapple_terminal
A word of caution:
It might be that above command may not be recognized, so make sure you have Python installed (>=3.8) and your Python Scripts directory is in your PATH. For example in PowerShell, you can temporarily add this:
Temporary:
$env:Path += ";C:\Users\<YourUsername>\AppData\Roaming\Python\Python313\Scripts"
However, this change is temporary and applies only to the current PowerShell session. For a permanent solution, update your system environment variables via Windows Settings, like so:
Permanently:
- Press Win + S, search Environment Variables, open Edit the system environment variables.
- Click Environment Variables…
- Under User variables, select Path → Edit → New
- Add:
C:\Users\<YourUsername>\AppData\Roaming\Python\Python313\Scripts
- Then, Click OK to save. You are good to go!
Credits and Acknowledgements
- Original Animation: Alstroemeria Records (Bad Apple!! MV)
- Source/Game Video: Touhou Project (ZUN)
- Video Courtesy: https://www.youtube.com/watch?v=FtutLA63Cp8&list=RDFtutLA63Cp8&start_radio=1
- Conversion ASCII logic (for refined grainy rendering): https://github.com/kiteco/python-youtube-code/blob/master/ascii/ascii_convert.py
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file badapple_terminal-0.1.2.tar.gz.
File metadata
- Download URL: badapple_terminal-0.1.2.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d54779a18c6faa017f4f6aae1e95abf424206d3c54f73830717a1774c1ab96bb
|
|
| MD5 |
485f9fa29404120dd8f8f531089ea45d
|
|
| BLAKE2b-256 |
5d534716053b287896342006cf7529196bdd5eec26a2471f37bb397b3c2ff3a0
|
File details
Details for the file badapple_terminal-0.1.2-py3-none-any.whl.
File metadata
- Download URL: badapple_terminal-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af9e43a4723903623b4c0ca28a1f91ba6e38e39457ef1c583b6f1845c5622ec6
|
|
| MD5 |
e503afbb6b5b98eacb4ba3c9111f770d
|
|
| BLAKE2b-256 |
53de8a0e2b996c5097572ccf0e4b61f34b48f186bfc4bfa16a7bf3d7c8fa1acb
|