screen-capture-api

Solid

Cross-platform screen and window capture for screenshots and recording

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
50
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# screen-capture-api Implement cross-platform screen and window capture for screenshots and recording capabilities. ## Capabilities - Capture full screen - Capture specific windows - Capture screen regions - Handle multiple displays - Stream screen content - Handle permissions ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string" }, "framework": { "enum": ["electron", "native"] }, "captureTypes": { "type": "array" } }, "required": ["projectPath"] } ``` ## Electron Example ```javascript const { desktopCapturer } = require('electron'); async function captureScreen() { const sources = await desktopCapturer.getSources({ types: ['screen'], thumbnailSize: { width: 1920, height: 1080 } }); for (const source of sources) { const screenshot = source.thumbnail.toPNG(); // Save or use screenshot } } ``` ## Related Skills - `power-management-monitor` - `system-services-integration` process

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills