Skip to content

About

An actually free screen capture plugin for Chrome

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛵ ScreenShip

ScreenShip exists because screenshot tools in Chrome kept hitting the same two walls:

  1. They were flaky, clunky, or missing obvious basics.
  2. They worked... until the useful part was locked behind a subscription.

This project is the opposite of that.

The Promise

ScreenShip will never require a subscription for core screenshot + edit functionality.

  • No feature paywall for basic editing.
  • No "trial mode" lockout for tools you genuinely need.
  • No cloud account required for capture/edit/export.

If people want to support the work, donations are welcome. Paying for open source is a love language, and we appreciate it.

Screenshot Of ScreenShip Taking A Screenshot

ScreenShip editor UI screenshot

What It Does Today

  • Selection capture
  • Scrolling full-page capture
  • Visible viewport capture
  • Layer-based editor with move, resize, rotate, zoom, opacity, and blend modes
  • Crop, pen, highlight, Gaussian/pixelate blur, text, sticky notes, and shape primitives
  • Quick color controls and per-layer styling
  • Layer flattening to final image output
  • Export to PNG, JPG, and WebP, plus copy-to-clipboard
  • Metadata embedding with source URL and capture timestamps
  • Dark/light UI toggle (dark default)

Architecture At A Glance

flowchart LR
  U[User] --> P[Popup UI<br/>src/popup]
  P -->|start capture mode| B[Service Worker<br/>src/background/service-worker.js]
  B -->|inject + command| C[Content Scripts<br/>selection-overlay.js<br/>scroll-capture.js]
  C -->|capture result + metadata| B
  B -->|store session| S[(chrome.storage.local)]
  B -->|open editor tab with sessionId| E[Canvas Editor<br/>src/editor]
  E -->|load + clear session| B
  E -->|export image + embedded metadata| O[PNG/JPG/WebP]
Loading

Capture Sequence (Selection Mode)

sequenceDiagram
  participant User
  participant Popup
  participant BG as Service Worker
  participant CS as Selection Overlay Script
  participant Chrome as chrome.tabs.captureVisibleTab
  participant Editor

  User->>Popup: Click "Selection Capture"
  Popup->>BG: POPUP_START_CAPTURE(selection)
  BG->>CS: BG_BEGIN_SELECTION
  CS->>User: Draw drag-selection overlay
  User->>CS: Drag + release
  CS->>CS: Remove overlay, wait repaint
  CS->>BG: CONTENT_SELECTION_COMPLETE(rect + metadata)
  BG->>Chrome: captureVisibleTab()
  Chrome-->>BG: PNG frame
  BG->>BG: Crop to rect
  BG->>BG: Save session metadata/image
  BG->>Editor: Open editor?sessionId=...
Loading

Editor Rendering Model

flowchart TD
  Base[Locked Base Screenshot] --> Compose[Compose Canvas]
  Layers[Ordered Layer Stack] --> Compose
  Compose --> Preview[Interactive Preview]
  Compose --> Flatten[Flatten For Export]
  Flatten --> Meta[Embed Metadata]
  Meta --> File[Download / Clipboard]
Loading

Technical Notes

Message Contracts

Cross-context communication is centralized in src/shared/messages.js. This keeps popup, background worker, content scripts, and editor loosely coupled but deterministic.

Session Lifecycle

  1. Capture starts from popup.
  2. Background orchestrates content script operations and frame capture.
  3. Result is stored as an editor session (sessionId).
  4. Editor loads session once and requests cleanup.

Layer Model

Layer constructors live in src/editor/layer-model.js. Layer kinds currently include:

  • stroke
  • highlight
  • shape (rect, ellipse, line, arrow)
  • text (including sticky note mode)
  • blur

Each layer supports opacity and blend mode and is rendered in stack order. Shapes, pen strokes, highlights, and text also support rotation. Blur regions can use either Gaussian blur or pixelation.

Export + Metadata

Export metadata is built in src/shared/metadata.js and embedded in:

  • PNG via iTXt
  • JPG via XMP APP1
  • WebP via XMP chunk

Included fields can contain source URL, title, capture timestamp, viewport/page dimensions, mode, and extension version.

Local-First Privacy Stance

  • Capture/edit/export flow is local.
  • No required backend service.
  • No account required.
  • Page capture scripts are injected on demand from explicit user actions rather than running as broad always-on host access.

Privacy policy: docs/privacy-policy.md

Always review manifest.json permissions during release prep.

Engineering Guarantees

These are the standards we want ScreenShip to be held to:

  • Pricing guarantee: core screenshot + editing features remain subscription-free.
  • Privacy guarantee: no required cloud processing in the core capture/edit/export path.
  • Provenance guarantee: exported files include embedded metadata when format supports it (PNG/JPG/WebP).
  • Usability guarantee: selection and scroll capture remain first-class features, not upsell gates.

Current performance/reliability targets:

  • Selection capture success rate: >= 99% on common static pages.
  • Editor first-load time: <= 1.5s for a typical 1920x1080 capture on mid-tier hardware.
  • Full-page capture robustness: graceful handling of sticky headers and dynamic content changes.
  • Export integrity: flattened output must match visible editor composition.

If ScreenShip misses one of these targets, we should treat it as a bug, not "expected behavior."

Run The Extension (Unpacked)

  1. Open chrome://extensions.
  2. Enable Developer mode.
  3. Click Load unpacked.
  4. Select this repository.
  5. Pin ScreenShip and launch it from the toolbar.

Repo Layout

  • manifest.json: MV3 extension definition
  • docs/spec.md: Product and engineering spec
  • docs/manual-qa.md: Manual QA and stitch tuning notes
  • docs/privacy-policy.md: Chrome Web Store privacy policy text
  • img: extension icons and README/store imagery
  • scripts: metadata and release-support helpers
  • src/background: Capture orchestration + session management
  • src/content: Selection overlay and full-page scroll capture logic
  • src/editor: Canvas editor UI, interaction logic, and layer rendering
  • src/popup: Extension action popup UI
  • src/shared: Message contracts and metadata helpers

Useful Commands

Verify embedded metadata:

node scripts/verify-metadata.js /path/to/exported-image.png

Syntax check all JS:

find src -name '*.js' -print0 | xargs -0 -n1 node --experimental-default-type=module --check

Rebuild the extension icons:

./scripts/render-extension-icons.sh

Build a Chrome Web Store upload zip:

mkdir -p dist
VERSION=$(node -p "JSON.parse(require('fs').readFileSync('manifest.json','utf8')).version")
zip -r "dist/screenship-cws-$VERSION.zip" manifest.json src img -x 'img/screenship-ScreenShip-Editor-2026-04-10T12-07-26.png'

License

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE.

In plain English: ScreenShip is free software, and the AGPL is there to help keep it that way. If someone modifies ScreenShip and offers that modified version to users over a network, they must make the corresponding source available to those users.

Where To Improve Next

If we want to level this up from "great" to "ridiculously good," the highest-value next steps are:

  1. Add automated end-to-end tests for the full popup -> capture -> edit -> export workflow.
  2. Keep hardening full-page capture on the ugliest real-world pages: sticky headers, dynamic feeds, and lazy-loaded layouts.
  3. Add keyboard-first layer ergonomics like nudge, duplicate, lock/hide, and faster reordering.
  4. Push the text tool further with richer multiline editing, selection affordances, and better typography controls.
  5. Add more precision editing touches, especially around alignment, snapping, and stronger redaction/blur workflows.

About

An actually free screen capture plugin for Chrome

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages