{"id":16344635,"url":"https://github.com/malob/generate-podcast-rss-cloud-function","last_synced_at":"2025-03-23T00:32:41.316Z","repository":{"id":78636666,"uuid":"133291297","full_name":"malob/generate-podcast-rss-cloud-function","owner":"malob","description":"Google Cloud Function that (re)generates a Podcast RSS feed whenever a new MP3 file is added to a Cloud Storage bucket.","archived":false,"fork":false,"pushed_at":"2018-05-14T12:45:42.000Z","size":3,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T15:54:41.239Z","etag":null,"topics":["cloud-function","google-cloud","nodejs","podcast","podcast-generator","text-to-speech"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/malob.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-05-14T01:51:10.000Z","updated_at":"2024-02-09T08:30:26.000Z","dependencies_parsed_at":"2023-03-29T05:03:07.634Z","dependency_job_id":null,"html_url":"https://github.com/malob/generate-podcast-rss-cloud-function","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malob%2Fgenerate-podcast-rss-cloud-function","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malob%2Fgenerate-podcast-rss-cloud-function/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malob%2Fgenerate-podcast-rss-cloud-function/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malob%2Fgenerate-podcast-rss-cloud-function/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malob","download_url":"https://codeload.github.com/malob/generate-podcast-rss-cloud-function/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040235,"owners_count":20551297,"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":["cloud-function","google-cloud","nodejs","podcast","podcast-generator","text-to-speech"],"created_at":"2024-10-11T00:28:49.410Z","updated_at":"2025-03-23T00:32:41.301Z","avatar_url":"https://github.com/malob.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generate Podcast feed Cloud Function\n\nThis is a [Google Cloud Function](https://cloud.google.com/functions/) I hacked together to work with a Cloud Storage bucket, containing MP3 files and a Podcast RSS feed. In brief, whenever a new file is added to the bucket, this Cloud Function is triggered, and (re)generates a Podcast RSS feed for the MP3s in the bucket.\n\nI created it as part of a project to generate a personal podcast of articles I want to consume. To get the full thing working see my [other repository](https://github.com/malob/article-to-audio-cloud-function) for a Cloud Function that, given a url, generates an audio file of an article using Google's [Cloud Text-To-Speech](https://cloud.google.com/text-to-speech/) API, puts it in a Cloud Storage bucket, and attaches some metadata about the article to the object in the bucket.\n\n## Configuration details\n\nTo get this working you'll first need to setup the other Cloud Function mentioned above.\n\nYou'll then need to create a new Cloud Function (see configuration details below), and replace the undefined global constants in the code, `gcpProjectID`, and `gcpBucketName`, with the appropriate values. You'll also want to customize the RSS feed metadata in the `feed` constant.\n\n### Cloud Function configuration\n  * Memory allocation: 256 MB\n  * Trigger: Cloud Storage bucket\n  * Event Type: Finalize/Create\n  * Bucket: [ID of a Cloud Storage bucket]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalob%2Fgenerate-podcast-rss-cloud-function","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalob%2Fgenerate-podcast-rss-cloud-function","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalob%2Fgenerate-podcast-rss-cloud-function/lists"}