{"id":20644974,"url":"https://github.com/blacktechx011/ollama-in-github-codespaces","last_synced_at":"2025-04-16T02:10:05.247Z","repository":{"id":241270623,"uuid":"804715075","full_name":"BlackTechX011/Ollama-in-GitHub-Codespaces","owner":"BlackTechX011","description":"Learn all how to run Ollama in GitHub Codespaces for free","archived":false,"fork":false,"pushed_at":"2024-05-31T09:33:46.000Z","size":8,"stargazers_count":29,"open_issues_count":0,"forks_count":14,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T02:09:48.250Z","etag":null,"topics":["ai","artificial-intelligence","blacktechx","blacktechx011","cli","cloud","codespaces","github-codespaces","large-language-models","linux","llm","ollama","ollama-api","ollama-app","sandbox"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlackTechX011.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-23T06:03:52.000Z","updated_at":"2025-04-11T22:06:05.000Z","dependencies_parsed_at":"2024-05-23T08:47:13.931Z","dependency_job_id":"b5054be9-170f-4c65-8a4c-846661e08697","html_url":"https://github.com/BlackTechX011/Ollama-in-GitHub-Codespaces","commit_stats":null,"previous_names":["blacktechx011/ollama-in-github-codespaces"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackTechX011%2FOllama-in-GitHub-Codespaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackTechX011%2FOllama-in-GitHub-Codespaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackTechX011%2FOllama-in-GitHub-Codespaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackTechX011%2FOllama-in-GitHub-Codespaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlackTechX011","download_url":"https://codeload.github.com/BlackTechX011/Ollama-in-GitHub-Codespaces/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183105,"owners_count":21226142,"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","artificial-intelligence","blacktechx","blacktechx011","cli","cloud","codespaces","github-codespaces","large-language-models","linux","llm","ollama","ollama-api","ollama-app","sandbox"],"created_at":"2024-11-16T16:18:15.613Z","updated_at":"2025-04-16T02:10:05.228Z","avatar_url":"https://github.com/BlackTechX011.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\n  \u003ch1\u003eRunning Ollama in GitHub Codespaces\u003c/h1\u003e\n  \n  \u003cp\u003e\n    Learn how to efficiently run Ollama in GitHub Codespaces for free.\n  \u003c/p\u003e\n\n  \u003c!-- Badges --\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/BlackTechX011/Ollama-in-GitHub-Codespaces\" title=\"Go to GitHub repo\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=BlackTechX\u0026message=Ollama-in-GitHub-Codespaces\u0026color=blue\u0026logo=github\" alt=\"BlackTechX - Ollama-in-GitHub-Codespaces\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/BlackTechX011/Ollama-in-GitHub-Codespaces\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/BlackTechX011/Ollama-in-GitHub-Codespaces?style=social\" alt=\"stars - Ollama-in-GitHub-Codespaces\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/BlackTechX011/Ollama-in-GitHub-Codespaces\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/BlackTechX011/Ollama-in-GitHub-Codespaces?style=social\" alt=\"forks - Ollama-in-GitHub-Codespaces\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\n  \u003ch4\u003e\n    \u003ca href=\"https://www.GitHub.com/BlackTechX011/\"\u003eGITHUB\u003c/a\u003e\n    \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://www.instagram.com/BlackTechX011/\"\u003eINSTAGRAM\u003c/a\u003e\n    \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://www.youtube.com/@BlackTechX_\"\u003eYOUTUBE\u003c/a\u003e\n  \u003c/h4\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003c!-- Table of Contents --\u003e\n# :notebook_with_decorative_cover: Table of Contents\n\n- [What is a Codespace?](#star2-what-is-a-codespace)\n- [What is Ollama?](#star2-what-is-ollama)\n- [Setting Up Ollama in GitHub Codespaces](#wrench-setting-up-ollama-in-github-codespaces)\n- [Ollama Model Library](#books-ollama-model-library)\n\n\u003c!-- What is a Codespace? --\u003e\n## :star2: What is a Codespace?\n\nA codespace is a cloud-hosted development environment tailored for coding. GitHub Codespaces allows you to customize your project by committing configuration files to your repository, creating a consistent and repeatable environment for all users. For more details, refer to the [Introduction to dev containers](https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers).\n\n\u003c!-- What is Ollama? --\u003e\n## :star2: What is Ollama?\n\nOllama is an open-source project designed to simplify running Large Language Models (LLMs) on local machines. It provides a user-friendly interface and functionality to make advanced AI accessible and customizable.\n\n\u003c!-- Setting Up Ollama in GitHub Codespaces --\u003e\n## :wrench: Setting Up Ollama in GitHub Codespaces\n\nFollow these steps to set up and run Ollama in a GitHub Codespace:\n\n### 1. Open a Codespace\n- Navigate to your repository on GitHub.\n- Click on the `Code` button and select `Open with Codespaces`.\n- If you don't have an existing codespace, create a new one.\n\n### 2. Install Ollama\n- Open the terminal in your codespace.\n- Run the following command to download and install Ollama:\n  ```sh\n  curl -fsSL https://ollama.com/install.sh | sh\n  ```\n\n### 3. Verify the Installation\n- Type `ollama` in the terminal to verify the installation:\n  ```sh\n  ollama\n  ```\n- If the installation is successful, you will see a list of available Ollama commands.\n\n### 4. Start Ollama\n- Run the following command to start Ollama:\n  ```sh\n  ollama serve\n  ```\n\n### 5. Run and Chat with Llama 3\n- To run and interact with the Llama 3 model, use the following command:\n  ```sh\n  ollama run llama3\n  ```\n\n\u003c!-- Ollama Model Library --\u003e\n## :books: Ollama Model Library\n\nOllama provides a variety of models that you can download and use. Visit the [Ollama model library](https://ollama.com/library) for a complete list.\n\n### Example Models\n\nHere are some example models available for use:\n\n| Model              | Parameters | Size  | Command                       |\n| ------------------ | ---------- | ----- | ----------------------------- |\n| Llama 3            | 8B         | 4.7GB | `ollama run llama3`           |\n| Llama 3            | 70B        | 40GB  | `ollama run llama3:70b`       |\n| Phi 3 Mini         | 3.8B       | 2.3GB | `ollama run phi3`             |\n| Phi 3 Medium       | 14B        | 7.9GB | `ollama run phi3:medium`      |\n| Gemma              | 2B         | 1.4GB | `ollama run gemma:2b`         |\n| Gemma              | 7B         | 4.8GB | `ollama run gemma:7b`         |\n| Mistral            | 7B         | 4.1GB | `ollama run mistral`          |\n| Moondream 2        | 1.4B       | 829MB | `ollama run moondream`        |\n| Neural Chat        | 7B         | 4.1GB | `ollama run neural-chat`      |\n| Starling           | 7B         | 4.1GB | `ollama run starling-lm`      |\n| Code Llama         | 7B         | 3.8GB | `ollama run codellama`        |\n| Llama 2 Uncensored | 7B         | 3.8GB | `ollama run llama2-uncensored`|\n| LLaVA              | 7B         | 4.5GB | `ollama run llava`            |\n| Solar              | 10.7B      | 6.1GB | `ollama run solar`            |\n\n\u003e**Important:**\n\u003e Ensure that your system meets the following RAM requirements:\n\u003e - At least 8 GB of RAM for 7B models\n\u003e - At least 16 GB of RAM for 13B models\n\u003e - At least 32 GB of RAM for 33B models\n\nBy following these steps, you can set up and run Ollama efficiently within GitHub Codespaces, leveraging its cloud-based environment to explore and utilize powerful LLMs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktechx011%2Follama-in-github-codespaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacktechx011%2Follama-in-github-codespaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktechx011%2Follama-in-github-codespaces/lists"}