Skip to content

FaetterP/gif-to-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gif-to-terminal

Run server and print any gif in terminal using curl.
Inspired by parrot.live.

original gif
Animated output:
demo

Prepare

git clone https://github.com/FaetterP/gif-to-terminal.git
cd git-to-terminal
npm i

Next fill config.json.

{
  gifPath: "/giphy.gif",  // path to gif
  size: 50,               // size of final image (symbols)
  color: true,            // is colored
  outputDir: "/frames",   // folder for frames

  port: 3000,  // server port
  delay: 20    // delay between print frames
}

Run

Run using ts-node.

npm run dev

Build and run.

npm run build
npm run start

Using

curl localhost:3000

About

Print gif in terminal using curl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published