{"id":27483359,"url":"https://github.com/hectorpulido/unityandllama2","last_synced_at":"2025-07-08T08:36:11.266Z","repository":{"id":191058744,"uuid":"683839166","full_name":"HectorPulido/UnityAndLLama2","owner":"HectorPulido","description":"This is a binding between a Llama2 LLM and Unity for Gamedev","archived":false,"fork":false,"pushed_at":"2023-12-13T04:48:47.000Z","size":4599,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-12-13T05:33:16.803Z","etag":null,"topics":["ai","gamedev","unity"],"latest_commit_sha":null,"homepage":"https://pequesoft.net","language":"ShaderLab","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/HectorPulido.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}},"created_at":"2023-08-27T21:25:33.000Z","updated_at":"2023-12-13T04:49:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4b68ad8-2fb2-4fea-9300-d65873f78a18","html_url":"https://github.com/HectorPulido/UnityAndLLama2","commit_stats":null,"previous_names":["hectorpulido/unityandllama2"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorPulido%2FUnityAndLLama2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorPulido%2FUnityAndLLama2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorPulido%2FUnityAndLLama2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HectorPulido%2FUnityAndLLama2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HectorPulido","download_url":"https://codeload.github.com/HectorPulido/UnityAndLLama2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249256511,"owners_count":21238988,"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","gamedev","unity"],"created_at":"2025-04-16T15:46:13.585Z","updated_at":"2025-04-16T15:46:14.269Z","avatar_url":"https://github.com/HectorPulido.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UnityAndLLama2\nThis is an open-source project meant to connect Unity with the Meta LLama2 Large language model using Python websockets. It's a client-server architecture, useful for online or offline games\n![Banner](/img/LlamaUnity.gif)\n## Table of Contents\n\n- [Getting Started](#getting-started)\n    - [Prerequisites](#prerequisites)\n    - [Installation](#installation)\n- [Usage](#usage)\n    - [Running the Server](#running-the-server)\n    - [Running the Unity Client](#running-the-unity-client)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.6+\n- Unity 2020.3+\n\n### Installation\n\n1. Create a new project in Unity\n2. Clone this repository\n    ```\n    git clone https://github.com/HectorPulido/UnityAndLLama2.git\n    ```\n3. Drag and drop the \"clientSource\" content into the project\n4. Then enter to the \"llamaServer\" folder\n5. Is very useful to create a virtual enviroment, install the dependencies with\n   ```pip install -r requirements.txt```\n6. Copy the .env.test into a .env file and changit as you want\n\n## Usage\n\n### Running the Server\n\nStart the server\n    ```\n    python server.py\n    ```\n  \nIf working correctly, the server should display `Listen in: localhost:8765`\n\n### Running the Unity Client\n\n1. Open the `UnityProject` folder with the Unity Editor\n2. Open the sample scene\n3. Press the play button to start the client\n\n## Contributing\n\nYour contributions are greatly appreciated! Please follow these steps:\n\n1. Fork the project\n2. Create your feature branch `git checkout -b feature/MyFeature`\n3. Commit your changes `git commit -m \"my cool feature\"`\n4. Push to the branch `git push origin feature/MyFeature`\n5. Open a Pull Request\n\n## License\n\nEvery basecode made by my is under MIT licence\n\n\u003chr\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ch3 align=\"center\"\u003eLet's connect 😋\u003c/h3\u003e\n\u003c/div\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.linkedin.com/in/hector-pulido-17547369/\" target=\"blank\"\u003e\n\u003cimg align=\"center\" width=\"30px\" alt=\"Hector's LinkedIn\" src=\"https://www.vectorlogo.zone/logos/linkedin/linkedin-icon.svg\"/\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp;\n\u003ca href=\"https://twitter.com/Hector_Pulido_\" target=\"blank\"\u003e\n\u003cimg align=\"center\" width=\"30px\" alt=\"Hector's Twitter\" src=\"https://www.vectorlogo.zone/logos/twitter/twitter-official.svg\"/\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp;\n\u003ca href=\"https://www.twitch.tv/hector_pulido_\" target=\"blank\"\u003e\n\u003cimg align=\"center\" width=\"30px\" alt=\"Hector's Twitch\" src=\"https://www.vectorlogo.zone/logos/twitch/twitch-icon.svg\"/\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp;\n\u003ca href=\"https://www.youtube.com/channel/UCS_iMeH0P0nsIDPvBaJckOw\" target=\"blank\"\u003e\n\u003cimg align=\"center\" width=\"30px\" alt=\"Hector's Youtube\" src=\"https://www.vectorlogo.zone/logos/youtube/youtube-icon.svg\"/\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp;\n\u003ca href=\"https://pequesoft.net/\" target=\"blank\"\u003e\n\u003cimg align=\"center\" width=\"30px\" alt=\"Pequesoft website\" src=\"https://github.com/HectorPulido/HectorPulido/blob/master/img/pequesoft-favicon.png?raw=true\"/\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorpulido%2Funityandllama2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhectorpulido%2Funityandllama2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorpulido%2Funityandllama2/lists"}