{"_id":"@craigcossairt/longshot","name":"@craigcossairt/longshot","dist-tags":{"latest":"1.4.0"},"versions":{"1.4.0":{"name":"@craigcossairt/longshot","version":"1.4.0","description":"Headless full-page screenshots with sticky-header suppression, overflow-pane capture, and baseline diff.","license":"MIT","type":"module","bin":{"longshot":"longshot.js"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/craigcossairt/Longshot.git"},"bugs":{"url":"https://github.com/craigcossairt/Longshot/issues"},"homepage":"https://github.com/craigcossairt/Longshot#readme","keywords":["screenshot","full-page","cli","playwright","chrome"],"engines":{"node":">=22"},"scripts":{"longshot":"node ./cli/longshot.mjs","test":"node --test test/core/*.test.mjs test/cli/*.test.mjs"},"dependencies":{"playwright":"^1.55.0"},"gitHead":"e47eff5bf70f97b34b7a31700d2df7f5183a8db5","_id":"@craigcossairt/longshot@1.4.0","_nodeVersion":"22.15.0","_npmVersion":"11.10.0","dist":{"integrity":"sha512-hJyu1JF8ZxpWDSqHjQuRefwaRFR/ELuF4EI6+wQEra8DLTMoxA82/6wLcu3cTtuz3Lx+t0fNvRkvQrUt1pdKxQ==","shasum":"c05bf49e514c3c9f7584dd015615fecf0fd3eba6","tarball":"https://registry.npmjs.org/@craigcossairt/longshot/-/longshot-1.4.0.tgz","fileCount":22,"unpackedSize":55856,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDLHr1psXaXPg8MH9PNI9nbKdO2pkXkeyke+hqwQIN7pgIgaYnrC6VcvqtaCgkLiFHbYVhMLCfNlBovALwwYIucys0="}]},"_npmUser":{"name":"craigcossairt","email":"craigcossairt@gmail.com"},"directories":{},"maintainers":[{"name":"craigcossairt","email":"craigcossairt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/longshot_1.4.0_1789044238862_0.07291820707258734"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-10T12:43:58.414Z","1.4.0":"2026-09-10T12:43:59.012Z","modified":"2026-09-10T12:43:59.249Z"},"maintainers":[{"name":"craigcossairt","email":"craigcossairt@gmail.com"}],"description":"Headless full-page screenshots with sticky-header suppression, overflow-pane capture, and baseline diff.","homepage":"https://github.com/craigcossairt/Longshot#readme","keywords":["screenshot","full-page","cli","playwright","chrome"],"repository":{"type":"git","url":"git+https://github.com/craigcossairt/Longshot.git"},"bugs":{"url":"https://github.com/craigcossairt/Longshot/issues"},"license":"MIT","readme":"# Longshot\r\n\r\n<p>\r\n  <img src=\"https://raw.githubusercontent.com/craigcossairt/Longshot/main/extension/icons/icon128.png\" alt=\"Longshot icon\" width=\"72\" height=\"72\" />\r\n</p>\r\n\r\nFull-page screenshots that come out right. Sticky headers are suppressed after\r\nthe first tile instead of repeating down the image, and overflow panes\r\n(Gmail-style inner scrollers) are captured when the page itself does not\r\nscroll. Nothing is uploaded.\r\n\r\nTwo ways to run it, one capture engine behind both:\r\n\r\n- **Browser extension** for Chrome and Brave, driven by hand. Capture, crop,\r\n  annotate, copy, download, or save as PDF. See [Install](#install-unpacked).\r\n- **Headless CLI** (`@craigcossairt/longshot`) for scripts, CI, and coding\r\n  agents. See [CLI](#cli-optional).\r\n\r\nThere is no website to run.\r\n\r\n<p>\r\n  <img src=\"https://raw.githubusercontent.com/craigcossairt/Longshot/main/docs/Longshot%20Editor%20Example.png\" alt=\"Longshot editor example\" width=\"1100\" />\r\n</p>\r\n\r\n## What it does\r\n\r\n- Full page, visible viewport, or drag to select an area\r\n- Sticky headers hidden after the first tile so they are not repeated\r\n- Overflow panes (Gmail-style inner scrollers) captured when the page itself does not scroll\r\n- Editor: crop, pen, shapes, text, stamps, undo/redo\r\n- Export PNG, JPEG, WebP, AVIF, or PDF\r\n- Files page for recent captures\r\n- Optional one-click toolbar capture\r\n- Optional skip-the-editor path that copies to the clipboard (or downloads)\r\n- Keyboard shortcut: Alt+Shift+L captures the full page\r\n- Optional CLI for unattended / agent captures (`cli/`)\r\n\r\n## Install (unpacked)\r\n\r\nSideload is the supported install. A Chrome Web Store listing is not published.\r\n\r\n1. Clone this repo.\r\n2. Open `chrome://extensions` or `brave://extensions`.\r\n3. Turn on Developer mode.\r\n4. Load unpacked and choose the `extension/` folder.\r\n\r\nRight-click the toolbar icon → **Options** for format, folder, one-click\r\ncapture, skip-the-editor, inner frames, and overflow panes. If one-click is\r\non, the icon starts a capture instead of opening the menu. **Scroll overflow\r\npanes** is on by default: when the page itself does not scroll, Longshot\r\ncaptures the main `overflow: auto` feed instead.\r\n\r\n## CLI (optional)\r\n\r\nPackage: `@craigcossairt/longshot`. The command is `longshot`.\r\n\r\n```\r\nnpm install -g @craigcossairt/longshot\r\nlongshot --url https://example.com --full-page --out capture.png\r\n```\r\n\r\nFrom a clone:\r\n\r\n```\r\nnpm install\r\nnpx longshot --url https://example.com --full-page --out capture.png\r\n```\r\n\r\nSee [cli/README.md](cli/README.md) for engines, exit codes, and `--cdp`.\r\n\r\n## Privacy\r\n\r\nSee [PRIVACY.md](PRIVACY.md). Screenshots are not uploaded. Feedback you send\r\nfrom the editor goes only to the maintainer.\r\n\r\n## License\r\n\r\n[MIT](LICENSE)\r\n","readmeFilename":"README.md","_rev":"1-7a163d23305d0b42a5bb26f2cc3eae86"}