Abdur-rahman-01/GreenPrompts — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me GreenPrompt, a simple working prototype that helps people use AI with less environmental impact.

I want a Chrome extension that appears on ChatGPT, Claude, and Gemini before someone sends a prompt. It should analyze the prompt, show a clear Green Score, estimate energy, CO₂, water, and cost, then recommend whether a small, medium, or full model is enough. Keep it friendly and easy to understand.

Also build a browser playground where I can type a prompt and see the small, medium, and full model options side by side, including their environmental comparison and the actual response when routed.

Use a Python FastAPI backend with endpoints for health, analyzing prompts, routing prompts, and feedback. Use a fast local rule based classifier first, then only use Gemini Flash when the prompt is unclear. Route model calls through Groq. Keep the frontend plain HTML, CSS, and JavaScript with no heavy framework. Add setup instructions and make it easy to demo locally with API keys in an env file.

Want more depth? Deep Reverse