signup
Easily sign up for Eyeroll and obtain your first API key.
Sign up for eyeroll and get your first free API key.
Usage
/eyeroll:signup
Steps
-
Ask the user for their email address if it wasn't provided as an argument.
-
Set
EYEROLL_API_URLtohttps://api.eyeroll.devif not already set in the environment. -
Call the signup endpoint:
curl -s -X POST "$EYEROLL_API_URL/signup" \
-H "Content-Type: application/json" \
-d "{\"email\": \"<EMAIL>\"}"
-
On success, display the result clearly:
- API key: the
api_keyvalue (this is the bearer token) - Key ID:
key_id(used to manage this key later) - Key name:
key_name
- API key: the
-
Tell the user to save the key and set these environment variables:
export EYEROLL_API_KEY=<api_key>
export EYEROLL_API_URL=https://api.eyeroll.dev
Suggest adding them to ~/.zshrc, ~/.bashrc, or their project .env.
-
Confirm: once
EYEROLL_API_KEYis set,eyeroll watch <url>will automatically use the hosted API — no Gemini or OpenAI key needed. -
Note: calling
/eyeroll:signupagain with the same email is safe — it returns the existing account's key without creating duplicates.