All Projects → anishkny → webgif

anishkny / webgif

Licence: other
Easily generate animated GIFs from websites

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to webgif

Android Gif Drawable
Views and Drawable for displaying animated GIFs on Android
Stars: ✭ 8,987 (+9070.41%)
Mutual labels:  gif, animated-gifs
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 (-37.76%)
Mutual labels:  gif, animated-gifs
abeamer
frame-by-frame Web Animation framework
Stars: ✭ 49 (-50%)
Mutual labels:  gif, puppeteer
movtogif-cli
📺 Convert mov/mp4 to high-quality animated gifs
Stars: ✭ 58 (-40.82%)
Mutual labels:  gif, animated-gifs
double-agent
A test suite of common scraper detection techniques. See how detectable your scraper stack is.
Stars: ✭ 123 (+25.51%)
Mutual labels:  puppeteer
gif-creator
To create a GIF image with user specified duration. [简单实用] 生成自定义延时的GIF图像。
Stars: ✭ 32 (-67.35%)
Mutual labels:  gif
UnityGiphy
Library for using the GiphyAPI in Unity to get and play random Gifs as MP4s
Stars: ✭ 35 (-64.29%)
Mutual labels:  gif
apify-cli
Apify command-line interface helps you create, develop, build and run Apify actors, and manage the Apify cloud platform.
Stars: ✭ 37 (-62.24%)
Mutual labels:  puppeteer
PixelShape
Pixel editor that comes in handy when creating pixel art images and animations
Stars: ✭ 29 (-70.41%)
Mutual labels:  gif
record-desktop
🎥 Effortless GIFs and screenshots on Linux, built with Electron.
Stars: ✭ 65 (-33.67%)
Mutual labels:  gif
top.gg-automatic-voter
This is a script that votes for specified bot automatically per 12 hours on top.gg
Stars: ✭ 144 (+46.94%)
Mutual labels:  puppeteer
gifa11y
Gifa11y is a customizable vanilla javascript plugin that easily adds accessible play/pause buttons to animated GIFs.
Stars: ✭ 23 (-76.53%)
Mutual labels:  gif
OpticalIllusions
Some Python code to reproduce a nice optical illusion found on the web.
Stars: ✭ 16 (-83.67%)
Mutual labels:  gif
favloader
Vanilla JavaScript library for loading animation in favicon (favicon loader)
Stars: ✭ 20 (-79.59%)
Mutual labels:  gif
iOSUtilitiesSource
IOS Utilities Library for Swift
Stars: ✭ 46 (-53.06%)
Mutual labels:  gif
Viewfinder
📷 BrowserBox - Remote isolated browser API for security, automation visibility and interactivity. Run on our cloud, or bring your own. Full scope double reverse web proxy with multi-tab, mobile-ready browser UI frontend. Plus co-browsing, advanced adaptive streaming, secure document viewing and more! But only in the Pro version. Get BB today! Se…
Stars: ✭ 1,741 (+1676.53%)
Mutual labels:  puppeteer
MagicMouse
A webbrowser for Squeak using Chrome/Chromium. Not to be confused with a highly innovative pointing device.
Stars: ✭ 24 (-75.51%)
Mutual labels:  puppeteer
godot-gdgifexporter
Gif exporter for Godot made entirely in GDScript
Stars: ✭ 85 (-13.27%)
Mutual labels:  gif
codepen-puppeteer
Use Puppeteer to download pens from Codepen.io as single html pages
Stars: ✭ 22 (-77.55%)
Mutual labels:  puppeteer
pixelizer
An efficient image pixelizer written in go
Stars: ✭ 103 (+5.1%)
Mutual labels:  gif

logo

Easily generate animated GIFs from websites

Build Status Build status Greenkeeper badge Coverage Status node NPM Version

  • Easy 👉 Just point it to a URL and get an animated GIF!
  • Cross-platform 👉 Works on Windows, Mac, Linux, without Docker!
  • Headless 👉 Uses GoogleChrome/puppeteer
  • Inspired 👉 By asciicast2gif and wanting to make it easier to use

Installation

yarn global add webgif || npm i -g webgif

Usage

To navigate to https://giphy.com/search/lol and make an animated GIF of duration 10 seconds, execute:

webgif -u https://giphy.com/search/lol -d 10

Navigating to URL: https://giphy.com/search/lol
Taking screenshots: .............
Encoding GIF: /home/user/web.gif

Options

webgif -u URL -d DURATION [-o OUTFILE]

Options:
  --url, -u       URL to generate GIF from
                                       [default: "https://giphy.com/search/lol"]
  --duration, -d  GIF duration in seconds                          [default: 10]
  --output, -o    Output file name
                             [default: "web.gif"]
  -h, --help      Show help                                            [boolean]
  -V, --version   Show version number                                  [boolean]

Sample GIF

Sample GIF

How it works

  1. Use Puppeteer to launch a headless Chrome window
  2. Use setInterval to take screenshots and save them to disk
  3. Navigate to target URL and wait for specified duration
  4. Use gifencoder and png-file-stream to create animated GIF out of saved screenshots

See code: index.js

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