All Projects → katharostech → cast2gif

katharostech / cast2gif

Licence: other
Tool to render Asciinema cast files to GIFs, *without* using Electron or a web browser. Written in Rust.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to cast2gif

glips
screen clip to gif on web
Stars: ✭ 18 (-21.74%)
Mutual labels:  gif, gif-creator, gif-animation
makesweet
Put pictures into animations from the command line.
Stars: ✭ 18 (-21.74%)
Mutual labels:  gif, gif-creator, gif-animation
Gifski
GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.
Stars: ✭ 2,417 (+10408.7%)
Mutual labels:  gif, gif-creator, gif-animation
gif-creator
To create a GIF image with user specified duration. [简单实用] 生成自定义延时的GIF图像。
Stars: ✭ 32 (+39.13%)
Mutual labels:  gif, gif-creator
Gifski
🌈 Convert videos to high-quality GIFs on your Mac
Stars: ✭ 5,691 (+24643.48%)
Mutual labels:  gif, gif-animation
gif-player
Control your animated GIFs
Stars: ✭ 120 (+421.74%)
Mutual labels:  gif, gif-animation
sail
The missing small and fast image decoding library for humans (not for machines) ⛵ https://sail.software
Stars: ✭ 206 (+795.65%)
Mutual labels:  gif, gif-animation
KGySoft.Drawing
KGy SOFT Drawing is a library for advanced image, icon and graphics handling.
Stars: ✭ 27 (+17.39%)
Mutual labels:  gif, gif-animation
TTFancyGifDialog-Android
TTFancyGifDialog makes your Android Dialog Fancy and more Beautiful. A library that makes normal Android Dialog to high level Dialog with many styling options and fully customizable. Make dialog from few lines of code.
Stars: ✭ 61 (+165.22%)
Mutual labels:  gif, gif-animation
mpv-gif-generator
Creates animated gifs using mpv hotkeys
Stars: ✭ 32 (+39.13%)
Mutual labels:  gif, gif-creator
imagor
Fast, Docker-ready image processing server in Go and libvips
Stars: ✭ 2,276 (+9795.65%)
Mutual labels:  gif, gif-animation
AGMobileGiftInterface
simplified interaction with GIF animations
Stars: ✭ 40 (+73.91%)
Mutual labels:  gif, gif-animation
chromecast-api
📺 Chromecast Node.js module
Stars: ✭ 122 (+430.43%)
Mutual labels:  cast
CarouselGifViewer
Efficiently display a list of GIFs in a carousel (RecyclerView).
Stars: ✭ 33 (+43.48%)
Mutual labels:  gif
gifterm
View animated .GIF files in a text console. Linux/Mac/Windows
Stars: ✭ 14 (-39.13%)
Mutual labels:  gif
nfc attendance system esp32
NFC Attendance System | 智慧校園NFC考勤系統 | 基於ESP32的智慧校園NFC考勤系統控制器
Stars: ✭ 27 (+17.39%)
Mutual labels:  gif
dpixel
A Pixel Art Remastering Tool using classic algorithms
Stars: ✭ 42 (+82.61%)
Mutual labels:  gif
vaporiser
🎵 Creates a vaporwave (slowed, with reverb) remix of a given MP3 file, with the option of playing over a looped GIF as a video.
Stars: ✭ 14 (-39.13%)
Mutual labels:  gif
kepler orrery
Make a Kepler orrery gif or movie of all the Kepler multi-planet systems
Stars: ✭ 91 (+295.65%)
Mutual labels:  gif
QuickImageFX
Simplifying image manipulation using GDI, Graphics32, OpenCV or Vampyre Imaging libraries
Stars: ✭ 41 (+78.26%)
Mutual labels:  gif

Cast2Gif

A tool to convert Asciinema cast files to Gifs without using Electron or a web browser.

Installing

We have yet to get CI setup for automated builds, but there is a musl Linux build that should run on any distro in our pre-release.

Example Recording

Here is an example of a GIF created with cast2gif:

example

Full Example

Here is a recording showing how to record a clip with Asciinema and render it with cast2gif:

tutorial

Features to Add

Here are some features to get in as time permits, ordered by importance:

  • Support for changing the output resolution/font-size
  • Add a slight bit of padding around the terminal window.
  • Automated builds for Windows, Mac, and Linux so users don't have to build it themselves
  • Support for custom SVG templates to allow you to style the output
  • Support for rendering animated PNGs
  • Support for rendering animated SVGs

Building and Running

To build you must have at least Rust 1.42+ installed. You can install it with Rustup. Then Run

cargo build --release

After that the cast2gif program will be in the target/release folder.

Run cast2gif --help to get the usage instructions:

cast2gif 0.1.0
Zicklag <[email protected]>
Renders Asciinema .cast files as gif, svg, or animated png.

USAGE:
    cast2gif [FLAGS] [OPTIONS] <cast_file> <out_file>

FLAGS:
    -f, --force      Overwrite existing output file
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --crop <crop>    crop the recording while rendering. Specify crop in terminal cells as
                        `top=[int],left=[int],width=[int],height=[int]`.

ARGS:
    <cast_file>    The asciinema .cast file to render
    <out_file>     The file to render to

History

This project started after a discussion on the Rust forum.

Alternatives

  • cast2gif by @foubian
    • A more polished alternative that runs in a web browser and has options for font-size and theme
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].