Code Monkey home page Code Monkey logo

mumble-whisper-go's Introduction

mumble-whisper-go

mumble-deepgram-go

OpenAI Whisper Deepgram transcription bot for Mumble.

reqs

  • an account on deepgram and an API key from it
  • go (i'm on 1.19.4)
  • openssl
  • (see go.mod)

get started

Warning: this thing is quite unoptimized and will murder your credits even when you aren't speaking! it starts a new transcription sesion for every speaker!

# (Generate cert)
$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes
# (Run)
$ go mod download
$ go run main.go -server mumble.cyberia.club:64738 -certificate cert.pem -key key.pem -insecure -username $USER-bot -apikey $(cat .dg-api-key)
# (✨)

nix

if you're using nix, you can enable the glorious direnv (perhaps in your home-manager config!) along with lorri, run direnv allow and your direnv-compatible editor should pick up on the env changes and use the gopls binary specified in shell.nix -- it also puts openssl and go in PATH.

why didn't you like whisper

i did kinda like it but there's a bunch of post-processing to do and whisper.cpp runs on CPU-only, 4 threads or something.

i saw deepgram on a zack freedman youtube video and the thing just fucking works except for little-endian u16s being a weird choice.

i hope soon enough we'll have something that fits nicely on a raspi and can do all the things with like, 40% resource util.

mumble-whisper-go's People

Contributors

ckiee avatar

Stargazers

Alena avatar reese sapphire avatar j3s avatar

Watchers

Kostas Georgiou avatar  avatar  avatar

Forkers

reeseovine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.