{"id":25842106,"url":"https://github.com/mrmendoza-dev/offline-chatbot","last_synced_at":"2025-03-01T05:34:15.365Z","repository":{"id":250513273,"uuid":"834656121","full_name":"mrmendoza-dev/offline-chatbot","owner":"mrmendoza-dev","description":"ChatGPT style interface for working with LLMs offline locally using Ollama.","archived":false,"fork":false,"pushed_at":"2025-02-14T01:20:04.000Z","size":660,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T02:28:21.724Z","etag":null,"topics":["ai","chatbot","chatgpt","llama3","mistral","ollama","react","vite"],"latest_commit_sha":null,"homepage":"https://medium.com/@mrmendoza-dev/offline-chatbots-with-ollama-52dd18f97933","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmendoza-dev.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-07-28T00:17:49.000Z","updated_at":"2025-02-14T01:20:07.000Z","dependencies_parsed_at":"2024-08-01T04:24:40.319Z","dependency_job_id":"5897abb0-2843-4101-97b1-7f0666802351","html_url":"https://github.com/mrmendoza-dev/offline-chatbot","commit_stats":null,"previous_names":["mrmendoza-dev/local-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmendoza-dev%2Foffline-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmendoza-dev%2Foffline-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmendoza-dev%2Foffline-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmendoza-dev%2Foffline-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmendoza-dev","download_url":"https://codeload.github.com/mrmendoza-dev/offline-chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241322560,"owners_count":19944073,"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":["ai","chatbot","chatgpt","llama3","mistral","ollama","react","vite"],"created_at":"2025-03-01T05:34:14.914Z","updated_at":"2025-03-01T05:34:15.357Z","avatar_url":"https://github.com/mrmendoza-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Offline AI Chatbot\n\nA desktop application that provides a clean interface for interacting with Ollama's AI models locally. Chat with AI models without needing internet connectivity after initial setup.\n\n## Features\n\n* Fully offline AI chat capabilities\n* Multiple AI model support through Ollama\n* Support for basic text files, CSVs, and JSON\n* Support for images compatible with select models\n   * LLaVa and Llama 3.2 for example\n* Clean, modern interface  \n* Dark/Light mode support\n* Real-time responses\n* Local data storage\n\n## Prerequisites\n\n1. Install Ollama:\n   * Visit [Ollama's website](https://ollama.com/)\n   * Download and install for your system\n   * Open terminal and verify installation:\n     ```bash\n     ollama --version\n     ```\n   * Pull and run your first model:\n     ```bash\n     ollama pull llama2\n     ollama run llama2\n     ```\n   * Check out my [blog post](https://medium.com/@mrmendoza-dev/offline-chatbots-with-ollama-52dd18f97933) for more information on how to get started with Ollama.\n\n## Setup\n\n1. Clone the repository\n   ```bash\n   git clone https://github.com/yourusername/offline-chatbot.git\n   cd offline-chatbot\n   ```\n\n2. Install dependencies\n   ```bash\n   npm install\n   ```\n\n3. Create a `.env` file in the root directory:\n   ```env\n   VITE_PORT=3030\n   ```\n\n## Running the Application\n\nStart both frontend and backend servers:\n```bash\nnpm start\n```\n\nThis will run:\n* Frontend: `http://localhost:5173`\n* Backend: `http://localhost:3030`\n\n## Development\n\nRun frontend only:\n```bash\nnpm run dev\n```\n\nRun backend only:\n```bash\nnpm run server\n```\n\n## Project Structure\n```\noffline-chatbot/\n├── src/               # Frontend source code\n├── server/            # Backend server code\n└── public/            # Static assets\n```\n\n## Environment Variables\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| VITE_PORT | Backend server port | Yes |\n\n## Tech Stack\n* React + Vite\n* Express.js\n* Ollama API\n* TailwindCSS\n* Node.js\n\n## Additional Resources\n* [Offline Chatbots with Ollama - Blog Post](https://medium.com/@mrmendoza-dev/offline-chatbots-with-ollama-52dd18f97933)\n* [Ollama JS Documentation](https://github.com/ollama/ollama-js)\n* [Ollama Model Library](https://ollama.com/library)\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmendoza-dev%2Foffline-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmendoza-dev%2Foffline-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmendoza-dev%2Foffline-chatbot/lists"}