Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nyankittone/termdvd
A program that simulates the DVD video screensaver in the terminal.
https://github.com/nyankittone/termdvd
command-line dvd dvd-screensaver termdvd terminal
Last synced: about 2 months ago
JSON representation
A program that simulates the DVD video screensaver in the terminal.
- Host: GitHub
- URL: https://github.com/nyankittone/termdvd
- Owner: nyankittone
- License: mit
- Created: 2019-02-05T00:49:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T12:37:03.000Z (over 5 years ago)
- Last Synced: 2023-09-10T07:21:28.606Z (about 1 year ago)
- Topics: command-line, dvd, dvd-screensaver, termdvd, terminal
- Language: Python
- Size: 31.3 KB
- Stars: 5
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-terminal-art - termdvd
README
# termdvd
A program that simulates the DVD video screensaver in the terminal.Now even people without a display server can enjoy the thrill of watching the DVD icon hit the corner. Amazing!
# Compatability info
This program requires at least Python version 3.3. If you attempt to run this program on Python 3.2 or lower, it will not work. In a future release, I may get support for older Python 3 versions working. However, I have no plans for getting Python 2 support.If you're using a Unix system (like Linux, macOS, BSD, etc.), the program should work just fine.
If you're using a Windows system, the program should work on Windows XP or newer, but you'll need to install the colorama python module first.
This can be done using pip, with the following command:`pip install colorama`
You can learn more about colorama here: https://pypi.org/project/colorama
# Getting the application
Before downloading the program, make sure you have the correct version of Python on your machine. (see "compatibility info" above.)To download the program, go to a command line and clone the repository using git:
`git clone https://github.com/MrCatFace8885/termdvd`
Alternatively, you can also click the green "clone or download" button, and then click "Download ZIP" if you're in a web browser.
To run the program, cd to the directory in the command line (if you used git to download it then just type `cd termdvd`), and then run the program. (type `./termdvd.py` on a Unix or Unix-like system, or `termdvd.py` on a Windows system.)
# Command line arguments
When no arguments are given to termdvd, the region where the DVD icon bounces around is set to 20 rows and 40 columns by default.
If you want the DVD screen to be a diffrent size, it can be changed by typing the row count and then the column count as command line arguments. For example:`termdvd.py 30 60`
will make the DVD screen be 30 rows long and 60 columns wide.
If you only want to change the row count, you only need to issue one argument. For example:
`termdvd.py 30`
will set the screen to 30 rows, but keep the column count at 40. However, if you want to issue a custom column count, you will need to issue both arguments.
There's also a few optional arguments. They are:
```
-h (--help): Displays command syntax and these arguments and then exits.
-v (--version): Displays the program's version number and then exits.
-c (--no_color): Makes the DVD icon only colored white.
```# Changes in version 2.1
- Added compatability with older versions of Windows. (in other words, anything older than Windows 10)
- The DVD icon looks slightly different now.
- The program now displays my username correctly when the --version argument is given. It didn't in the previous version.