United Statesandreykaipov/goobs
Go client library for OBS Studio
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#2 Repository of the month
goobs
Interact with OBS Studio from Go!
installation
To use this library in your project, add it as a module after you've initialized your own:
❯ go mod init github.com/beautifulperson/my-cool-obs-thing
❯ go get github.com/andreykaipov/goobs
usage
The following example connects to the server and prints out some versions.
Check out the docs for more info, or just jump right into the other examples!
package main
import (
"fmt"
"github.com/andreykaipov/goobs"
)
func main() {
client, err := goobs.New("localhost:4455", goobs.WithPassword("goodpassword"))
if err != nil {
panic(err)
}
defer client.Disconnect()
version, err := client.General.GetVersion()
if err != nil {
panic(err)
}
fmt.Printf("OBS Studio version: %s\n", version.ObsVersion)
fmt.Printf("Server protocol version: %s\n", version.ObsWebSocketVersion)
fmt.Printf("Client protocol version: %s\n", goobs.ProtocolVersion)
fmt.Printf("Client library version: %s\n", goobs.LibraryVersion)
}
The corresponding output:
❯ go run _examples/basic/main.go
OBS Studio version: 32.1.2
Server protocol version: 5.7.4
Client protocol version: 5.7.4
Client library version: 1.8.4
Similar Projects
Discover other similar projects and AI models.
Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Consumes https://github.com/obsproject/obs-websocket
(Pre obs-ws 5!!) A python script to use one or multiple midi input device(s) to control OBS-Studio functions without wasting keyboard hotkeys (including some sort of macro support) from anywhere in the network. "Waiting for a nativ implementation since 2017."
Reverse engineer anything with agents, from app behavior down to native binaries.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...