Local-first AI context builder by Auto Scale Agency.
Build clean, trustworthy prompt payloads from your local codebase without sending files to a cloud service.
PASTEMAX is made by Auto Scale Agency for developers who work with AI coding tools and need a fast, local, repeatable way to copy the right project context.
It stays focused on the desktop workflow: select a folder, choose the files that matter, add instructions, check the token budget, and copy a structured payload for ChatGPT, Codex, Claude, Gemini, or any LLM workflow.
Version 2.1.0 focuses on polish and trust:
- Local secret warnings before clipboard writes for
.envfiles, private keys, API keys, tokens, JWTs, and similar sensitive values. - Better copy states for copying, copied, failed, empty selections, and warning-blocked copies.
- Stronger History with search, workspace/project filters, Copy XML, and Restore selection.
- Workspace switching that cleans up stale selections and keeps recent folders easy to reopen.
- Cleaner GitHub Releases update checks with retry, timeout handling, and an Open Releases fallback.
- Better empty and error states across Explorer, History, Workspaces, file scanning, updater, and warning flows.
- File tree navigation with search, sorting, and binary-file detection.
- Token estimates for selected files and target model context windows.
- XML-style prompt payloads that keep file paths, file contents, and user instructions organized.
- Workspace management for frequently used projects and folders.
- Copy History for reopening previous payloads or restoring a past selection.
- Local-only secret scanning before copy. Findings are shown with redacted values.
- Automatic update checks through this repository's GitHub Releases.
- Light and dark desktop UI for macOS, Windows, Linux, and WSL workflows.
Download the latest build from:
github.com/blackridder22/PASTEMAX/releases/latest
Current macOS release assets:
PASTEMAX-2.1.0-arm64.dmgfor Apple Silicon Macs.PASTEMAX-2.1.0.dmgfor Intel Macs.PASTEMAX-2.1.0-arm64-mac.zipandPASTEMAX-2.1.0-mac.zipas zip builds.
Note: current macOS builds are signed locally but not notarized. If macOS blocks launch, use Open Anyway from System Settings until notarization is configured.
git clone https://github.com/blackridder22/PASTEMAX.git
cd PASTEMAX
npm install
npm run buildPackage for your platform:
npm run package:mac
npm run package:win
npm run package:linuxPackaged files are written to release-builds/.
npm run dev
npm run dev:electronUseful checks:
npm run lint
npm run buildsrc/- React renderer, components, styles, types, and utilities.electron/- Electron main process, preload bridge, file scanning, updater, and folder watching.public/- PASTEMAX icons and app assets.scripts/- Build and verification helpers.
PASTEMAX is local-first. File scanning, payload building, token estimation, copy history, and secret warnings run locally in the desktop app. There is no account system, cloud sync, or hosted payload service in this release.
Report issues here:
github.com/blackridder22/PASTEMAX/issues
MIT License. See LICENSE.