Crutched-programmer/Sashell
An AI powered Bash Shell that is perfect for people who are using it for the first time.
What's novel
An AI powered Bash Shell that is perfect for people who are using it for the first time.
Code Analysis
7 files read · 5 roundsA single-file Python terminal shell wrapper that intercepts Linux commands, optionally sends them to the Sarvam AI API for safety/typo/easter-egg judgment before execution, and includes a decorator-based plugin system for adding features like weather and IP lookup.
Strengths
The plugin system is genuinely functional with a clean decorator pattern, runtime enable/disable, and a well-structured context-passing mechanism. The weather plugin shows real implementation depth with proper HTTP handling, JSON parsing, color-coded terminal output, and graceful error recovery.
Weaknesses
The entire application is crammed into a single 80KB file with no separation of concerns — the AI integration, shell loop, TTS, themes, plugins, and main loop all live in one monolithic script. There are zero tests, and the hardcoded API key placeholder ('YOUR_API_KEY') alongside the claim of env-var support suggests incomplete configuration handling.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
42
Contributors
1
Files
22
Active weeks
3
Repository
Language
TeX
Stars
1
Forks
0
License
MIT