Skip to content

Add delphi-tools extension - #28411

Merged
raycastbot merged 8 commits into
raycast:mainfrom
abeldebruijn:ext/delphi-tools-raycast-extension
Jun 23, 2026
Merged

raycastbot merged 8 commits into
raycast:mainfrom
abeldebruijn:ext/delphi-tools-raycast-extension

Conversation

@abeldebruijn

@abeldebruijn abeldebruijn commented May 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

Run local design and text utilities from delphitools in Raycast.

Commands

  • Encode Text
  • Decode Text
  • Hash Text
  • Check Contrast
  • Generate Color Harmony
  • Palette Generator
  • Simulate Color Blindness
  • Simulate Color Blindness (Image)
  • Generate Barcode
  • QR Code Generator
  • QR Code Generator vCard
  • Trim Transparent Edges
  • Convert Images
  • Favicon Generator
  • Social Media Cropper
  • Seamless Scroll Generator
  • Image Splitter
  • Print Imposer
  • Matte Generator
  • Meta Tag Generator
  • Add Noise to Images
  • Watermarker
  • Generate Tailwind Shades
  • Compute Line Height
  • Paper Sizes
  • Font File Explorer
  • Transliterate to Shavian
  • Regex Tester
  • PDF Preflight
  • Image Tracer
  • SVG Optimiser
  • Zine Imposer
  • Background Remover

This extension uses the local delphitools CLI. Install it before running commands that call delphitools:

cargo install delphitools-cli

Notes

All processing runs locally through the CLI. Generated previews are temporary local files and do not require a web server.

Screencast

delphitools-1 delphitools-2 delphitools-4 delphitools-5

Checklist

- Remove SVG icon assets
- Switch Raycast icons to PNG
- Add Raycast preferences for CLI path output and debounce
- Remove generated JS files from src
- Extract shared exec and color utilities
- Refactor delphitools install checks into shared wrapper
- Add code-quality-report.html to gitignore
- Merge pull request raycast#3 from abeldebruijn/codex/in-barcodetsx-this-does-not
- update barcode previews
- Merge pull request raycast#4 from abeldebruijn/codex/plan-command-docs-updates
- Escape vCard fields in QR generator
- Add docs and commands for new delphitools tools
- Remove Check Delphitools Install and Delphitools commands
- Update progress.md
- Merge commit \'1938ec3\'
- Use SVG files for solid colour swatches
- Merge impose matte and meta commands
- Implement impose matte and meta commands
- Add crop, favicon, and font info Raycast commands
- Merge pull request raycast#2 from abeldebruijn/codex/align-with-raycast-store-docs
- Merge branch \'main\' into codex/align-with-raycast-store-docs
- Update convert-icon.svg
- Implement barcode clip and convert Raycast commands
- Standardize Raycast action panel icons and titles
- Update store copy and local CLI guidance
- Update README and remove stale command plans
- Added line-height, paper and shavian commands
- Merge pull request raycast#1 from abeldebruijn/codex/add-colorblind-sim-command
- Use SVG previews for contrast swatches
- Serialize swatch PNG writes by path
- Clear stale contrast preview before regenerating
- Merge remote-tracking branch \'origin/main\' into codex/add-colorblind-sim-command
- Refactor harmony and colorblind to direct detail views
- Add SVG icons for core color tools
- Update progress.md
- Added text to swatches
- Use new local image path instead of a hosted solution
- Remove stray SVG from colorblind preview markdown
- colour-blind-sim
- Add README for delphitools Raycast extension
- Added harmony
- added image to contrast checker
- added contrast checker
- added SHA-1 as hash encode option
- Added hash command
- Added optional arguments
- Add encode and decode Raycast commands
- Add Raycast glossary terms and command metadata
- Document delphitools commands and progress tracking
@raycastbot raycastbot added the new extension Label for PRs with new extensions label May 29, 2026
@raycastbot

raycastbot commented May 29, 2026 •

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@abeldebruijn
abeldebruijn marked this pull request as ready for review May 29, 2026 10:45
@greptile-apps

greptile-apps Bot commented May 29, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR introduces a new delphi-tools-raycast-extension that wraps the local delphitools CLI, exposing 33 design and text-utility commands in Raycast. All processing runs locally through execFile (no shell-injection risk), with a shared install-check pattern and debounced live previews.

  • Adds 33 commands covering encoding/decoding, hashing, color tools (contrast, harmony, palette, Tailwind shades), image processing (convert, crop, barcode, QR, favicon, rmbg, watermark, etc.), and print/PDF utilities.
  • Ships a hand-rolled PNG encoder (swatch-png.ts) and WCAG-correct contrast-ratio utilities for inline color previews without any external image dependencies.
  • CHANGELOG.md uses a hardcoded date (2026-06-23) instead of the required {PR_MERGE_DATE} placeholder.

Confidence Score: 5/5

Safe to merge after the CHANGELOG date placeholder is fixed.

All CLI invocations use execFile with argument arrays (no shell injection), install detection is clean, preferences use the auto-generated Preferences type, the ESLint config follows the v9 flat-config pattern, and the extension manifest is well-formed with valid categories and $schema. The only finding is a minor changelog convention issue.

CHANGELOG.md needs the hardcoded date replaced with {PR_MERGE_DATE}.

Important Files Changed

