Skip to main content

ttygif

A full featured text to gif conversion utility, that just works. It's in beta, so expect rough edges.

ttygif in action

htop

Whats the hell is this?

  • It's sparkling fantastic colorfull terminal output AUTOMATION!

how do i get it!?

## requirements gcc, python development libs, cython
pip3 install ttygif --user

What are the benifits

  • pipe output into beautifuly themed gifs
  • asciicast to gif
  • perfect fit for CI/CD
  • it runs headless
  • it can be scripted
  • works with python 2 and 3
  • works on linux, mac, raspberry PI
  • its fast, and easy to install
  • it has themes
  • you can make custom themes!
  • you can add background images from the CLI

It's portable

ttygif is self contained with no dependencys other than python/cython. GIF encoding and termal emulation are both implimented with internal cython code. No system fonts are required. All you need to get ttygif to work is a c compiler, python and its development libs. ttygif is a cython project.

shipped themes

  • default (256 color xterm palette)
  • default-4bit (16 colorxterm palette)
  • default-2bit (monochrome palette)
  • windows7 (windows style wrapped terminal)
  • game (8 bit inspired frame)
  • mac (mac styled window)
  • fwdm (old linux style window)
  • scripted (bottom bar with text)
  • opensouirce (bottom bar with text)
  • bar (bottom bar with NO text)

Supported fonts

  • All fonts came from https://int10h.org/oldschool-pc-fonts
  • copyright FON conversion © 2015 VileR, license: CC BY-SA 4.0
  • ttygif supports the "fd" font format. Basicly text files.
  • All .FON files have been exported to fd files for portability.
  • All fonts are copyright of their perspective owners, not me.
  • default font=Verite_9x16

Check them all out here -> fonts.md

ttygif-assets

The following resources are located in the ttygif-assets repo

Examples

some random pics from the asciinema.org website, and my computer

pipe

pipe

Terminal ray tracing

asciicast-174524

term-tris dt cannon

  • with game theme asciicast-232377

Denariusd compile on 30 cores!

asciicast-234628

surpirsed Pikachu

asciicast-236096

CACA_DRIVER=ncurses cacademo

asciicast-687

Metadata

Release files for ttygif 1.2.640

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ttygif 1.2.640
File Size Uploaded
ttygif-1.2.640.tar.gz 1.6 MB Details

Release files / ttygif-1.2.640.tar.gz

Download URL ttygif-1.2.640.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
1ade0de610419d8b05aaf705df84e0e084acac924044d121ed609fa83281d69f
BLAKE2b-256 checksum
How to use checksums
71698ab7a4ff1679f27d1228f2aae4724b93a930cda80c9f758d0305f11705ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

1.2.640 This release

1 release file

1.2.635

1 release file

1.2.630

1 release file

1.2.629

1 release file

1.2.624

1 release file

1.2.600

1 release file

1.2.570

1 release file

1.2.217

1 release file

1.2.209

1 release file

1.2.208

1 release file

1.2.193

1 release file

1.2.176

1 release file

1.2.175

1 release file

1.2.156

1 release file

1.2.153

1 release file

1.2.149

1 release file

1.2.113

1 release file

1.2.111

1 release file

1.2.109

1 release file

1.0.793

1 release file

1.0.792

1 release file

1.0.754

1 release file

1.0.718

1 release file

1.0.717

1 release file

1.0.510

1 release file

1.0.507

1 release file

1.0.303

1 release file

1.0.301

1 release file

1.0.295

1 release file

1.0.293

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page