An AI-powered command-line tool that generates beautifully formatted, article-style answers using Google's Gemini Model.
Bridging the Quality Gap Hold up your hand with your thumb and index finger about one inch apart. That small gap often marks the difference between a good experience and a truly exceptional one. In our latest release of @synthara-company, weβve focused on bridging that gap by refining the interface, enhancing article formatting, and optimizing performance to deliver faster, more reliable responses.
Every update is driven by the question, "Can this be even better?" With improvements inspired by your feedback and our dedication to quality, this release ensures that every interaction with Synthara is more polished and intuitive than ever before.
For full details on the changes, please visit our changelog page.
Synthara is a sophisticated newspaper-style AI CLI powered by Google's Gemini models. It transforms your queries into elegantly formatted articles directly in your terminal. The responses are presented with professional formatting, including headers, sections, and proper markdown styling.
- For Students: Get well-structured, educational content for research and learning
- For Writers: Generate article drafts and creative content with proper formatting
- For Developers: Access AI capabilities with minimal setup in a familiar terminal environment
- For Educators: Create teaching materials and explanations in a readable format
- π° Rich Article Formatting: Responses are structured like professional articles with headers, sections, and proper markdown
- π§ Multiple AI Models: Choose between Gemini models (
flash
,pro
,preview
) for different capabilities and speeds - πΌοΈ Elegant Presentation: Newspaper-style interface with beautiful headers, footers, and typography
- β‘ Fast & Efficient: Lightweight design with minimal dependencies for quick responses
- π API Key Management: Securely save your API key for future sessions
- π» Terminal Native: Works entirely in your terminal with no browser or GUI required
- π§ͺ Developer Friendly: Easy to customize, extend, or integrate into your workflows
Install everything with a single command:
curl -s https://raw.githubusercontent.com/synthara-company/synthara-education-cli/main/setup.sh | bash
This will:
- Create a dedicated installation directory
- Set up a Python virtual environment
- Install all dependencies
- Create a launcher script
After installation, start the application with:
cd ~/synthara-education-cli && ./synthara-education
If you prefer more control over the installation process:
# Clone the repository
git clone https://github.com/synthara-company/synthara-education-cli.git
cd synthara-education-cli
# Create a virtual environment (recommended)
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install google-generativeai rich
# Run the application
python simple_gemini_cli/gemini_chat.py
# Or create a launcher script for easier access
echo '#!/bin/bash\nsource venv/bin/activate\npython simple_gemini_cli/gemini_chat.py' > synthara-education
chmod +x synthara-education
./synthara-education
You'll need a Gemini API key from Google AI Studio. The application will prompt you for this key on first run and securely save it for future sessions.
After installation and launching the application:
- Enter your Gemini API key when prompted (only needed once)
- Type your question or topic after the "READER INQUIRY" prompt
- Receive a beautifully formatted article-style response
- Continue with more questions or exit when done
What are the ethical implications of artificial intelligence?
Explain quantum computing in simple terms
What are the top 5 advancements in renewable energy?
exit
orquit
: End the sessionkey
: Update your API keymodel
: Switch between different Gemini models:flash
: Gemini-1.5-flash (fastest, recommended)pro
: Gemini-1.5-pro (more capable)preview
: Gemini-2.5-pro-preview (experimental)
- Be specific in your queries for more focused articles
- For complex topics, consider breaking them into multiple questions
- Try different models if you're not satisfied with the response quality
- The
flash
model is fastest, whilepro
andpreview
may provide more detailed responses
gemini_cli/
βββ simple_gemini_cli/
β βββ gemini_chat.py # Main CLI entry point
β βββ utils.py # Utility functions
βββ setup-cli.sh # One-command installer
βββ README.md
Pull requests are welcome! Ideas, fixes, or feature suggestionsβgo ahead and contribute.
- Fork the repo
- Create a feature branch
- Submit your PR
Check out contributing guidelines (coming soon).
Made with π‘ and π by Niladri Das
MIT β See license file for more information.
If you liked the project, please consider sharing it! It helps a ton π