Metadata-Version: 2.1
Name: termapod
Version: 0.1.2
Summary: An ASCII block / ANSI color renderer for NASA's Astonomy Pic of the Day. For like no reason.
Author-email: Trevor Schrock <spacemeat@gmail.com>
Maintainer-email: Trevor Schrock <spacemeat@gmail.com>
License: MIT License
Project-URL: Repository, https://github.com/spacemeat/termapod
Keywords: astronomy,NASA,ASCII,ANSI
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: End Users/Desktop
Classifier: Programming Language :: Python :: 3.10
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pillow==10.3.0
Requires-Dist: requests==2.31.0

# termapod
An ASCII-style rendering of the [Astronomy Picture of the Day](https://apod.nasa.gov/apod/astropix.html) 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.
