{"id":14959630,"url":"https://github.com/spignelon/nollama","last_synced_at":"2025-10-06T08:32:26.624Z","repository":{"id":254397351,"uuid":"846399969","full_name":"spignelon/nollama","owner":"spignelon","description":"NoLlama is a lightweight terminal-based alternative to Ollama, enabling interaction with large language models like GPT-4o and LLaMA 70B directly from your terminal. It offers a sleek UI, multiple model choices, colorful markdown rendering, and low memory usage, all without needing a browser.","archived":false,"fork":false,"pushed_at":"2024-11-05T16:24:17.000Z","size":39,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-16T04:51:18.088Z","etag":null,"topics":["chatbot","chatgpt","claude","g4f","gpt4","gpt4all","gpt4free","llama3","llm","llms","mistral","mixtral","ollama","python","terminal-ai"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/nollama/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spignelon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-23T06:02:13.000Z","updated_at":"2024-11-05T16:29:01.000Z","dependencies_parsed_at":"2024-12-03T17:28:49.840Z","dependency_job_id":"8a5c8826-3fc5-4e85-a79e-413625e46a33","html_url":"https://github.com/spignelon/nollama","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"f6e9a5d6be487fec81d47a25a8343513e04217de"},"previous_names":["spignelon/nollama"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fnollama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fnollama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fnollama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fnollama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spignelon","download_url":"https://codeload.github.com/spignelon/nollama/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235515426,"owners_count":19002481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","chatgpt","claude","g4f","gpt4","gpt4all","gpt4free","llama3","llm","llms","mistral","mixtral","ollama","python","terminal-ai"],"created_at":"2024-09-24T13:20:17.162Z","updated_at":"2025-10-06T08:32:26.613Z","avatar_url":"https://github.com/spignelon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NoLlama\n\nNoLlama is a terminal-based interface for interacting with Google's Gemini API directly from your terminal. Inspired by [Ollama](https://ollama.com/), NoLlama provides a streamlined experience for chatting with Gemini models like Gemini 2.0 Flash, Gemini 2.5 Flash Preview, and Gemini 2.5 Pro Preview, etc. **Ollama, Groq and OpenRouter support will be added soon**.\n\nNoLlama offers a neat terminal interface for powerful language models that aren't easily available for local execution, complete with colorful markdown rendering, multiple model choices, and efficient memory usage.\n\n![NoLlama](https://i.imgur.com/0ZOaXwv.png)\n\n## Features\n\n- **Google Gemini Models:** Access to powerful models like Gemini 2.0 Flash, Gemini 2.5 Flash Preview, and Gemini 2.5 Pro Preview.\n- **Multi-turn Conversations:** Maintain context between prompts for more coherent conversations.\n- **Neat Terminal UI:** Enjoy a clean and intuitive interface for your interactions.\n- **Live Streaming Responses:** Watch responses appear in real-time as they're generated.\n- **Colorful Markdown Rendering:** Rich text formatting and syntax highlighting in your terminal.\n- **Low Memory Usage:** Efficient memory management makes it lightweight compared to using a browser.\n- **Easy Model Switching:** Simply type `model` in the chat to switch between models.\n- **Clear Chat History:** Type `clear` to clear the chat history.\n- **Exit Commands:** Type `q`, `quit`, or `exit` to leave the chat, or use Ctrl+C or Ctrl+D.\n\n## Setup\n\n1. **API Key Configuration:**\n\n   Create a `.nollama` file in your home directory with your Gemini API key:\n\n   ```bash\n   echo \"GEMINI=your_api_key_here\" \u003e ~/.nollama\n   ```\n   \n   You can get a free API key from [Google AI Studio](https://aistudio.google.com/).\n\n2. **Installation:**\n\n   a. Install from PyPI (recommended):\n\n   ```bash\n   pip install nollama\n   ```\n\n   b. Or clone and install from source:\n\n   ```bash\n   git clone https://github.com/spignelon/nollama.git\n   cd nollama\n   pip install -e .\n   ```\n\n3. **Run NoLlama:**\n\n   ```bash\n   nollama\n   ```\n\n## Usage\n\n- **Select a Model:** At startup, choose from available Gemini models.\n- **Chat Normally:** Type your questions and see the responses with rich formatting.\n- **Switch Models:** Type `model` in the chat to choose a different model.\n- **Clear Chat:** Type `clear` to clear the chat history.\n- **Exit:** Type `q`, `quit`, or `exit` to leave the chat, or press Ctrl+C or Ctrl+D.\n\n# Todos\n- [x] Add context window\n- [ ] Web interface\n- [ ] Add support for Groq\n- [ ] Add support for OpenRouter\n- [ ] Add support for Ollama API\n- [ ] Support for custom APIs\n\n## Contribution\n\nContributions are welcome! If you have suggestions for new features or improvements, feel free to open an issue or submit a pull request.\n\n## Disclaimer\n\nNoLlama is not affiliated with Ollama. It is an independent project inspired by the concept of providing a neat terminal interface for interacting with language models.\n\n## License\n\nThis project is licensed under the [GPL-3.0 License](LICENSE). \u003cbr\u003e\n[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](https://www.gnu.org/licenses/gpl-3.0.en.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspignelon%2Fnollama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspignelon%2Fnollama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspignelon%2Fnollama/lists"}