# 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "termapod",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Trevor Schrock <spacemeat@gmail.com>",
"keywords": "astronomy, NASA, ASCII, ANSI",
"author": null,
"author_email": "Trevor Schrock <spacemeat@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/18/22/78e3a00951306d2b042c7e953205ea578c3ab8846ef0cc07e1436237ab46/termapod-0.1.3.tar.gz",
"platform": null,
"description": "# termapod\nAn 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.\n\nEnjoy it. It's fun. Tested in POP!_OS 22.04. Written in python 3.10.\n\n## Installation\n\nIt's a python package:\n\n```\n$ python3 -m pip install termapod\n```\n\nOr, install from a local clone of the repo:\n\n```\n$ git clone https://github.com/spacemeat/termapod\n$ cd termapod\n$ python3 -m pip install .\n```\n\n## Running it\n\nIt should install as a runnable program.\n\n```\n$ termapod\n```\n\nUnless `--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.\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "An ASCII block / ANSI color renderer for NASA's Astonomy Pic of the Day. For like no reason.",
"version": "0.1.3",
"project_urls": {
"Repository": "https://github.com/spacemeat/termapod"
},
"split_keywords": [
"astronomy",
" nasa",
" ascii",
" ansi"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "792fa13a5b4bf9d6b423071ddf172b7e11cbc73d5a49b8a565bbdebaa6c39404",
"md5": "f0e76acf1429e8528a98824fcb148f6b",
"sha256": "11a71d5da601ab7c9a3af1794dcfeeeb4fa0b52e0b23e3f2300bf8bec541037d"
},
"downloads": -1,
"filename": "termapod-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f0e76acf1429e8528a98824fcb148f6b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5289,
"upload_time": "2024-08-03T17:44:51",
"upload_time_iso_8601": "2024-08-03T17:44:51.167442Z",
"url": "https://files.pythonhosted.org/packages/79/2f/a13a5b4bf9d6b423071ddf172b7e11cbc73d5a49b8a565bbdebaa6c39404/termapod-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "182278e3a00951306d2b042c7e953205ea578c3ab8846ef0cc07e1436237ab46",
"md5": "30ca814b4e59f5ab5ebc19339eac59b4",
"sha256": "357aea32e12d5502e0e522ffb4866c4ab60b89386f8f496b7cecbf8b1a6e6631"
},
"downloads": -1,
"filename": "termapod-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "30ca814b4e59f5ab5ebc19339eac59b4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 6570,
"upload_time": "2024-08-03T17:44:52",
"upload_time_iso_8601": "2024-08-03T17:44:52.641519Z",
"url": "https://files.pythonhosted.org/packages/18/22/78e3a00951306d2b042c7e953205ea578c3ab8846ef0cc07e1436237ab46/termapod-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-03 17:44:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "spacemeat",
"github_project": "termapod",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "certifi",
"specs": [
[
"==",
"2024.2.2"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.7"
]
]
},
{
"name": "pillow",
"specs": [
[
"==",
"10.3.0"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.2.1"
]
]
}
],
"lcname": "termapod"
}