Skip to main content

Mockup generator CLI tool for app store listings.

Project description

appstore-mockup

A Python CLI utility to automate the creation of app store mockups. It allows you to style your raw app screenshots with rounded corners, solid color borders, or glassmorphism effects, preparing them for final store listings.

Features

  • Rounded Corners: Emulate native device display rounding (e.g., standard iOS corners).
  • Glass Borders: Add a sleek, glass-like frosted border around your screenshots.
  • Color Borders: Add crisp, solid color borders.
  • Batch Processing: Process a single image or an entire directory of screenshots.
  • Transparent Exports: Export directly to PNG or lossless WEBP with a transparent canvas.

Installation

This tool uses uv. Install it globally:

uv tool install appstore-mockup

Alternatively, you can run it directly without prior installation:

uvx appstore-mockup --help

Usage

uvx appstore-mockup <input_path> [options]

Options

Option Description Default
input (Required) Path to a single image file or a directory.
-o, --output-dir Target directory for the exported mockups. ./output
-f, --format Export image format (png or webp). png
-t, --border-type Type of outer border (color or blur). color
--template Device template for default corner radius (ios, macos, android, pc). ios
-s, --border-size Width of the outer border in pixels. 0
-c, --border-color Hex or RGB color code for color border type. #FFFFFF
-r, --radius Corner rounding radius in pixels (overrides template). template default

Templates

The --template option sets the default corner rounding radius to match specific devices:

  • ios (default): 45px (Standard modern iPhone)
  • android: 36px (Google Pixel)
  • macos: 16px (MacBook Screen)
  • pc: 8px (Surface Laptop)

Examples

1. Process a single image with default iOS rounded corners:

uvx appstore-mockup ./screenshot.png

2. Use the Android template to match a Pixel device:

uvx appstore-mockup ./screenshot.png --template android

3. Add a glassmorphism (blurry) border and export as WEBP:

uvx appstore-mockup ./images -t blur -s 40 -f webp -o ./dist

4. Add a solid dark border with a specific corner radius:

uvx appstore-mockup ./screenshot.png -t color -s 12 -c "#1c1c1e" -r 30

License

MIT License.

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

appstore_mockup-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

appstore_mockup-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: appstore_mockup-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for appstore_mockup-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8e15572318d3e213a286006aea933adde7b2e7bcee15db24f0607bf6df258838
MD5 f2d20b5fad26af672bec679ee3ff2040
BLAKE2b-256 6adcb45bfbdd730b24f38ccdc55c1bb5cbfb58c780884d844ec54214006c1fe9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: appstore_mockup-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for appstore_mockup-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00c6a82b8831c37688e57dbe7c3b6431219472626a892678f327b7810a937be1
MD5 d486c2b86ee899a1c617063bf8d17f64
BLAKE2b-256 72ef8016e391278e42bcc348a885467452959a06e657398b71edaf62a7e65eb6

See more details on using hashes here.

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