Filename Overview
extensions/delphi-tools-raycast-extension/CHANGELOG.md Initial release entry uses a hardcoded date (2026-06-23) instead of the required {PR_MERGE_DATE} placeholder
extensions/delphi-tools-raycast-extension/package.json Well-formed manifest with $schema, valid Productivity + Design Tools categories, textfield preference for debounce delay
extensions/delphi-tools-raycast-extension/src/utils/exec.ts Wraps execFile with promisify and runDelphitools; re-exports getDelphitoolsCliPath from preferences for a single import surface
extensions/delphi-tools-raycast-extension/src/utils/preferences.ts Correctly uses getPreferenceValues() with the auto-generated type; debounce delay handled with fallback to default
extensions/delphi-tools-raycast-extension/src/utils/image-output.tsx Shared image output list with copy/reveal actions; createOutputDirectory uses Date.now() + Math.random() for unique temp dirs
extensions/delphi-tools-raycast-extension/src/swatch-png.ts Hand-rolled PNG encoder and SVG swatch generator for colour previews; write deduplication with pendingSwatchWrites map is sound
extensions/delphi-tools-raycast-extension/src/qr-helper.ts QR generation helpers with SHA-256 cache key for output paths; logo validation logic is functional
extensions/delphi-tools-raycast-extension/src/delphitools-install.tsx Install detection via --version check; DelphitoolsRequired render-prop wrapper keeps install check DRY across commands
extensions/delphi-tools-raycast-extension/eslint.config.js Correct ESLint v9 flat config using defineConfig from eslint/config with the @raycast/eslint-config preset
extensions/delphi-tools-raycast-extension/src/barcode.tsx Full barcode generator with format preview grid; uses execFile (not exec) so no shell-injection risk
extensions/delphi-tools-raycast-extension/src/contrast.tsx WCAG contrast checker with live SVG preview; debounced CLI calls and duplicate-toast suppression are well handled
extensions/delphi-tools-raycast-extension/src/utils/color.ts Lightweight color utilities (hexToRgb, rgbToHex, contrast ratio, relative luminance) with correct WCAG 2.1 formula

Reviews (5): Last reviewed commit: "Update CHANGELOG.md and optimise images" | Re-trigger Greptile

@abeldebruijn abeldebruijn changed the title Add delphi-tools-raycast-extension extension Add delphi-tools extension May 29, 2026
@0xdhrv 0xdhrv self-assigned this Jun 22, 2026
- Replace custom output handlers with `getImageOutputFiles`
- Simplify result rendering with `ImageResults` component
- Update dependencies for improved performance and maintainability
- Remove redundant code for cleaning up file operations
@socket-security

socket-security Bot commented Jun 23, 2026 •

Copy link
Copy Markdown

Dependency limit exceeded — report not shown.

This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report.

Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard.

Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account.

- Delete @raycast/utils from package.json dependencies
- Simplify the dependencies for the extension

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved ✅

@raycastbot
raycastbot merged commit fa4a7b3 into raycast:main Jun 23, 2026
2 of 3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

almatkai pushed a commit to almatkai/raymes-extensions that referenced this pull request Jul 13, 2026
* Add delphi-tools-raycast-extension extension

- Remove SVG icon assets
- Switch Raycast icons to PNG
- Add Raycast preferences for CLI path output and debounce
- Remove generated JS files from src
- Extract shared exec and color utilities
- Refactor delphitools install checks into shared wrapper
- Add code-quality-report.html to gitignore
- Merge pull request #3 from abeldebruijn/codex/in-barcodetsx-this-does-not
- update barcode previews
- Merge pull request raycast#4 from abeldebruijn/codex/plan-command-docs-updates
- Escape vCard fields in QR generator
- Add docs and commands for new delphitools tools
- Remove Check Delphitools Install and Delphitools commands
- Update progress.md
- Merge commit \'1938ec3\'
- Use SVG files for solid colour swatches
- Merge impose matte and meta commands
- Implement impose matte and meta commands
- Add crop, favicon, and font info Raycast commands
- Merge pull request #2 from abeldebruijn/codex/align-with-raycast-store-docs
- Merge branch \'main\' into codex/align-with-raycast-store-docs
- Update convert-icon.svg
- Implement barcode clip and convert Raycast commands
- Standardize Raycast action panel icons and titles
- Update store copy and local CLI guidance
- Update README and remove stale command plans
- Added line-height, paper and shavian commands
- Merge pull request #1 from abeldebruijn/codex/add-colorblind-sim-command
- Use SVG previews for contrast swatches
- Serialize swatch PNG writes by path
- Clear stale contrast preview before regenerating
- Merge remote-tracking branch \'origin/main\' into codex/add-colorblind-sim-command
- Refactor harmony and colorblind to direct detail views
- Add SVG icons for core color tools
- Update progress.md
- Added text to swatches
- Use new local image path instead of a hosted solution
- Remove stray SVG from colorblind preview markdown
- colour-blind-sim
- Add README for delphitools Raycast extension
- Added harmony
- added image to contrast checker
- added contrast checker
- added SHA-1 as hash encode option
- Added hash command
- Added optional arguments
- Add encode and decode Raycast commands
- Add Raycast glossary terms and command metadata
- Document delphitools commands and progress tracking

* Added changelog

* Delete CHANGELOG.md

* Add Raycast version history changelog

* Remove dead command files and use generated preferences

* refactor(image-output): streamline image processing modules
- Replace custom output handlers with `getImageOutputFiles`
- Simplify result rendering with `ImageResults` component
- Update dependencies for improved performance and maintainability
- Remove redundant code for cleaning up file operations

* chore(dependencies): remove unnecessary @raycast/utils
- Delete @raycast/utils from package.json dependencies
- Simplify the dependencies for the extension

* Update CHANGELOG.md and optimise images

---------

Co-authored-by: Dhruv Suthar <[email protected]>
Co-authored-by: raycastbot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new extension Label for PRs with new extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants