{"id":13621915,"url":"https://github.com/AwakeningSV/live-infrastructure","last_synced_at":"2025-04-15T05:32:49.554Z","repository":{"id":85895439,"uuid":"66058247","full_name":"AwakeningSV/live-infrastructure","owner":"AwakeningSV","description":"Live video transcoding infrastructure","archived":false,"fork":false,"pushed_at":"2019-06-02T15:50:48.000Z","size":23,"stargazers_count":48,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-08T09:40:50.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://awakeningchurch.com/live","language":"HCL","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/AwakeningSV.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}},"created_at":"2016-08-19T06:24:55.000Z","updated_at":"2024-06-05T18:01:06.000Z","dependencies_parsed_at":"2023-03-04T11:45:13.922Z","dependency_job_id":null,"html_url":"https://github.com/AwakeningSV/live-infrastructure","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/AwakeningSV%2Flive-infrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwakeningSV%2Flive-infrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwakeningSV%2Flive-infrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AwakeningSV%2Flive-infrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AwakeningSV","download_url":"https://codeload.github.com/AwakeningSV/live-infrastructure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249015908,"owners_count":21198824,"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":"2024-08-01T21:01:11.961Z","updated_at":"2025-04-15T05:32:49.312Z","avatar_url":"https://github.com/AwakeningSV.png","language":"HCL","funding_links":[],"categories":["HarmonyOS","HCL"],"sub_categories":["Windows Manager"],"readme":"# live-infrastructure\n\n[Awakening Church][AC] uses CloudFlare and Microsoft Azure to host\n[nginx-rtmp configured for H.264/AAC HLS streaming][awakening-nginx-rtmp]\nrunning in Docker on CoreOS. This repositiory creates that infrastructure\nusing [Terraform][]. You can use this configuration to start your own\ncopy of our live video transcoding system.\n\nWe use this system for 4 hours a week. Costs are estimated at about $5 per week.\nHowever, since Microsoft offers\n[$5,000 per year in Azure credits to non-profits, including churches][azure-credit],\nthis costs us nothing to run. Thanks Microsoft!\n\n## Usage\n\nGather the required [Azure credentials][azure-setup].\n[Install Terraform.][install] Configure the [required Terraform variables][tfvars]:\n\n - `azure_region` Azure region, e.g. `West US 2`\n - `azure_tenant_id` Azure [Tenant ID][azure-setup]\n - `azure_client_id` Azure [Client ID][azure-setup]\n - `azure_client_secret` Azure [Client secret][azure-setup]\n - `azure_storage_prefix` Unique name for Azure storage, e.g. `livevideoadventure`\n - `cf_email` CloudFlare Email\n - `cf_token` CloudFlare API Token\n - `cf_domain` CloudFlare Domain, e.g. `awakeningchurch.com`\n - `cors_http_origin` Corresponds to [CORS_HTTP_ORIGIN][usage] setting in awakening-nginx-rtmp\n - `publish_secret` Corresponds to [PUBLISH_SECRET][usage] setting in awakening-nginx-rtmp\n - `ssh_key_file` File containing the public SSH key for the launched CoreOS instance\n\nCheck the plan:\n\n    terraform plan\n\nApply to launch the infrastructure:\n\n    terraform apply\n\nWe use these resources for a few hours. Once the broadcast is complete,\nwe simply destroy the resources:\n\n    terraform destroy -force\n\n## Modifying Container Linux configuration\n\nTo modify the Container Linux configuration file, container-linux.yaml,\ninstall the Container Linux conifiguration transpiler. On macOS:\n\n    brew install coreos-ct\n\nThen transpile `container-linux.yaml` into `ignition.yaml` with the command:\n\n    make\n\n## License\n\nMIT\n\n[AC]: https://awakeningchurch.com\n[Terraform]: https://www.terraform.io\n[install]: https://www.terraform.io/intro/getting-started/install.html\n[tfvars]: https://www.terraform.io/intro/getting-started/variables.html\n[awakening-nginx-rtmp]: https://github.com/awakening-church/awakening-nginx-rtmp\n[usage]: https://github.com/awakening-church/awakening-nginx-rtmp/blob/master/README.md#usage\n[azure-setup]: https://www.terraform.io/docs/providers/azurerm/index.html#creating-credentials\n[azure-credit]: https://www.microsoft.com/en-us/philanthropies/product-donations/products/azure","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAwakeningSV%2Flive-infrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAwakeningSV%2Flive-infrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAwakeningSV%2Flive-infrastructure/lists"}