All Projects → lecram → congif

lecram / congif

Licence: other
convert script(1) output to GIF

Programming Languages

c
50402 projects - #5 most used programming language
lua
6591 projects
Roff
2310 projects
Makefile
30231 projects

Projects that are alternatives of or similar to congif

react-native-console-time-polyfill
console.time and console.timeEnd polyfill for react-native
Stars: ✭ 92 (+76.92%)
Mutual labels:  console
GiphyImageResultsPreview
Library for GIF results, preview, play, share everything at one place!
Stars: ✭ 28 (-46.15%)
Mutual labels:  gif
gifbar
🦄 Find Awesome Gif's right in your Menu Bar
Stars: ✭ 37 (-28.85%)
Mutual labels:  gif
gif-player
Control your animated GIFs
Stars: ✭ 120 (+130.77%)
Mutual labels:  gif
GifReversingBot
A Reddit bot that reverses gifs
Stars: ✭ 38 (-26.92%)
Mutual labels:  gif
whatisnewdialog
An Android library for displaying a dialog where it presents new features in the app.
Stars: ✭ 22 (-57.69%)
Mutual labels:  gif
colored-console
🌈 Add some color to your console >_
Stars: ✭ 74 (+42.31%)
Mutual labels:  console
Among-Us-Dumpy-Gif-Maker
A tool to make dumpy among us GIFS
Stars: ✭ 537 (+932.69%)
Mutual labels:  gif
laravel-make-me
Extendable Interactive Make Command for Laravel
Stars: ✭ 36 (-30.77%)
Mutual labels:  console
barecolor
A tiny JavaScript utility for printing colorful console messages.
Stars: ✭ 20 (-61.54%)
Mutual labels:  console
sail
The missing small and fast image decoding library for humans (not for machines) ⛵ https://sail.software
Stars: ✭ 206 (+296.15%)
Mutual labels:  gif
togglific
Do you find web animations distracting? Togglific provides a distraction-free web experience!
Stars: ✭ 17 (-67.31%)
Mutual labels:  gif
multitextor
Multiplatform command line text editor.
Stars: ✭ 27 (-48.08%)
Mutual labels:  console
tvoip
Terminal-based P2P VoIP application (TeamSpeak-/Skype-like voice chatting over LAN or Internet)
Stars: ✭ 34 (-34.62%)
Mutual labels:  console
SSSwiftUIGIFView
SSSwiftUIGIFView is a custom controller which helps to load GIF in SwiftUI.
Stars: ✭ 48 (-7.69%)
Mutual labels:  gif
phantomic
Pipe stdin to Phantom.JS
Stars: ✭ 20 (-61.54%)
Mutual labels:  console
go-color
A lightweight, simple and cross-platform package to colorize text in terminals
Stars: ✭ 65 (+25%)
Mutual labels:  console
Kamel
Kotlin asynchronous media loading and caching library for Compose.
Stars: ✭ 138 (+165.38%)
Mutual labels:  gif
std
stdout, for humans.
Stars: ✭ 17 (-67.31%)
Mutual labels:  console
leeks.js
Simple ANSI styling for your terminal
Stars: ✭ 12 (-76.92%)
Mutual labels:  console
congif
======

This is  an experimental tool  that generates GIF animations  of console
sessions.  Like  scriptreplay(1),  it  reads the  output  of  script(1),
including timing information. Unlike  scriptreplay(1), congif parses the
session dialogue and encodes it as a GIF animation that can be viewed on
graphical programs (e.g. web browsers).


Limitations
-----------

Only dialogues generated  for the Linux console can  be correctly parsed
by congif.  This means that  if your  $TERM environment variable  is not
"linux" then  it probably won't  work. You  can manually set  $TERM when
calling script(1), but  then your terminal may not  work correctly while
the session is recorded. It's  recommended that you record your sessions
on  the  Linux  console  itself,  or on  a  terminal  emulator  that  is
compatible with console_codes(4).

congif needs  to know  the terminal  size used  during the  execution of
script(1) and this size must be constant per session (i.e. if you resize
the terminal while recording a  session, congif won't work). By default,
congif assumes  that the terminal  size of the  session is equal  to the
current terminal size. Use the options -w  and -h if you need to specify
a different size.


Building
--------

A C99 compiler is needed. There are no library dependencies.

$ make


Usage
-----

congif [options] timings dialogue

    timings:       File generated by script(1)'s -t option
    dialogue:      File generated by script(1)'s regular output

    options:
      -o output    File name of GIF output
      -m maxdelay  Maximum delay, as in scriptreplay(1)
      -d divisor   Speedup, as in scriptreplay(1)
      -l count     GIF loop count (0 = infinite loop)
      -f font      File name of MBF font to use
      -h lines     Terminal height
      -w columns   Terminal width
      -c on|off    Show/hide cursor
      -q           Quiet mode (don't show progress bar)
      -v           Verbose mode (show parser logs)


Fonts
-----

For  simplicity, congif  uses a  custom font  format, MBF.  The font
misc-fixed [1], included in this distribution, is used by default.

For  more  information on  the  MBF  format,  see the  mbf-util  [2]
project. It  includes a  bdf2mbf tool that  converts fonts  from the
popular BDF format to the MBF format.


Examples
--------

Recording a session:
$ script -t 2> foo.t foo.d

Generating a GIF file with defaults (creates "con.gif"):
$ congif foo.t foo.d

Generating a faster version:
$ congif -d3 -m1 -o fast.gif foo.t foo.d


Copying
-------

All of the source code and documentation for congif is released into the
public domain and provided without warranty of any kind.


Links
-----

[1] http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html
[2] https://github.com/lecram/mbf-util
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].