个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Trained Ai specialized in programing
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A privacy-first AI assistant and developer platform — free to start, with specialist agents, client-side data redaction, and a desktop coding agent.
Grg AI is a web chat assistant (grg-ai.com) plus GrgCode, an Electron desktop coding agent. It routes your question to the best available model (Claude, GPT-5, Gemini, or free Grg models), can build apps/sites/documents/images, help with hardware and robotics, and run a library of specialist agents with optional client-side PII redaction.查看完整 README ↗A privacy-first AI assistant and developer platform — free to start, with specialist agents, client-side data redaction, and a desktop coding agent.
Live: https://grg-ai.com · Desktop app: GrgCode (Windows) · Author: Monescu Teodor
Grg AI is a web chat assistant (grg-ai.com) plus GrgCode, an Electron desktop coding agent. It routes your question to the best available model (Claude, GPT-5, Gemini, or free Grg models), can build apps/sites/documents/images, help with hardware and robotics, and run a library of specialist agents with optional client-side PII redaction.
Grg_Ai/
├── grgai/ » the web app (FastAPI backend + single-page frontend)
│ ├── server.py » API: chat, agent, images, docs, share/publish, SEO
│ ├── billing.py » credits, two-bucket economics, per-message pricing
│ ├── stripe_handler.py » Stripe checkout + webhooks + daily limits
│ ├── nhash_handler.py » crypto (nHash) payment verification
│ ├── docgen.py » .pptx / .xlsx / .docx generation
│ ├── static/ » index.html (the whole SPA), privacy/terms/share pages
│ ├── knowledge/ » 35 skill docs the backend injects on demand
│ └── .env.example » required environment variables (no real secrets)
├── grg-code-app/ » GrgCode — the Electron desktop coding agent
│ ├── main.js » Electron main + agent loop + tools + MCP client
│ ├── preload.js, renderer/
│ ├── knowledge/, templates/
│ └── package.json » electron-builder config (single portable .exe)
└── (root) » the original early version is kept for history
Secrets are never committed. All keys come from the environment — see grgai/.env.example.
Browser / GrgCode
│ HTTPS (TLS 1.3, Cloudflare tunnel)
▼
grg-ai.com ──► Raspberry Pi 4 ──► FastAPI (uvicorn, systemd: grgai.service)
│ reads keys from /home/pi/GrgAI/.env
├─► Groq (free models, tool-calling)
├─► OpenRouter (premium: Claude/GPT-5/Gemini)
└─► Firebase (auth + Firestore: users, billing)
index.html (inline CSS/JS) served at /.AutoGrg is the default model. On each message the backend:
hardware, app_build, code, research, general./api/models/status): which Groq models are live and whether OpenRouter has credit.gpt-oss-120b), with a lighter "clean Markdown, be efficient" directive.The picker is intentionally curated to the recognizable brands; every other model stays defined and routable inside the AutoGrg pool.
Premium models only run when OpenRouter has credit AND the user has a paid plan or wallet credits.
Usage is charged per message, by how heavy the model is and how hard it works (effort) — not per word. Every message costs credits, including free models, so usage is always metered. There are two separate buckets so margin is guaranteed:
Each premium message costs real_API_cost x MARKUP credits (a flat amount per model x effort, derived from an assumed message size), so spending the whole bucket can never cost more real API than the plan paid for. Example: a GrgUltra user burning everything on the most expensive model stays profitable for the operator.
billing.py and are easy to tune.Note: payments are currently in Stripe test mode and OpenRouter is unfunded, so no real money moves yet. The system is wired and margin-safe for when it goes live.
Grg AI stays a normal chatbot, but you can pick a specialist agent from a large list, each with its own expertise and style.
The picker has a "+ Create your own agent" option. You set a name, category, short description, system prompt, and an optional privacy flag. Custom agents are saved per device (browser localStorage), appear in a "Your Agents" section, and can be edited or deleted.
When a PRIVATE agent is active, the frontend runs a client-side PII redaction pipeline before anything leaves your device:
[EMAIL_1], [IBAN_1], [SECRET_1].Limitation: person names are not redacted yet (reliable name detection needs a dedicated NER model). All structured PII above is covered.
Grg Image and premium image models..pptx, .xlsx, or .docx.POST /api/share stores a read-only snapshot and returns a public link grg-ai.com/s/<id> with a self-contained viewer.POST /api/publish hosts the HTML from the preview at grg-ai.com/p/<id>. It is served with a Content-Security-Policy: sandbox header, so the page runs in an opaque origin: it can run its own scripts and CDNs but cannot read grg-ai.com cookies or localStorage. Safe multi-tenant hosting.grgai/knowledge/*.md holds 35 in-depth docs (web, mobile, desktop, backend, databases, auth, testing, DevOps, games, Arduino, ESP32, microcontrollers, robotics, PID, kinematics/IK, ROS 2, computer vision, and more). On each chat the backend matches the question and injects the single best doc, so answers have real depth without blowing the token budget.GET /img?q=...&w=&h=, which 302-redirects to a real photo. Models embed <img src="https://grg-ai.com/img?q=..."> so generated pages show genuine images, not placeholders.signInWithPopup). For Google to work in production the domain must be listed under Firebase Authentication » Settings » Authorized domains.<title> and meta description, Open Graph and Twitter cards, and JSON-LD WebApplication structured data.<noscript> fallback for crawlers that do not run JavaScript.GET /robots.txt (allows indexing, points to the sitemap) and GET /sitemap.xml..env; they are never sent to the browser and never committed. See grgai/.env.example.Selected endpoints (all under https://grg-ai.com):
| Method | Path | Purpose |
|---|---|---|
| POST | /api/chat | Streaming chat (SSE); AutoGrg routing, per-message credit charge |
| POST | /api/agent · /api/agent/stream | The desktop agent's brain (tool-calling, SSE) |
| GET | /api/models/status | Which models are live right now |
| GET | /api/account?uid= | Credits, plan, usage snapshot |
| POST | /api/create-checkout | Stripe checkout for GrgPro / GrgUltra |
| POST | /api/create-topup · /api/topup-confirm | Wallet top-ups |
| POST | /api/webhook | Stripe webhook (activates plans, credits top-ups) |
| GET | /api/images/search · /img | Real-photo search and redirect |
| GET | /api/web/search | Keyless web search (DuckDuckGo) |
| POST | /api/doc/generate | Render a spec into .pptx / .xlsx / .docx |
| POST | /api/share · GET /s/{id} | Share a conversation (read-only) |
| POST | /api/publish · GET /p/{id} | Publish a generated page (sandboxed) |
| GET | /robots.txt · /sitemap.xml | SEO |
grg-code-app/ is an Electron desktop coding agent (like a local pair-programmer). It talks to the same backend and runs an agentic tool loop on your machine with per-action approval.
mcp__* tools..grgcode/mcp.json and spawns MCP servers over stdio, exposing their tools to the agent.electron-builder --win portable produces a single portable .exe (no install) that bundles the knowledge and templates.cd grgai
python -m venv venv && . venv/bin/activate # Windows: venv\Scripts\activate
pip install fastapi uvicorn httpx stripe firebase-admin pillow python-pptx openpyxl python-docx
cp .env.example .env # then fill in your keys
python server.py # serves on http://localhost:8000
Fill .env with: GROQ_API_KEY, OPENROUTER_API_KEY, STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_PRICE_ID*, FRONTEND_URL.
On the production host the frontend is one static file: deploying the site is copying static/index.html. Deploying the backend is copying server.py and restarting the grgai service.
cd grg-code-app
npm install
npm start # run in dev
npm run dist # build the single portable .exe (electron-builder)
Live now: chat with AutoGrg routing, curated models, two-bucket margin-safe credits (every message is metered, free models included), GrgFree/GrgPro/GrgUltra plans, 26 specialist agents + custom agents with client-side PII redaction, Share and Publish, document/image generation, the knowledge base, email + Google auth, SEO, and the GrgCode desktop app.
Pending / future:
Built by Monescu Teodor. (C) 2026.