Skip to main content

Termslime displays images in your terminal with true colors.

Project description

Termslime

Termslime displays images in your terminal with true colors.

Contents

Requirements

  • A terminal emulator with true color support.
  • Python >= 3.7.

Installation

Install with pipx (recommended):

pipx install termslime

Or install with pip:

pip install termslime

Usage

usage: tslime [-h] [-hl HEIGHTLIMIT] [-wl WIDTHLIMIT] [-bp BEGINPADDING] [-ep ENDPADDING] [-lp LEFTPADDING] path

Termslime displays images in your terminal with true colors. Project home page: https://github.com/garyzbm/termslime

positional arguments:
  path                  path to an image file or a directory containing image files

options:
  -h, --help            show this help message and exit
  -hl HEIGHTLIMIT, --heightLimit HEIGHTLIMIT
                        maximum number of lines of blocks to display the image in the terminal
  -wl WIDTHLIMIT, --widthLimit WIDTHLIMIT
                        maximum number of blocks per line to display the image in the terminal
  -bp BEGINPADDING, --beginPadding BEGINPADDING
                        number of empty lines before the image
  -ep ENDPADDING, --endPadding ENDPADDING
                        number of empty lines after the image
  -lp LEFTPADDING, --leftPadding LEFTPADDING
                        number of empty spaces at the beginning of each line of the image

Credits

This project is greatly inspired by this post.

The following projects are crucial to the development of this project:


This project is published under MIT.
A Gary Zhang project.
- :tada: -

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

termslime-0.2.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

termslime-0.2.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file termslime-0.2.1.tar.gz.

File metadata

  • Download URL: termslime-0.2.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.8 Windows/10

File hashes

Hashes for termslime-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5f61ccfc9a37cf7d92cbf735a9fc40f7550c9582c814d8f0501d7b202a2d1ccc
MD5 4aaa2d4533a2034120b75947517a03d8
BLAKE2b-256 cf5c443dd271efa5438ae731411a120421d40abfce1efc0942eed227fa22c0bf

See more details on using hashes here.

File details

Details for the file termslime-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: termslime-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.8 Windows/10

File hashes

Hashes for termslime-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3416d873b5e51965ecc8b6694d953fc747c1fcefb860c49d31935b3d52f66f5a
MD5 7da88bfa356163a73188abb59b6dd7d2
BLAKE2b-256 da9464278c7c21f504f5cbe95bdc5753720191748c0f2fdf2ae9a7d343fbac0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page