lightweight, simple frida agent compiler & API
- Python 3.x
- A Unix-like environment (Linux, macOS, or WSL)
This project does not require any manual package installation via pip. The only external dependency, bottle.py, is a single-file library that the start script downloads automatically on the first run.
To get started, clone the repository and execute the start script. The script handles everything for you.
git clone https://github.com/AbhiTheModder/frida-agent-api
cd frida-agent-api
./start # or bash startNow you can either visit the frontend page to use as GUI or API to use in your project, scripts, CLI:
- Sending a TS File
curl -X POST "http://localhost:8000/compile" \ -F "file=@/path/to/my/script.ts" \ --output _agent.js
- Sending a Text Snippet
curl -X POST "http://localhost:8000/compile" \ -F "snippet=console.log('Hello from Frida Agent');" \ --output _agent.js
- Why?
Modern Frida versions require a tedious setup: initializing projects with
frida-create, managing bridges (Starting with Frida 17.0.0, bridges are no longer bundled with Frida’s GumJS runtime), and manual compilation. These steps are often challenging (at the time of writing this) in environments like Termux, wherefrida-compilefrequently fails.
This project automates the entire workflow. Simply provide your script, and the tool handles project creation, dependency management, and compilation for you.