How divyanshjha30/aitalk works
aitalk is a terminal-based AI assistant with five user-facing capabilities: React project generation, shell-command explanation, file summarization, Git summaries, and interactive chat. The CLI dispatches requests to feature modules; those modules gather or transform input, call Groq where needed, and print results. Project generation additionally creates files and runs Git/npm commands. The tree contains macOS and Windows copies; the graph emphasizes the excerpted macOS runtime and includes the substantial Windows project builder. Unsampled subsystems and platform-specific wiring are represented only where README or index evidence supports them.
Main entry points: groq_client.py Groq client · aitalk.py Python CLI · mac _files/project_builder.py React project builder · windows_files/project_builder.py Windows project builder
Components 16
CLI entry
- Python CLI
mac _files/aitalk.py
Assistant features
- Command explainer
mac _files/explain_utils.py - File summarizer
mac _files/summarise_utils.py - Git summarizer
mac _files/git_summary_utils.py - Interactive chat
mac _files/chat_utils.py
Project generation
- React project builder
mac _files/project_builder.py - Windows project builder
windows_files/project_builder.py
LLM and system
- Filesystem helpers
mac _files/system_utils.py - Groq client
mac _files/groq_client.py
Other components
- Terminal user
- Groq API
- Shell session log
- Text, PDF, DOCX
- Git repository
- Generated project files
- Git and npm
Connections 23
- Terminal user → Python CLI: selects feature
README.md - Python CLI → React project builder: dispatches
mac _files/aitalk.py - Python CLI → Command explainer: dispatches
mac _files/aitalk.py - Python CLI → File summarizer: dispatches
mac _files/aitalk.py - Python CLI → Git summarizer: dispatches
mac _files/aitalk.py - Python CLI → Interactive chat: dispatches
mac _files/aitalk.py - Command explainer → Shell session log: reads commands
mac _files/explain_utils.py - Command explainer → Groq client: requests explanation
mac _files/explain_utils.py - File summarizer → Text, PDF, DOCX: extracts text
mac _files/summarise_utils.py - File summarizer → Groq client: requests summary
mac _files/summarise_utils.py - Git summarizer → Git repository: reads status and log
mac _files/git_summary_utils.py - Git summarizer → Groq client: requests summary
mac _files/git_summary_utils.py - Interactive chat → Terminal user: prompts and replies
mac _files/chat_utils.py - Interactive chat → Groq client: sends conversation
mac _files/chat_utils.py - React project builder → Groq client: generates project content
mac _files/project_builder.py - React project builder → Filesystem helpers: creates and writes
mac _files/project_builder.py - React project builder → Generated project files: writes project
mac _files/project_builder.py - React project builder → Git and npm: runs setup commands
mac _files/project_builder.py - Windows project builder → Groq client: requests generation
windows_files/project_builder.py - Windows project builder → Filesystem helpers: uses filesystem helpers
windows_files/project_builder.py - Windows project builder → Generated project files: writes project
windows_files/project_builder.py - Windows project builder → Git and npm: runs setup commands
windows_files/project_builder.py - Groq client → Groq API: sends prompt
mac _files/groq_client.py