Rammerhead runs as a Node.js server. You clone the repository, install dependencies, build the client scripts, and start the server. The whole process takes a few minutes on any machine with Node.js v16 or later installed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/binary-person/rammerhead/llms.txt
Use this file to discover all available pages before exploring further.
Check prerequisites
Rammerhead requires Node.js v16 or later. Verify your version before continuing:If your version is below v16, update Node.js from nodejs.org before proceeding.
Clone the repository and install dependencies
Clone the Rammerhead repository and install its dependencies:The
preinstall script runs npm-force-resolutions to pin the tmp dependency to a stable version. This is normal and expected.Build the client scripts
Rammerhead injects client-side scripts into proxied pages. You must build these before starting the server:This produces minified versions of the hammerhead client script that get served to browsers.
Configure the proxy
Open
src/config.js and adjust the settings for your environment. The two most important options to review before your first run are:Access a URL through the proxy
Rammerhead uses a session-based flow. You first create a session, then route traffic through it. Step 1: Create a session Send a GET request to/newsession, passing your password in the pwd query parameter:
https://example.com through a local server:
Check if a password is required
Your client application can discover at runtime whether the server requires a password:Next steps
Configuration reference
Every option in
src/config.js documented with types, defaults, and examples.Sessions
Learn how sessions store cookies and localStorage, and how to manage them.