{"id":13478377,"url":"https://github.com/mirukana/pixcat","last_synced_at":"2025-04-22T23:28:30.728Z","repository":{"id":57453173,"uuid":"151062836","full_name":"mirukana/pixcat","owner":"mirukana","description":"CLI and Python 3.6+ API to display images on a kitty terminal with optional resizing.","archived":false,"fork":false,"pushed_at":"2023-12-03T05:30:36.000Z","size":62,"stargazers_count":46,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T20:02:13.327Z","etag":null,"topics":["api","cli","graphic","icat","image","kitty","picture","python","resize","scale","terminal"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirukana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-01T09:14:19.000Z","updated_at":"2025-03-27T05:27:08.000Z","dependencies_parsed_at":"2024-01-13T19:21:35.483Z","dependency_job_id":"6e272cb5-f23e-4602-870b-a0ced0738f33","html_url":"https://github.com/mirukana/pixcat","commit_stats":null,"previous_names":["mirukan/pixcat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpixcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpixcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpixcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpixcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirukana","download_url":"https://codeload.github.com/mirukana/pixcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249308903,"owners_count":21248709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cli","graphic","icat","image","kitty","picture","python","resize","scale","terminal"],"created_at":"2024-07-31T16:01:56.194Z","updated_at":"2025-04-17T03:31:03.571Z","avatar_url":"https://github.com/mirukana.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pixcat\n\n[![PyPI downloads](http://pepy.tech/badge/pixcat)](\n    http://pepy.tech/project/pixcat)\n[![PyPI version](https://img.shields.io/pypi/v/pixcat.svg)](\n    https://pypi.org/project/pixcat)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/pixcat.svg)](\n    https://pypi.python.org/pypi/pixcat)\n\n**WORK IN PROGRESS**\n\nDisplay images on a [kitty](https://sw.kovidgoyal.net/kitty/) terminal\nwith optional custom/thumbnail/fit-to-screen resizing.  \nDeveloped with the goal of being a more powerful alternative to `kitty icat`,\nwhile also providing an usable Python 3.6+ API.\n\n## Usage\n\nBasic CLI examples:\n\n```sh\npixcat file.jpg\n\npixcat fit-screen --enlarge /tmp/abc.jpg\n\npixcat thumbnail --size 128 --align left 'https://picsum.photos/480?random'\n\npixcat resize --min-width 1920 --min-height 1080 \\\n              --max-width 1920 --max-height 1080 \\\n              ~/images/wallpapers 1.jpg 2.png\n```\n\nThe commands and options have short forms too.  \nSee `pixcat --help` for more information.\n\nSame examples using the Python package (no documentation yet):\n\n```python3\nfrom pixcat import Image\n\nImage(\"file.jpg\").show()\n\nImage(\"/tmp/abc.jpg\").fit_screen(enlarge=True).show()\n\nImage(\"https://picsum.photos/480?random\").thumbnail(128).show(align=\"left\")\n\nfor i in Image.factory(\"~/images/wallpapers\", \"1.jpg\", \"2.png\"):\n    i.resize(1920, 1080, 1920, 1080).show()\n```\n\n## Installation\n\nRequires Python 3.6+, tested on GNU/Linux only.\n\n```sh\npip3 install --upgrade pixcat\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirukana%2Fpixcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirukana%2Fpixcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirukana%2Fpixcat/lists"}