Al Jarreau Arman MaulanaandClaude Opus 4.6 24c8828e71 Fix macOS hash patching and update dependencies
On macOS, the integrity hash is stored in Info.plist, not embedded in
the executable binary. Added patchInfoPlistHash() and platform branching
so macOS patches Info.plist while Windows/Linux patch the binary.

Also updated dependencies for compatibility:
- @electron/asar 4.0.1 → 4.1.0 (named export change)
- chalk 4 → 5.6.2 (tagged template → function call syntax)
- @types/node 20 → 25

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 17:08:12 +07:00
2025-10-23 20:31:50 +02:00
2026-03-17 00:29:26 +01:00
2025-10-23 20:31:50 +02:00

HTTP Toolkit Patcher

A minimal, cross-platform patcher for HTTP Toolkit that removes subscription requirements.

WindowsTerminal_BsiVsdyUoj

Why?

I don't feel like paying a monthly subscription for an HTTP proxy/interceptor. A lifetime license? Sure. But subscription-based for a dev tool? No thanks.

How It Works

The patcher intercepts HTTP Toolkit's authentication functions:

  • isPaidUser
  • isLoggedIn
  • userHasSubscription
  • userEmail
  • mightBePaidUser
  • isPastDueUser

By hooking these functions, we bypass the subscription checks entirely.

Installation

  1. Install Node.js (if not already installed)
  2. Install dependencies:
npm install

Usage

Patch HTTP Toolkit:

npm start

Unpatch/Restore:

npm run unpatch

Show help:

npm start help

That's it. The patcher handles everything automatically and will request elevated permissions if needed.

Technical Details

  1. Finds HTTP Toolkit installation
  2. Kills running processes
  3. Requests elevation if needed
  4. Backs up app.asar
  5. Extracts and patches preload.js
  6. Repackages and launches

Troubleshooting

Permission errors? The patcher will automatically request elevated permissions (admin/sudo).

Already patched? The patcher will ask if you want to repatch.

Want to restore? Run npm run unpatch to restore from backup.

Anything else? Open an issue on the GitHub repository.

Disclaimer

This tool is provided as-is. Use at your own risk. For educational purposes only.

License

MIT License - see LICENSE file.

S
Description
No description provided
Readme MIT
117 KiB
Languages
JavaScript 100%