LeonardLeroy / EcoCode
PublicA CLI toolkit for optimizing energy efficiency in software projects, leveraging local AI to promote sustainable development practices
EcoCode is an open-source toolkit that measures the energy efficiency of code scripts and repositories, detects regressions, provides optimization suggestions, and tracks improvements over time.
How It Works
You hear about a friendly tool that checks how much energy your programs use, helping make them greener and faster.
You add the tool to your work folder with a simple setup, and it's ready to help right away.
Pick any script file, run a quick check, and get a clear report on its power use, thinking time, and memory needs.
Record the current energy snapshot as your baseline to spot if changes make things better or worse later.
The tool reviews your code and shares easy tips to cut energy waste while keeping everything working the same.
It looks across all your files, adds up total energy costs, and highlights the biggest power users.
Your programs now sip energy instead of guzzling it, run smoother, and you're proud of building sustainably.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.