New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tgs2gif

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tgs2gif

Converts animated stickers for Telegram (*.tgs) to animated GIFs

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

Animated stickers for Telegram (*.tgs) to animated GIFs converter CircleCI

This is a modified version to make it an NPM module and use it for my own purposes.

Using Docker

  1. Build the image:

    docker build -t tgs-to-gif .
    
  2. Convert! Pass directory with stickers and run:

    docker run --rm -v <path to directory with stickers>:/source tgs-to-gif
    

The result will be saved next to each source sticker file in the same directory.

Using nodejs and gifski

Install

  1. Install nodejs.
  2. Install gifski.
  3. Install npm dependencies:
    npm ci
    

Convert

Pass one or several stickers:

node cli.js sticker1.tgs sticker2.tgs ... 

or pass a directory:

node cli.js /home/ed/Downloads/super_pack/

The result will be saved next to each source sticker file in the same directory.

CLI arguments
$ node cli.js --help
usage: cli.js [-h] [--height HEIGHT] [--width WIDTH] [--fps FPS] paths [paths ...]

Animated stickers for Telegram (*.tgs) to animated GIFs converter

Positional arguments:
  paths            Paths to .tgs files to convert

Optional arguments:
  -h, --help       show this help message and exit
  --height HEIGHT  Output image height. Default: auto
  --width WIDTH    Output image width. Default: auto
  --fps FPS        Output frame rate. Default: auto

Notices

You can download .tgs files using @Stickerdownloadbot.

FAQs

Package last updated on 11 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc