{"id":27302393,"url":"https://github.com/steinathan/voiceovarian","last_synced_at":"2025-04-12T02:38:52.782Z","repository":{"id":209356392,"uuid":"723826193","full_name":"steinathan/voiceovarian","owner":"steinathan","description":"Voiceovarian is a command-line tool written in Go that utilizes OpenAI's Text-to-Speech (TTS) model to convert written text into spoken audio. This tool allows users to input text interactively and generates corresponding voiceovers in MP3 format. The generated audio files are then played back in real-time.","archived":false,"fork":false,"pushed_at":"2023-11-26T21:46:12.000Z","size":104,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T02:38:46.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/steinathan.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-11-26T21:27:56.000Z","updated_at":"2024-10-06T03:59:13.000Z","dependencies_parsed_at":"2023-11-26T22:27:27.958Z","dependency_job_id":"0a92a691-d2db-460d-aed8-f4921ecd82e2","html_url":"https://github.com/steinathan/voiceovarian","commit_stats":null,"previous_names":["navicstein/voiceovarian","steinathan/voiceovarian"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinathan%2Fvoiceovarian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinathan%2Fvoiceovarian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinathan%2Fvoiceovarian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steinathan%2Fvoiceovarian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steinathan","download_url":"https://codeload.github.com/steinathan/voiceovarian/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507210,"owners_count":21115556,"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":[],"created_at":"2025-04-12T02:38:52.312Z","updated_at":"2025-04-12T02:38:52.776Z","avatar_url":"https://github.com/steinathan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Voiceovarian\n\nVoiceovarian is a command-line tool written in Go that utilizes OpenAI's Text-to-Speech (TTS) model to convert written text into spoken audio. This tool allows users to input text interactively and generates corresponding voiceovers in MP3 format. The generated audio files are then played back in real-time.\n\n\u003ccenter\u003e\n\u003cimg alt=\"voiceovarian-like creature in rick and morty but with golang mascot \" src=\"./img/voiceovarian_golang\" style=\"max-width: 100%; height: 500px\"/\u003e\n\u003c/center\u003e\n\n## Installation\n\nBefore you begin, make sure you have the following prerequisites installed:\n\n- Go: [https://golang.org/doc/install](https://golang.org/doc/install)\n- OpenAI API Key: Get your API key from OpenAI and set it in the environment (`.env`) variable `OPENAI_API_KEY`.\n\n```sh\n# Clone the repository\ngit clone https://github.com/navicstein/voiceovarian.git\n\n# Navigate to the project directory\ncd voiceovarian\n\n# Build the executable\ngo build -o voiceovarian .\n\n# Set the OpenAI API key\necho \"OPENAI_API_KEY=your_api_key\" \u003e\u003e .env\n\n# Run the tool\n./voiceovarian\n```\n\n## Key Features:\n\n- Utilizes OpenAI's TTS Model for high-quality speech synthesis.\n- Interactive command-line interface for user-friendly input.\n- Real-time playback of generated voiceovers.\n- Audio files are saved in the \"voiceover_intros\" directory for future use.\n\n## Usage\n\nOnce the tool is running, enter the text you want to convert into spoken audio when prompted. The generated audio file will be saved in the `voiceover_intros` directory and played back in real-time.\n\n```sh\n$ Enter a text to speak it: Hello, this is Voiceovarian!\n```\n\n## Dependencies\n\n- [github.com/joho/godotenv](github.com/joho/godotenv): For loading environment variables from a file.\n- [github.com/rs/zerolog](github.com/rs/zerolog): For logging.\n- [github.com/sashabaranov/go-openai](github.com/sashabaranov/go-openai): Go client for OpenAI API.\n- [github.com/ebitengine/oto/v3](github.com/ebitengine/oto/v3): For audio playback.\n- [github.com/hajimehoshi/go-mp3](github.com/hajimehoshi/go-mp3): MP3 decoding library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinathan%2Fvoiceovarian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteinathan%2Fvoiceovarian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteinathan%2Fvoiceovarian/lists"}