Skip to content

afterpresets.json

The project file of every AfterPresets project - bundle ID, name, version, platform, apps and their minimum versions, debug port, panels and asset folders.

afterpresets.json sits at the top of every project. It is the one place that says what the product is: its ID, name, version, which apps it runs in, and (for extensions) its panels. ap init writes it; ap push bumps the version; ap add adds panels and apps. The app’s own manifest.xml is generated from it at build time, so never edit that.

{
"bundleId": "com.afterpresets.yourname.layer-renamer",
"productId": "…",
"name": "Layer Renamer",
"version": "0.1.0",
"platform": "cep",
"hosts": [
{ "app": "AEFT", "minVersion": "17.0" },
{ "app": "PPRO", "minVersion": "14.0" }
],
"debugPort": 9123,
"listingUrl": "https://afterpresets.com/p/…",
"panels": [
{ "id": "main", "title": "Layer Renamer", "type": "panel", "width": 400, "height": 580, "menu": true }
]
}
Field Meaning
bundleId The permanent ID, com.afterpresets.<you>.<slug>. Never change it.
productId The product on AfterPresets. Written by ap init.
name The product name.
version MAJOR.MINOR.PATCH, for example 0.1.0. ap push bumps it after a successful upload.
platform "cep" (extension) or "native" (plugin). Permanent.
hosts The apps it runs in: "AEFT" (After Effects) and/or "PPRO" (Premiere Pro). Each can set a minVersion; the defaults are After Effects 17.0 (2020) and Premiere Pro 14.0 (2020). Use ap add host to add an app. Plugins write ["AEFT"].
react Extensions, optional: true lets panel .js files contain JSX and bundles React from the project’s dependencies (set by the React starter, ap init --starter react, the default).
tailwind Extensions, optional: true builds Tailwind CSS v4 into the panels’ styles (set by the React starter). It needs After Effects and Premiere Pro 2022 or newer, so a lower minVersion is raised to 22.0.
debugPort Extensions: the first debugging port. Panel number i uses debugPort + i.
listingUrl The product’s page on AfterPresets.
panels Extensions: the list of panels (below). Plugins have none; the effect is described in effect.json.
assets Extensions, optional: the top-level folders copied into the build. The default is assets, fonts, icons, images and media. See Media and other files.
Field Meaning
id Lowercase letters, digits and dashes, starting with a letter (up to 31). Its code lives in src/panels/<id>/.
title The name in Window → Extensions and on the panel. Defaults to name.
type "panel" (dockable, default), "modal" (a dialog opened from code) or "invisible" (no window, starts with the app).
width, height The starting size in pixels (50 to 4000). Defaults: panel 400×580, modal 420×320.
menu Whether it is listed in Window → Extensions. Default true for panels, false otherwise.

Add panels with ap add panel rather than by hand; see Multiple panels. The app reads the list of panels only when it starts: restart it after a change.

{
"bundleId": "com.afterpresets.yourname.soft-glow",
"productId": "…",
"name": "Soft Glow",
"version": "0.1.0",
"platform": "native",
"hosts": ["AEFT"],
"listingUrl": "https://afterpresets.com/p/…"
}