MeetingBuddy is a Ruby framework for real-time audio transcription with event handling. It provides core functionality for applications requiring live speech-to-text conversion and processing.
gem install meeting-buddy
Basic usage with a custom handler:
require 'meeting_buddy'
class MyHandler < MeetingBuddy::Handler
def on_transcription(text)
puts "Transcribed: #{text}"
end
end
session = MeetingBuddy::Session.new(
name: "my-meeting",
handlers: [MyHandler.new]
)
session.start
MeetingBuddy.configure do |config|
config.whisper_model = "small.en" # Choose whisper model
config.root = "path/to/files" # Set root directory
config.logger = Logger.new($stdout, level: Logger::DEBUG)
end
-
git
(for whisper.cpp setup) -
sdl2
(for audio input) - OpenAI token in
OPENAI_ACCESS_TOKEN
env var - MacOS (currently supported platform)
After checking out the repo:
bin/setup
rake spec
Bug reports and pull requests are welcome on GitHub at https://github.com/codenamev/meeting-buddy. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Meeting::Buddy project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.