All Projects → lukehorvat → screenshot-tweet

lukehorvat / screenshot-tweet

Licence: MIT license
Screenshot a tweet.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to screenshot-tweet

ModernSimpleProfileUI
Design a Modern Simple Profile UI with Constraint Layout in Android Studio 3.1 Canary 6
Stars: ✭ 24 (-63.64%)
Mutual labels:  screenshot
JustTweet
Simple tweet button for Google Chrome
Stars: ✭ 20 (-69.7%)
Mutual labels:  tweet
nightwatch-vrt
Visual Regression Testing tools for nightwatch.js
Stars: ✭ 59 (-10.61%)
Mutual labels:  screenshot
ScreenshotToClipboard
Screenshots taken are copied to the clipboard.
Stars: ✭ 28 (-57.58%)
Mutual labels:  screenshot
stweet
Advanced python library to scrap Twitter (tweets, users) from unofficial API
Stars: ✭ 287 (+334.85%)
Mutual labels:  tweet
screenshot.py
Taking a screenshot of a webpage.
Stars: ✭ 49 (-25.76%)
Mutual labels:  screenshot
dotfiles
My setup
Stars: ✭ 84 (+27.27%)
Mutual labels:  screenshot
VIDEOconvertor
A stable and Fast telegram video convertor bot which can encode into different libs and resolution, compress videos, convert video into audio and other video formats, rename with thumbnail support, generate screenshot and trim videos.
Stars: ✭ 180 (+172.73%)
Mutual labels:  screenshot
Switch-Screenshots
Script to organize Nintendo Switch screenshots by directory instead of date.
Stars: ✭ 50 (-24.24%)
Mutual labels:  screenshot
dotfiles
. files
Stars: ✭ 37 (-43.94%)
Mutual labels:  screenshot
ToRat client
This is the ToRat client, a part of the ToRat Project.
Stars: ✭ 29 (-56.06%)
Mutual labels:  screenshot
record-desktop
🎥 Effortless GIFs and screenshots on Linux, built with Electron.
Stars: ✭ 65 (-1.52%)
Mutual labels:  screenshot
react-fake-tweet
React renderer for tweets.
Stars: ✭ 33 (-50%)
Mutual labels:  tweet
nougat
Screenshot wrapper
Stars: ✭ 20 (-69.7%)
Mutual labels:  screenshot
mugshot
Framework independent visual testing library
Stars: ✭ 126 (+90.91%)
Mutual labels:  screenshot
yaf
Yet another system fetch that is minimal and customizable
Stars: ✭ 23 (-65.15%)
Mutual labels:  screenshot
LAN-Messenger
Official open-source repository for LAN Messenger
Stars: ✭ 17 (-74.24%)
Mutual labels:  screenshot
screentray-distribution
macOS app for capturing, annotating and sharing screenshots
Stars: ✭ 28 (-57.58%)
Mutual labels:  screenshot
go-scrap
Go library to capture screen pixels for screenshots or screen recording
Stars: ✭ 68 (+3.03%)
Mutual labels:  screenshot
android-capture
Capture video and screenshots from Android devices and emulators.
Stars: ✭ 32 (-51.52%)
Mutual labels:  screenshot

screenshot-tweet NPM version

Screenshot a Twitter tweet.

Installation

Install the package with NPM:

$ npm install -g screenshot-tweet

The -g flag is recommended for easy CLI usage, but completely optional.

API

The package exposes a function with the signature (tweetUrl, filePath), where tweetUrl is the URL of the tweet and filePath is the filesystem location to save the screenshot at. Returns a Promise.

Example:

import screenshotTweet from "screenshot-tweet";

screenshotTweet(
  "https://twitter.com/reactjs/status/912712906407501825",
  "tweet.jpg"
).then(() => {
  console.log("Success");
}).catch(error => {
  console.error("Error");
});

If filePath is omitted, the Promise will resolve with a Buffer containing the screenshot data.

CLI

Execute screenshot-tweet from the command line with the following arguments:

$ screenshot-tweet TWEET_URL FILE_PATH

Example:

$ screenshot-tweet https://twitter.com/reactjs/status/912712906407501825 tweet.jpg
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].