A rule-based chatbot built for college students. No AI, no API keys, no internet needed — just patterns and responses.
- Academics — essay writing, research tips, exam prep, citations, group projects, focus and motivation
- Campus life — making friends, managing money, dorm life, time management, mental health
- Bureaucracy — enrollment, student ID, transcripts, scholarships, visas, deferral
- Jokes — 37 PG jokes cycling through knock knock, dad jokes, one-liners, and riddles
npm installnpm run devhttp://localhost:3000
npm run build
npm start- Next.js 14 (App Router)
- TypeScript
- Tailwind CSS
- 100% rule-based — no AI, no external APIs
campusbot/
app/
page.tsx ← the entire chatbot (rules + UI)
layout.tsx ← root layout
globals.css ← base styles
package.json
next.config.js
tsconfig.json
tailwind.config.js
postcss.config.js
Every message you send is tested against a list of regular expressions. The first match returns the corresponding response. Chip buttons send exact strings that are guaranteed to match a pattern. If nothing matches, a fallback message is returned.
No neural networks. No training. No API calls. Just if-this-then-that at scale.