Snapline
Unleash your screenshots stored in Chrome Devtool timeline files
Install / Use
/learn @pmdartus/SnaplineREADME
snapline
Unleash your screenshots stored in Chrome Devtool timeline files

Features
- Convert timeline to gif
- Extract screenshots save in a timeline into a folder
Install
Before using snapline, please install imageMagick and ensure that your version of node is greater than 4.0.
npm install -g snapline
CLI usage
> snapline -h
Usage: snapline <timeline> [options]
Options:
--help Show help [boolean]
-o, --output Output file name [string] [default: "timeline.gif"]
-f, --fps Number of frames per seconds [number] [default: "10"]
Node usage
const snapline = require('../src')
const timeline = require('./my-awesome-timeline.json')
snapline.toGif(timeline)
.then(gifPath => console.log(`The gif(t) is ready: ${gifPath}!`))
API
snapline.toGif(timeline[, options])
timeline<timelineEntry[]> - The parsed JSON content of the timeline fileoptions.output<String> - path of the gif. default:./timeline.gifoptions.fps<Number> - Number of frames per seconds. default:10
Returns a Promise that resolves with the path of the created gif
snapline.toImages(timeline[, options])
timeline<timelineEntry[]> - The parsed JSON content of the timeline fileoptions.output<String> - folder path that will contains the screenshots. default:./screenshotsoptions.fps<Number> - Number of frames per seconds. default:10
Returns a Promise that resolves with the path of the path of the created directory
License
MIT. See /LICENSE
Owner
Pierre-Marie Dartus - @pmdartus
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
