An AI-powered climate science tutor built for students aged 13β20. Ask anything about climate change, or bust common myths powered by Featherless AI.
- π¬ Ask Mode Ask any climate science question in plain language
- π Myth Buster Mode Paste a climate claim and get a TRUE / FALSE / PARTLY TRUE verdict
- πΏ Topic Cards Quick-start buttons for Global Warming, Clean Energy, Biodiversity & more
- β‘ Instant responses Incremental DOM updates, no page reloads
- π± Fully responsive Works on mobile, tablet and desktop
- π¨ Dark forest theme Beautiful, student-friendly UI
π https://codenimra.github.io/ClimateChat
| Layer | Technology |
|---|---|
| Frontend | Vanilla JavaScript (ES Modules) |
| Bundler | Vite 5 |
| AI Model | Qwen 2.5 7B via Featherless AI |
| Styling | Pure CSS with CSS Variables |
| Fonts | Playfair Display + DM Sans |
| Deploy | GitHub Pages via gh-pages |
ClimateChat/
βββ index.html # App shell
βββ vite.config.js # Vite config
βββ package.json
βββ .gitignore
βββ src/
βββ main.js # Entry point, event listeners
βββ config.js # API key & model settings (gitignored)
βββ api.js # Featherless AI API call
βββ render.js # DOM rendering functions
βββ state.js # App state
βββ data.js # Topics, myths, system prompt
βββ style.css # All styles
git clone https://github.com/codeNimra/ClimateChat.git
cd ClimateChatnpm installCreate src/config.js:
export const CONFIG = {
API_KEY: "your-featherless-api-key",
MODEL: "Qwen/Qwen2.5-7B-Instruct",
MAX_TOKENS: 1000,
API_URL: "https://api.featherless.ai/v1/chat/completions",
};Get a free API key at featherless.ai
npm run dev
# Open http://localhost:3000npm run deployClimaChat is built for the GenAI Devs Hackathon under the theme Code with Purpose. Build for Humanity.
Climate change is one of the most pressing issues of our time, yet many students find climate science intimidating or confusing. ClimaChat bridges this gap by making climate education:
- Accessible available 24/7, completely free
- Engaging conversational AI instead of textbooks
- Empowering students learn facts to fight misinformation
MIT free to use, modify and distribute.