Skip to main content

Hacktoberfest Hack Day Chandigarh 2026

Hacktoberfest Hack Day Chandigarh 2026 is a 7-hour open-source AI hackathon organized by IEEE SSIT CUSB in collaboration with IEEE Computer Society CUSB. Build innovative AI-powered solutions, contribute to open source, and turn your ideas into real-world impact.

Jhanjhat : Client ne kuch galat nahi bola. Maine bas ‘haan’ bol diya. Ab 41 ghante ho gaye

About the project

Jhanjhat: read the deal, count the hours, rehearse the call, before you say yes.

The story

It’s 8:15 on a Monday evening and a boutique owner from Jaipur is on the phone. She wants a landing page for her Diwali collection: one page, a gallery, a WhatsApp button. Budget: ₹8,000. You’ve built this a dozen times.

“Ho jayega, ma’am.”

Two seconds of silence. Then: “Ek order form bhi chahiye, aur Instagram feed bhi dikhana hai. Payment launch ke baad kar denge, theek hai?”

You say “haan, dekhte hain.” She hears yes.

Three weeks later you add up the hours: 41 instead of 10. The order form became an order system, the feed became an integration, and there were four rounds of “logo thoda bada karo”. That’s about ₹195 an hour, and the payment is still “next week”.

Nothing here is a coding failure. The money was lost in two seconds of silence on a call, and in terms nobody read closely. Jhanjhat is the Hindi word for this kind of trouble: the hassle that arrives uninvited, politely. This project is a tool for the moment before you say yes.

Why it matters

Freelancers often negotiate alone against clients who negotiate every day. Invoicing and time-tracking tools start after the yes. Advice like “set boundaries” doesn’t survive a live call, but rehearsal does. Jhanjhat gives anyone with a laptop, including those with no lawyer, manager or negotiation coach, a private way to read a deal, count the real hours and practise the hard conversation out loud, in English and Hinglish. Contracts are sensitive, so reasoning runs on the user’s machine.

What it does

  1. Deal analysis. Paste a contract, brief or client chat. Local Gemma returns risky clauses (unlimited revisions, payment after launch, vague deliverables, no kill fee, unclear IP), hidden work, hours as low / likely / high, hidden costs, the effective hourly rate, and a take / renegotiate / walk recommendation with a draft reply.
  2. Practice Room. A live voice call with a pretend client built from your own deal. The risks found in the analysis become the client’s hidden asks. Afterwards a scorecard shows what you gave away for free, with your own words quoted, and rewrites your three weakest replies.
  3. Budget watch. Log hours and get alerts at 70, 90 and 100 percent of the estimate. An out-of-scope check takes a new client request and returns IN_SCOPE or OUT_OF_SCOPE with a suggested price and reply.
  4. Deal memory. Clauses are embedded and stored, so a new deal shows a “you’ve seen this before” card for similar clauses in earlier deals.

(Delete any item above that isn’t working in your build.)

Architecture

                        YOUR MACHINE
 ┌──────────────────────────────────────────────────────────────┐
 │  Browser UI (Next.js)                                        │
 │        │                                                     │
 │        ▼                                                     │
 │  Next.js server routes ───► Ollama: Gemma (all reasoning)    │
 │        │        │                                            │
 │        │        └────────► PostgreSQL + pgvector (Docker)    │
 │        ▼                                                     │
 │  Redactor (plain code: strips emails, phones, UPI, PAN, ...) │
 └────────┼───────────────────────────────────────▲─────────────┘
          │ redacted clause texts                 │ transcript
          ▼                                       │ (after call)
   OpenRouter embeddings                  ElevenLabs agent ◄──► Browser
   (1024-dim vectors back)                (live voice, direct)

Analysis flow: pasted text → Gemma extracts clauses, work items and hours as structured JSON (Zod-validated, one retry) → every quote is verified against the source text in code → rate, totals and alerts are computed in plain TypeScript → clause texts are redacted → one batched embeddings request to OpenRouter → text, vector and keyword index stored in Postgres → hybrid search (70 percent vector, 30 percent full-text) finds similar clauses in earlier deals.

Practice flow: the server asks local Gemma to build a sanitized scenario, picks hidden asks from the risky clauses, and requests a signed URL from ElevenLabs. The browser then talks straight to the ElevenLabs agent, with no custom speech or LLM proxy in between. After the call the server fetches the transcript, Gemma scores the freelancer’s replies, and quotes in the scorecard are verified before it is shown.

How AI is used

  • Gemma (local, via Ollama): every reasoning step: clause extraction, hours estimates, decision, draft replies, scenario sanitizing and the scorecard. It never leaves the machine.
  • OpenRouter: embeddings only (openai/text-embedding-3-small, 1024 dimensions), one batched call per deal, after redaction.
  • ElevenLabs Agents: the live voice client. It is configured with dynamic variables (persona, difficulty, project brief, hidden asks, budget ceiling) and a 5-minute cap.

Trust: the model is never the last word

  • Every flagged clause and work item must quote the source, and quotes are matched in code. If the model invents one, it is dropped and counted.
  • All hours, rates, thresholds and alerts are plain TypeScript, not model output.
  • Every amount in a drafted reply is checked against the computed numbers.
  • Analysis pages say plainly: not legal advice.

Privacy by design

Storage and reasoning are local. Only two things leave the machine: redacted clause text (for embeddings) and a sanitized scenario plus live voice (for the practice call). A “What left this machine” view shows the exact redacted text that was sent.

Tech stack

Next.js, React, TypeScript, Tailwind CSS, shadcn/ui, Prisma, PostgreSQL + pgvector, Docker, Ollama, Gemma, OpenRouter, ElevenLabs Agents, Zod, Vitest, GSAP and Lenis (landing page only).

Built with

geminigemmaelevenlabsopenrouterclaudeollama

AI tools

Coded with

AntigravityCursorOpenCodev0Gemini 3.8 FlashClaude Sonnet 5.5Claude Opus 5.5GPT-6 LunaDeepSeek V4.1 Flash

Prize Categories Entered

  • DigitalOcean

    Best Open-Source AI Project

    Submitted