Skip to main content

CLI for polished website screenshots

Project description

chromeappcap

Screenshots that look like you meant to share them.

chromeappcap is a CLI for polished website/app screenshots with native Chrome app-window capture on macOS and Playwright fallback everywhere else.

Install

pipx (recommended)

pipx install chromeappcap

uvx (zero install)

uvx --from git+https://github.com/William-Blackie/chromeappcap.git chromeappcap https://example.com

local dev

git clone https://github.com/William-Blackie/chromeappcap.git
cd chromeappcap
python3 -m venv .venv
source .venv/bin/activate
pip install -e .[dev]
playwright install chromium

Or:

make dev-install
make playwright-install

Quick Start

chromeappcap https://example.com

By default, output is saved in your current shell directory.

Common Commands

Native app-window capture (macOS):

chromeappcap https://example.com --capture-mode app -o native.png

High-quality compressed WebP:

chromeappcap https://example.com --capture-mode app --device-scale 2.5 --format webp --compress --quality 85 -o shot.webp

Cross-platform page fallback with no synthetic frame:

chromeappcap https://example.com --capture-mode page --no-frame -o raw.png

Notes

  • --capture-mode auto prefers app mode on macOS and falls back to page mode.
  • --capture-mode page requires Playwright Chromium:
playwright install chromium
  • macOS app mode requires Screen Recording permission:
    • System Settings > Privacy & Security > Screen Recording

Help

chromeappcap --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chromeappcap-0.1.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chromeappcap-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file chromeappcap-0.1.0.tar.gz.

File metadata

  • Download URL: chromeappcap-0.1.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chromeappcap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d478be7e015081552d12abb8ebc30157622e6da8d8095fbb2ec3ca2f0202820b
MD5 b71502cf81e5b0ef385b5a1e3f79c4ba
BLAKE2b-256 acc53af30ccc55677cdd4ff80bc633648746091b278102df82d910085723354c

See more details on using hashes here.

Provenance

The following attestation bundles were made for chromeappcap-0.1.0.tar.gz:

Publisher: publish.yaml on William-Blackie/chromeappcap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chromeappcap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chromeappcap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chromeappcap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12eb2f56a8ed633d827daad45a853f065a63b0748d24a0025b6210a44871582d
MD5 0cafb41af6613317c7b666f6b8227eee
BLAKE2b-256 377e2c73b6a174b632aa6977c59327f3f9c93c57dd2a74ac699da1a93cd2b157

See more details on using hashes here.

Provenance

The following attestation bundles were made for chromeappcap-0.1.0-py3-none-any.whl:

Publisher: publish.yaml on William-Blackie/chromeappcap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page