{"id":13907849,"url":"https://github.com/rorpage/openfaas-text-to-speech","last_synced_at":"2025-07-05T02:34:28.034Z","repository":{"id":87748318,"uuid":"112388194","full_name":"rorpage/openfaas-text-to-speech","owner":"rorpage","description":"Generate an MP3 of text using Google's Text-to-Speech","archived":false,"fork":false,"pushed_at":"2019-03-31T23:51:24.000Z","size":27,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-26T04:44:37.064Z","etag":null,"topics":["audio","mp3","openfaas","python","serverless","text-to-speech","tts"],"latest_commit_sha":null,"homepage":"https://www.openfaas.com/","language":"Dockerfile","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/rorpage.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":"2017-11-28T20:55:58.000Z","updated_at":"2025-01-10T06:54:40.000Z","dependencies_parsed_at":"2023-02-28T10:45:49.502Z","dependency_job_id":null,"html_url":"https://github.com/rorpage/openfaas-text-to-speech","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rorpage/openfaas-text-to-speech","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorpage%2Fopenfaas-text-to-speech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorpage%2Fopenfaas-text-to-speech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorpage%2Fopenfaas-text-to-speech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorpage%2Fopenfaas-text-to-speech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rorpage","download_url":"https://codeload.github.com/rorpage/openfaas-text-to-speech/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rorpage%2Fopenfaas-text-to-speech/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263671789,"owners_count":23494040,"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":["audio","mp3","openfaas","python","serverless","text-to-speech","tts"],"created_at":"2024-08-06T23:02:13.849Z","updated_at":"2025-07-05T02:34:28.029Z","avatar_url":"https://github.com/rorpage.png","language":"Dockerfile","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# OpenFaaS Text-to-Speech\n\n[![OpenFaaS](https://img.shields.io/badge/openfaas-serverless-blue.svg)](https://www.openfaas.com)\n\n## Deploying the function\n\nBe sure to follow the instructions on the [FaaS repo](https://github.com/openfaas/faas) to deploy the Faas stack.\n\n**Get the CLI**\n\nYou can install the [faas-cli](https://github.com/openfaas/faas-cli/) via `brew install faas-cli` or `curl -sSL https://get.openfaas.com | sudo sh`.\n\n**Build and deploy**\n\nBuild and deploy your stack using the following commands:\n\n```\n$ faas-cli build -f text-to-speech.yml\n$ faas-cli deploy -f text-to-speech.yml\n```\n\n**Test**\n\nUsing `curl`, you can send a string to the function to generate an MP3 of speech:\n\n```\n$ curl http://localhost:8080/function/text-to-speech \\\n-d 'This is a test of OpenFaaS text to speech!' \u003e output.mp3\n```\n\nAlso, you can optionally provide an `X-Language` header for a different language:\n\n```\n$ curl http://localhost:8080/function/text-to-speech \\\n-H 'X-Language: en-uk' \\\n-d 'This is a test of OpenFaaS text to speech!' \u003e output.mp3\n```\n\nA list of supported languages is [here](https://github.com/pndurette/gTTS#lang_list).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorpage%2Fopenfaas-text-to-speech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frorpage%2Fopenfaas-text-to-speech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frorpage%2Fopenfaas-text-to-speech/lists"}