An ASCII block / ANSI color renderer for NASA's Astonomy Pic of the Day. For like no reason.
Project description
termapod
An ASCII-style rendering of the Astronomy Picture of the Day at nasa.gov. This retrieves the picture of the day, downsamples it to the size of your terminal window, and displays it in ASCII-style Unicode blocks with ANSI 24-bit color codes. I like it as a splash screen for a new terminal window.
Enjoy it. It's fun. Tested in POP!_OS 22.04. Written in python 3.10.
Installation
It's a python package:
$ python3 -m pip install termapod
Or, install from a local clone of the repo:
$ git clone https://github.com/spacemeat/termapod
$ cd termapod
$ python3 -m pip install .
Running it
It should install as a runnable program.
$ termapod
Unless --no-save-cache
is passed as an argument, the image is downloaded to ~/.config/termapod/image-<date>.jpg
, with caption saved to ~/.config/termapod/caption.txt
. This cache image is used unless --no-cache
is given as an argument. Whenever a new image is cached, the previous image and caption are deleted, so as not to fill up your precious storage.
Project details
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
File details
Details for the file termapod-0.1.3.tar.gz
.
File metadata
- Download URL: termapod-0.1.3.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 357aea32e12d5502e0e522ffb4866c4ab60b89386f8f496b7cecbf8b1a6e6631 |
|
MD5 | 30ca814b4e59f5ab5ebc19339eac59b4 |
|
BLAKE2b-256 | 182278e3a00951306d2b042c7e953205ea578c3ab8846ef0cc07e1436237ab46 |
File details
Details for the file termapod-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: termapod-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a71d5da601ab7c9a3af1794dcfeeeb4fa0b52e0b23e3f2300bf8bec541037d |
|
MD5 | f0e76acf1429e8528a98824fcb148f6b |
|
BLAKE2b-256 | 792fa13a5b4bf9d6b423071ddf172b7e11cbc73d5a49b8a565bbdebaa6c39404 |