{"id":19325157,"url":"https://github.com/locaal-ai/obs-brain","last_synced_at":"2025-04-22T20:31:23.540Z","repository":{"id":200028016,"uuid":"698665914","full_name":"locaal-ai/obs-brAIn","owner":"locaal-ai","description":"AI Brain in OBS: Summarize, Highlight, Chat, Translate, and Memorize using LLMs","archived":true,"fork":false,"pushed_at":"2024-01-26T02:48:43.000Z","size":243,"stargazers_count":27,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T17:21:47.346Z","etag":null,"topics":["ai","brain","llm","obs","plugin"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/locaal-ai.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":"2023-09-30T15:42:05.000Z","updated_at":"2025-04-13T23:07:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"f94039d9-da56-4c99-9af2-89fe735f7e23","html_url":"https://github.com/locaal-ai/obs-brAIn","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"7d3d3fe890319fe81c128a0648acf60f816d79a9"},"previous_names":["obs-ai/obs-brain","occ-ai/obs-brain","locaal-ai/obs-brain"],"tags_count":0,"template":false,"template_full_name":"obsproject/obs-plugintemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locaal-ai%2Fobs-brAIn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locaal-ai%2Fobs-brAIn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locaal-ai%2Fobs-brAIn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locaal-ai%2Fobs-brAIn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/locaal-ai","download_url":"https://codeload.github.com/locaal-ai/obs-brAIn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250318702,"owners_count":21410982,"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","brain","llm","obs","plugin"],"created_at":"2024-11-10T02:09:08.010Z","updated_at":"2025-04-22T20:31:23.177Z","avatar_url":"https://github.com/locaal-ai.png","language":"CMake","funding_links":["https://github.com/sponsors/royshil"],"categories":[],"sub_categories":[],"readme":"# brAIn - AI Brain for your OBS\n\n\u003cdiv align=\"center\"\u003e\n\n[![GitHub](https://img.shields.io/github/license/occ-ai/obs-brain)](https://github.com/occ-ai/obs-brain/blob/main/LICENSE)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/occ-ai/obs-brain/push.yaml)](https://github.com/occ-ai/obs-brain/actions/workflows/push.yaml)\n[![Total downloads](https://img.shields.io/github/downloads/occ-ai/obs-brain/total)](https://github.com/occ-ai/obs-brain/releases)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/occ-ai/obs-brain)](https://github.com/occ-ai/obs-brain/releases)\n[![Discord](https://img.shields.io/discord/1200229425141252116)](https://discord.gg/KbjGU2vvUz)\n\n\u003c/div\u003e\n\n## Introduction\n\nbrAIn AI assistant plugin allows you to run AI / LLMs (Large Language Models), locally on your machine, to perform various language processing functions on text. ✅ No GPU required, ✅ no AI vendor costs! Privacy first - all data stays on your machine.\n\nIf this free plugin has been valuable to you consider adding a ⭐ to this GH repo, subscribing to [my YouTube channel](https://www.youtube.com/@royshilk) where I post updates, and supporting my work: https://github.com/sponsors/royshil\n\nCurrent Features:\n- LLM inference on GGMF (.gguf v2) model\n- Connect to OpenAI API to run inference on GPT-3 models (need to provide your own API key)\n\nRoadmap:\n- Run many other LLMs and even e.g. LLaVA (vision-language) models\n\nInternally the plugin is running ([llama.cpp](https://github.com/ggerganov/llama.cpp)) locally to inference in real-time on the CPU or GPU.\n\nCheck out our other plugins:\n- [Background Removal](https://github.com/occ-ai/obs-backgroundremoval) removes background from webcam without a green screen.\n- 🚧 Experimental 🚧 [CleanStream](https://github.com/occ-ai/obs-cleanstream) for real-time filler word (uh,um) and profanity removal from live audio stream\n- [URL/API Source](https://github.com/occ-ai/obs-urlsource) that allows fetching live data from an API and displaying it in OBS.\n- [LocalVocal](https://github.com/occ-ai/obs-localvocal) for real-time speech to text transcription in OBS.\n\n## Download\nCheck out the [latest releases](https://github.com/occ-ai/obs-brain/releases) for downloads and install instructions.\n\n## Building\n\nThe plugin was built and tested on Mac OSX  (Intel \u0026 Apple silicon), Windows and Linux.\n\nStart by cloning this repo to a directory of your choice.\n\nRemember to sync and fetch the submodules before building, e.g.\n```sh\n$ git submodule sync --recursive\n$ git update --init --recursive\n```\n\n### Mac OSX\n\nUsing the CI pipeline scripts, locally you would just call the zsh script. By default this builds a universal binary for both Intel and Apple Silicon. To build for a specific architecture please see `.github/scripts/.build.zsh` for the `-arch` options.\n\n```sh\n$ ./.github/scripts/build-macos -c Release\n```\n\n#### Install\nThe above script should succeed and the plugin files (e.g. `obs-urlsource.plugin`) will reside in the `./release/Release` folder off of the root. Copy the `.plugin` file to the OBS directory e.g. `~/Library/Application Support/obs-studio/plugins`.\n\nTo get `.pkg` installer file, run for example\n```sh\n$ ./.github/scripts/package-macos -c Release\n```\n(Note that maybe the outputs will be in the `Release` folder and not the `install` folder like `pakage-macos` expects, so you will need to rename the folder from `build_x86_64/Release` to `build_x86_64/install`)\n\n### Linux (Ubuntu)\n\nUse the CI scripts again\n```sh\n$ ./.github/scripts/build-linux.sh\n```\n\nCopy the results to the standard OBS folders on Ubuntu\n```sh\n$ sudo cp -R release/RelWithDebInfo/lib/* /usr/lib/x86_64-linux-gnu/\n$ sudo cp -R release/RelWithDebInfo/share/* /usr/share/\n```\nNote: The official [OBS plugins guide](https://obsproject.com/kb/plugins-guide) recommends adding plugins to the `~/.config/obs-studio/plugins` folder.\n\n### Windows\n\nUse the CI scripts again, for example:\n\n```powershell\n\u003e .github/scripts/Build-Windows.ps1 -Target x64 -CMakeGenerator \"Visual Studio 17 2022\"\n```\n\nThe build should exist in the `./release` folder off the root. You can manually install the files in the OBS directory.\n\n#### Building with CUDA support on Windows\n\nTo build with CUDA support on Windows, you need to install the CUDA toolkit from NVIDIA. The CUDA toolkit is available for download from [here](https://developer.nvidia.com/cuda-downloads).\n\nAfter installing the CUDA toolkit, you need to set variables to point CMake to the CUDA toolkit installation directory. For example, if you have installed the CUDA toolkit in `C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.4`, you need to set `CUDA_TOOLKIT_ROOT_DIR` to `C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.4` and `brAIn_WITH_CUDA` to `ON` when running `.github/scripts/Build-Windows.ps1`.\n\nFor example\n```powershell\n.github/scripts/Build-Windows.ps1 -Target x64 -ExtraCmakeArgs '-D','brAIn_WITH_CUDA=ON','-D',\"CUDA_TOOLKIT_ROOT_DIR='C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.2'\"\n```\n\nYou will need to copy a few CUDA .dll files to the location of the plugin .dll for it to run. The required .dll files from CUDA (which are located in the `bin` folder of the CUDA toolkit installation directory) are:\n\n- `cudart64_NN.dll`\n- `cublas64_NN.dll`\n- `cublasLt64_NN.dll`\n\nwhere `NN` is the CUDA major version number. For example, if you have installed CUDA 12.2 as in example above, then `NN` is `12`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocaal-ai%2Fobs-brain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocaal-ai%2Fobs-brain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocaal-ai%2Fobs-brain/lists"}