QueryQuant is a lightweight tool to track how often you ask AI questions — and turn AI usage into a daily habit.
Instead of focusing on what AI can do, QueryQuant focuses on how consistently you use AI as a thinking partner.
Think of it as a GitHub contribution graph — but for AI-assisted thinking.
I recently heard an idea that really motivated me:
If you ask ChatGPT 100 questions a day and keep digging deeper,
you’ll grow incredibly fast.
That made me wonder:
- How many questions do I actually ask AI every day?
- What would happen if I really asked 100 questions daily?
QueryQuant was built to answer that question — not with motivation,
but with data.
🎥 YouTube Demo:
https://youtu.be/Q6UUWAXrX4A
-
Daily AI Query Tracking
- Track how many AI questions you ask each day
-
Two Ways to Log Queries
- Built-in AI chat with automatic counting
- Manual
+1logging for external tools (ChatGPT, Gemini, etc.)
-
Question History Sidebar
- View and revisit previous questions
- Quickly jump back to earlier parts of your thinking
- Helps with reflection and thought review
-
Usage Dashboard
- Daily query count
- Active days
- Trend over time
- GitHub-style contribution graph
QueryQuant is a frontend-only application.
- You bring your own AI API key (Gemini / OpenAI)
- All data is stored locally in your browser
- No accounts, no backend, no tracking servers
- Queries are counted automatically in the built-in chat
- External AI usage can be logged manually
This keeps everything simple, private, and transparent.
This repository contains everything you need to run the app locally.
You can also view the app in AI Studio:
https://ai.studio/apps/drive/1pSyM3nYpzR0n20xOtJ1cv0uFPUZREnQc
Make sure you have the following installed:
- Node.js (recommended: Node 18+)
- npm (comes with Node.js)
You can verify by running:
node -v
npm -vgit clone https://github.com/UrBaneee/queryquant.git
cd queryquantIf you already downloaded the code as a ZIP, just cd into the project folder (the one that contains package.json).
npm installQueryQuant supports a built-in chat interface that can call AI providers using your own API key.
There are two common ways to set keys:
- Start the app (see Step 4)
- Open Settings in the UI
- Paste your API key (Gemini / OpenAI / ...)
- Save
Keys are stored locally in your browser storage. No backend is involved.
Create a file named .env.local in the project root:
touch .env.localAdd your API keys:
# Gemini
VITE_GEMINI_API_KEY=your_gemini_api_key_here
# OpenAI
VITE_OPENAI_API_KEY=your_openai_api_key_hereNote: In a Vite project, environment variables must start with
VITE_to be accessible in the frontend.
npm run devVite will output a local URL, usually:
Open it in your browser.
- Ask questions in the built-in chat → queries are counted automatically
- If you used ChatGPT or Gemini elsewhere → click Log External Query (+1)
- Visit the Dashboard to view:
- Queries today
- Active days
- Trends over time
- Contribution graph
If port 5173 is taken, Vite will automatically use another port. Check the terminal output for the correct URL.
- Make sure the key is copied correctly
- Ensure your AI provider account has API access and billing enabled
- If you edited
.env.local, restart the dev server:- stop with
Ctrl + C - run
npm run devagain
- stop with
This is expected in some cases.
The app sends direct API requests and handles responses entirely on the client, while ChatGPT's official UI benefits from server-side optimizations.
npm run build
npm run previewbuildcreates a production-ready bundlepreviewserves it locally for testing
- Developers learning AI tools
- Students building AI-assisted study habits
- Researchers tracking AI usage
- Builders exploring AI agent workflows
- Anyone who wants to treat thinking as a habit
-
API Cost
- Since you connect your own AI API key, usage may incur small costs depending on the provider.
-
Response Speed
- The built-in chat may be slightly slower than ChatGPT’s official interface due to direct API calls and frontend handling.
These trade-offs were made to keep the app simple, transparent, and fully client-side.