bencevans / Screenshot Desktop
💻 Capture a screenshot of your local machine
Stars: ✠197
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Screenshot Desktop
Cmus Osx
Adds track change notifications, and media key support to cmus.
Stars: ✠179 (-9.14%)
Mutual labels: osx
Commander
Test your command line interfaces on windows, linux and osx and nodes viá ssh and docker
Stars: ✠183 (-7.11%)
Mutual labels: osx
Magnum Examples
Examples for the Magnum C++11/C++14 graphics engine
Stars: ✠180 (-8.63%)
Mutual labels: osx
Seashore
easy to use mac osx image editing application for the rest of us
Stars: ✠182 (-7.61%)
Mutual labels: osx
Cocoa Rest Client
A free, native Apple macOS app for testing HTTP/REST endpoints
Stars: ✠2,257 (+1045.69%)
Mutual labels: osx
Acloud Dl
A cross-platform python based utility to download courses from acloud.guru for personal offline use.
Stars: ✠181 (-8.12%)
Mutual labels: osx
Sharex Upload Server
AKA ShareS - Feature full & Stable ShareX and file server in node. Includes images, videos, code, text, markdown rendering, password protected uploads, logging via discord, administration through Discord, url shortening, and a full front end. Use standalone or via reverse proxy
Stars: ✠180 (-8.63%)
Mutual labels: screenshot
Openssl Osx Ca
Simple periodic task to sync OSX Keychain certs to Homebrew installed OpenSSL & LibreSSL
Stars: ✠185 (-6.09%)
Mutual labels: osx
Tunnelkit
Non-official OpenVPN client library for Apple platforms.
Stars: ✠180 (-8.63%)
Mutual labels: osx
Api
API that uncovers the technologies used on websites and generates thumbnail from screenshot of website
Stars: ✠189 (-4.06%)
Mutual labels: screenshot
Autokbisw
Automatic keyboard/input source switching for OSX
Stars: ✠176 (-10.66%)
Mutual labels: osx
Termuxarch
Experience the pleasure of the Linux command prompt in Android, Chromebook, Fire OS and Windows on smartphone, smartTV, tablet and wearable https://termuxarch.github.io/TermuxArch/
Stars: ✠183 (-7.11%)
Mutual labels: screenshot
Comics Downloader
tool to download comics and manga in pdf/epub/cbr/cbz from a website
Stars: ✠190 (-3.55%)
Mutual labels: osx
screenshot-desktop
Capture a screenshot of your local machine
- Multi/Cross Platform
- Linux: required ImageMagick
apt-get install imagemagick
- OSX: No dependencies required!
- Windows: No dependencies required!
- Linux: required ImageMagick
- Promise based API
- JPG output (by default)
Install
$ npm install --save screenshot-desktop
Usage
const screenshot = require('screenshot-desktop')
screenshot().then((img) => {
// img: Buffer filled with jpg goodness
// ...
}).catch((err) => {
// ...
})
const screenshot = require('screenshot-desktop')
screenshot({format: 'png'}).then((img) => {
// img: Buffer filled with png goodness
// ...
}).catch((err) => {
// ...
})
screenshot.listDisplays().then((displays) => {
// displays: [{ id, name }, { id, name }]
screenshot({ screen: displays[displays.length - 1].id })
.then((img) => {
// img: Buffer of screenshot of the last display
});
})
screenshot.all().then((imgs) => {
// imgs: an array of Buffers, one for each screen
})
screenshot({ filename: 'shot.jpg' }).then((imgPath) => {
// imgPath: absolute path to screenshot
// created in current working directory named shot.png
});
// absolute paths work too. so do pngs
screenshot({ filename: '/Users/brian/Desktop/demo.png' })
screenshot() options
-
filename
Optional. Absolute or relative path to save output. -
format
Optional. Valid valuespng|jpg
. -
linuxLibrary
Optional. Linux only. Valid valuesscrot|imagemagick
. Which library to use. Note that scrot does not support format or screen selection.
Licence
MIT © Ben Evans
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].