All Projects → LottieFiles → tgskit

LottieFiles / tgskit

Licence: other
Toolkit for dealing with Telegram Stickers and Bodymovin/Lottie animations.

Programming Languages

typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to tgskit

Tgs To Gif
Converts animated Telegram stickers (*.tgs) to animated GIFs (.gif)
Stars: ✭ 148 (+228.89%)
Mutual labels:  telegram, lottie, stickers
LottieExampleProject
This is an example project for using Lottie in Android applications
Stars: ✭ 17 (-62.22%)
Mutual labels:  bodymovin, lottie
Mypackbot
🤖 Your own unlimited pack of Telegram-stickers
Stars: ✭ 18 (-60%)
Mutual labels:  telegram, stickers
qtlottie
QtLottie is a tiny C++ library that can render Adobe® After Effects™ animations exported as JSON with Bodymovin.
Stars: ✭ 23 (-48.89%)
Mutual labels:  bodymovin, lottie
Madelineproto
Async PHP client/server API for the telegram MTProto protocol
Stars: ✭ 1,776 (+3846.67%)
Mutual labels:  telegram, stickers
AE-Icon
🐱 use bodymovin to render some interesting After Effects vector icon
Stars: ✭ 47 (+4.44%)
Mutual labels:  bodymovin, lottie
lottie-idea
Android Studio and IntelliJ IDEA viewer plugin for Lottie animations
Stars: ✭ 36 (-20%)
Mutual labels:  bodymovin, lottie
WilliamButcherBot
Telegram Group Manager Bot Written In Python Using Pyrogram.
Stars: ✭ 187 (+315.56%)
Mutual labels:  telegram
tg
`telegram-cli` for Telegram IM
Stars: ✭ 306 (+580%)
Mutual labels:  telegram
dark
🌛 Dark themes / mode for Rambox, Franz or Ferdi messaging services
Stars: ✭ 93 (+106.67%)
Mutual labels:  telegram
telegram-json-to-vcf
Convert Telegram Contacts JSON File to VCF File
Stars: ✭ 34 (-24.44%)
Mutual labels:  telegram
Python-BlackJackBot
A Telegram bot written in Python to play the game BlackJack alone or with your friends
Stars: ✭ 48 (+6.67%)
Mutual labels:  telegram
greed
A customizable Telegram shop bot that accepts bitcoin payments
Stars: ✭ 31 (-31.11%)
Mutual labels:  telegram
pykeyboard
Best Keyboard and Pagination for the Pyrogram Library.
Stars: ✭ 42 (-6.67%)
Mutual labels:  telegram
YouTubeFeeds
Get new youtube video notifs, on telegram!
Stars: ✭ 29 (-35.56%)
Mutual labels:  telegram
memes-reposter
bot for automatic broadcasting content into telegrams channels from reddit/imgur/rss
Stars: ✭ 35 (-22.22%)
Mutual labels:  telegram
Harmonbot
Multi-Platform Factotum Bot
Stars: ✭ 30 (-33.33%)
Mutual labels:  telegram
munich-scripts
Some useful scripts simplifying bureaucracy
Stars: ✭ 105 (+133.33%)
Mutual labels:  telegram
QlikBotNet
Qlik Bot Net is an example chat bot which enables access to Qlik content via conversational analytics. It's built in .NET/C# and can be used with the Telegram messaging platform.
Stars: ✭ 20 (-55.56%)
Mutual labels:  telegram
search photo-telegram-bot-heroku
一个可以部署在heroku上的搜图机器人
Stars: ✭ 137 (+204.44%)
Mutual labels:  telegram

Telegram Sticker Kit by LottieFiles

Toolkit for dealing with Telegram Stickers and Bodymovin/Lottie animations

Installation

In HTML, import from CDN or from the local Installation:

Lottie Player:
  • Import from CDN.
<script src="https://unpkg.com/@lottiefiles/[email protected]/dist/tgskit.js"></script>
  • Import from local node_modules directory.
<script src="/node_modules/@lottiefiles/tgskit/dist/tgskit.js"></script>

In Javascript or TypeScript:

  1. Install package using npm or yarn.
npm install --save @lottiefiles/tgskit
  1. Import package in your code.
import { TGSKit } from '@lottiefiles/tgskit';

Usage

const anim = new TGSKit();

anim.load('http://localhost:1234/bodymovin.json')
  .then(() => {
    const errors = anim.validate();

    if (errors.length === 0) {
      anim.download('sticker');
    } else {
      console.log('Given JSON does not meet requirements for a TGS:');
      console.log(errors);
    }
  })
  .catch(err => {
    console.log('There was an error loading the src resource', err);
  });

Docs

TGSKit class documentation is available in the /docs/ directory.

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].