Powerful AI tools in less than 100 lines each. No bloat, just results.
Because naming variables IS hard, writing READMEs sucks, and your commit messages could use some work.
Tools every developer uses daily:
| Tool | What It Does | Why You Need It | Lines |
|---|---|---|---|
| π Week Recap | "What did I even do this week?" β instant status report | Friday standup panic solver | 65 |
| π README Gen | Generate professional README in 10 seconds | Stop staring at blank README.md | 75 |
| π¬ PR Writer | Write PR descriptions automatically | Never write "fixed stuff" again | 68 |
| π·οΈ Name Variable | Solve the hardest problem in CS | Because temp2_final is not a name |
60 |
Wholesome tools that spark joy:
| Tool | What It Does | Viral Potential | Lines |
|---|---|---|---|
| π Kind Blame | Git blame but encouraging | "We've all been there β" | 70 |
| π₯ Commit Roaster | Get roasted for your terrible commits | "asdf" - Did your cat walk on your keyboard? | 55 |
| π¦ Rubber Duck AI | Debugging buddy that talks back! | Quack quack π¦ | 80 |
Bridge the dev/business gap:
| Tool | What It Does | Career Impact | Lines |
|---|---|---|---|
| π£οΈ Explain to PM | Translate tech to business speak | Make your work understood | 72 |
| πΌ Sound Professional | Make messages professional | No more 3am Slack regret | 65 |
Stay in flow state:
| Tool | What It Does | Time Saved | Lines |
|---|---|---|---|
| π‘ SO Terminal | Stack Overflow without leaving terminal | Stop context switching | 78 |
Get started in under 2 minutes:
# Clone the repo
git clone https://github.com/josharsh/100LinesOfAICode.git
cd 100LinesOfAICode
# Install dependencies
pip install anthropic requests
# Set your API key
export ANTHROPIC_API_KEY=your_key_here
# Try your first tool!
python week-recap/recap.pypython week-recap/recap.py
π Your Week: Nov 18-22, 2025
π― Highlights:
β’ Shipped user dashboard (merged PR #234)
β’ Fixed critical login bug affecting 2.3K users
β’ Code reviewed 12 PRs across 3 repos
π¬ Copy-Paste Ready:
"This week I shipped the user dashboard, resolved a critical
auth bug affecting 2.3K users, and reviewed 12 PRs."
β
Ready for your standup!python roast-commits/roaster.py
π HALL OF SHAME
1. "asdf"
π Did your cat walk on the keyboard?
2. "fix stuff"
π Wow. Such detail. Very helpful.
3. "final FINAL v3"
π Commitment issues much?
π YOUR GRADE: D+
You're better than 12% of developers!python name-it/namer.py
What does this variable store?
> user's email address
π Best: userEmail (camelCase - most common)
Alt: user_email (Python style)
Simple: email (context-dependent)
π‘ Tip: Python uses snake_case for variables!Constraint breeds creativity. When you have 100 lines:
- Every line matters
- No framework bloat
- Easy to understand
- Easy to modify
- Actually read the code in minutes
# LangChain: 10,000+ lines of abstraction
from langchain import complicated_chains
# This repo: Direct and clear
from anthropic import Anthropic
client = Anthropic()
response = client.messages.create(...)You learn more. You understand more. You build better.
The best Udemy courses aren't from MIT professors. The most popular dev tools aren't the most advanced. The most viral tools solve universal problems simply.
We love contributions! Here's how:
- Solve a real problem - Must be something developers actually complain about
- Keep it β€100 lines - Constraint is the feature
- Make it shareable - "OMG look at this!" factor
- Write a great README - Sell the problem, then the solution
See CONTRIBUTING.md for detailed guidelines.
- Pick a tool that solves your problem
- Read the 60-100 line source code
- Understand exactly how it works
- Modify it for your needs
- Share what you built!
Perfect for:
- Understanding AI APIs without frameworks
- Learning practical AI applications
- Seeing production-quality minimal code
- Building your own AI tools
Use these as:
- Daily productivity boosters
- Team culture builders (Kind Blame!)
- Communication improvers
- Code quality maintainers
- GitHub Discussions: Ask questions, share ideas
- Issues: Report bugs, request features
- Twitter: Share your wins with #100LinesOfAICode
- Discord: (coming soon!)
MIT License - see LICENSE file.
Use them. Modify them. Ship them. Make them better.
- Inspired by the #100LinesOfCode movement
- Built for developers who hate bloat
Made for developers.
Star this repo if you:
- Hate writing READMEs
- Forget what you did this week
- Struggle naming variables
- Write "asdf" commits
- Want to sound more professional
- Love simple, working code
β Star on GitHub