A Deno-powered macOS utility for formatting clipboard content. This tool provides two main features:
- PR Title Formatting: Converts plain text into standardized PR titles with ticket identifiers and part suffixes
- Screenshot Tables: Converts HTML image tags into organized comparison tables for documentation and pull requests
Note
Disclaimer: This project is 100% vibe coded ✨
Install deno, clone the repo, and install the project
brew install deno
git clone https://github.com/vdsbenoit/pr-parser.git
cd pr-parser
deno task build:installThen use it :
PR title formatting
- Cut a PR title (
cmd+X) - Press
cmd+space - Type
PRP - Press enter
- The formatted title is automatically pasted
Screenshot tables
- Drag & drop screenshots to a PR description
- Cut all the HTML
<img>tags generated by GitHub (cmd+X) - Press
cmd+space - Type
PRP - Press enter
- The table is automatically pasted
Read USAGE.md for more details.
- Parse ticket identifiers from plain text (e.g., "Mb 80 another feature" → "MB-80 Another feature")
- Handle "no ticket" cases (converts to "no-ticket")
- Extract and format part suffixes (e.g., "part 1" → "[PART-1]")
- Automatic capitalization of feature names
- Organize screenshots in a tabular format
- Create before/after comparison tables
- Support for standalone image displays
- Automatic grouping by category
- Simple CLI interface (src/main.ts)
- Extensible architecture for custom workflows
- Deno installed (v2.0+)
brew install denoClone the repository:
git clone https://github.com/vdsbenoit/pr-parser.git
cd pr-parserCopy plain text to clipboard (e.g., "Mb 80 feature name"), then run:
deno run --allow-run src/main.tsThe formatted title (e.g., "MB-80 Feature name") will be copied back to your clipboard.
Examples:
Mb 80 feature name→MB-80 Feature nameSaas 1234 feature name part 1→SAAS-1234 [PART-1] Feature nameno ticket feature name→no-ticket Feature name
Read USAGE.md for more details.
Copy HTML with <img> tags to clipboard, then run:
deno run --allow-run src/main.tsAn organized HTML table will be copied back to your clipboard.
Read USAGE.md for more details.
deno testdeno task build:appThen double-click on the app in the /app directory.
deno task build:installsrc/main.ts- Entry point for the CLIsrc/main.test.ts- Test suitesrc/- Library modules (clipboard, parsing, table generation)app/- macOS app bundledist/- The build output directorydeno.json- Deno configuration
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.