News for hackers. Stuff that matters.
Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by arshxyz on Thursday January 02, 2025 @03:26AM (#42572720)
Interesting project, I've often looked for something like this but haven't found anything that does the job. I'm on a mac and can't wait to try this out. Can I ask what you're using adblock-rs for?
Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by pvarghav on Thursday January 02, 2025 @05:40AM (#42573351)
Glad you like the project! I'm working on getting the macOS version built and released as soon as possible. If you'd like to be notified when it's ready, you can sign up for the newsletter here: https://apiparrot.com/#newsletter.

As for adblock-rs, I'm using it to detect and automatically disable requests related to ads and other unnecessary stuff. This helps cut down on noise and saves some time for developers.

Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by arshxyz on Thursday January 02, 2025 @06:19AM (#42573533)
I was able repackage it for macOS. I can help you test it too. Shot you an email at [email protected]
Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by sumedh on Friday January 03, 2025 @07:16AM (#42584987)
How were you able to do without the source code?
Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by arshxyz on Saturday January 04, 2025 @12:18AM (#42592638)
I extracted the zip, found the electron build folder, replaced a string in the minified code to launch Chrome on macOS correctly and ran electron-packager with the target being macos.

Patching electron apps is fairly common. You can take a look at Spicetify or BetterDiscord to see the process in more detail

Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by sumedh on Saturday January 04, 2025 @12:58AM (#42592784)
Oh wow, didn't know that was possible. Thanks for sharing.