Paste a freelance contract, client brief, or work agreement. Redline marks up the risky clauses inline — right in your document — and explains what's wrong and how to fix it, in plain English.
Built for freelancers who don't have a lawyer to check a brief before they sign it.
- Paste your contract or brief text
- Redline sends it to Claude with a structured prompt that checks for common freelance risks: vague payment terms, missing kill fees, unlimited revisions, scope creep, unfavorable IP terms, unrealistic deadlines, missing termination clauses, and overly broad exclusivity
- Risky clauses are highlighted directly in your pasted text (like real contract markup), color-coded by severity
- Click any highlight to see the issue and a suggested fix
- Next.js 16 (App Router) + TypeScript
- Tailwind CSS v4
- Claude API (Anthropic) for contract analysis, structured JSON output
git clone <your-repo-url>
cd redline
npm installCreate a .env.local file in the project root and set one of these
(Claude is used if both are present):
ANTHROPIC_API_KEY=your_key_here
or, as a free no-card alternative, a Gemini key from aistudio.google.com:
GEMINI_API_KEY=your_key_here
Then run the dev server:
npm run devOpen http://localhost:3000. Click "Try a sample" to see it work immediately, or paste your own contract text.
Deploys cleanly to Vercel — push to GitHub, import the repo on Vercel, add
ANTHROPIC_API_KEY as an environment variable, deploy.
- The analysis prompt requires the model to return verbatim excerpts from the input, which is what allows exact inline highlighting of the source text (not just a generic list of issues).
- No database — the app is intentionally stateless for v1 (paste → analyze → results). This kept the scope tight enough to ship solo in the hackathon window while still landing a strong end-to-end demo.