{"id":50501972,"url":"https://github.com/playfulprogramming/infra","last_synced_at":"2026-06-02T12:30:52.695Z","repository":{"id":327640477,"uuid":"1099759683","full_name":"playfulprogramming/infra","owner":"playfulprogramming","description":"GitOps repository for managing Playful Programming infrastructure.","archived":false,"fork":false,"pushed_at":"2026-01-12T03:01:48.000Z","size":25,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-28T18:29:37.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","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/playfulprogramming.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"playfulprogramming"}},"created_at":"2025-11-19T12:07:33.000Z","updated_at":"2026-01-26T12:02:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/playfulprogramming/infra","commit_stats":null,"previous_names":["playfulprogramming/playfulprogramming-infra","playfulprogramming/infra"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/playfulprogramming/infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulprogramming%2Finfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulprogramming%2Finfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulprogramming%2Finfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulprogramming%2Finfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playfulprogramming","download_url":"https://codeload.github.com/playfulprogramming/infra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playfulprogramming%2Finfra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33822812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-02T12:30:51.690Z","updated_at":"2026-06-02T12:30:52.689Z","avatar_url":"https://github.com/playfulprogramming.png","language":"HCL","funding_links":["https://opencollective.com/playfulprogramming"],"categories":[],"sub_categories":[],"readme":"This repository provides [GitOps](https://www.gitops.tech/) inspired configuration for our DNS records, CDN configuration, and other services used by the Playful Programming site.\n\nConfiguration is written with [OpenTofu](https://opentofu.org/). This is meant to run in GitHub Actions and stores its state in S3-compatible storage (in Fastly).\n\n## Getting Started\n\n- Either build the included [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers) or [Install OpenTofu](https://opentofu.org/docs/intro/install/)\n- Run `tofu init`\n\nBefore pushing any changes, check the configuration with `tofu fmt` and `tofu validate`. You won't be able to run `tofu plan` without using our secrets (which you should not have). When you open a PR, the [tofu.yml](https://github.com/playfulprogramming/playfulprogramming-infra/blob/main/.github/workflows/tofu.yml) workflow will show the planned changes in the job summary.\n\nThere are two environments, with configuration in `env-staging.tfvars` and `env-prod.tfvars`. The staging environment deploys on any push to `main`, and waits for testing and approval before deploying to prod.\n\n## Architecture\n\nThis is the current state of our overall dependencies:\n\n```mermaid\nflowchart TD\n    WebUser@{ shape: rounded, label: \"Website User\" }\n\n    subgraph \"Cloudinary\"\n    ImageOptimization[\"Image Optimization\"]\n    end\n\n    subgraph \"GitHub Actions\"\n    WebDeploy[\"Web Deploy\"]\n    HoofDeploy[\"Hoof Deploy\"]\n    OpenTofu[\"Infra Deploy (OpenTofu)\"]\n    end\n\n    subgraph \"Fastly\"\n    CDN\n    OpenTofuObjectStorage[\"OpenTofu Object Storage\"]\n    end\n\n    subgraph \"Porkbun\"\n    DNS\n    end\n\n    subgraph \"Fly.io\"\n    WebMachine[\"playful-web\"]\n    HoofMachine[\"hoof\"]\n    Postgres\n    Redis\n    Tigris[\"Tigris Object Storage\"]\n    end\n\n    Orama[\"Orama Search Index\"]\n\n\tPlausible[\"Plausible Analytics\"]\n\n    WebDeploy -.-\u003e Orama\n    WebDeploy -.-\u003e WebMachine\n    WebDeploy --\u003e HoofMachine\n    HoofDeploy -.-\u003e HoofMachine\n\n    WebUser --\u003e Orama\n    WebUser --\u003e CDN\n    WebUser --\u003e Tigris\n    WebUser --\u003e ImageOptimization --\u003e WebMachine\n\tWebUser --\u003e Plausible\n\n    CDN --\u003e WebMachine\n\n    HoofMachine --\u003e Tigris\n    HoofMachine --\u003e Postgres\n    HoofMachine --\u003e Redis\n\n    OpenTofu --\u003e OpenTofuObjectStorage\n    OpenTofu -.-\u003e CDN\n    OpenTofu -.-\u003e DNS\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfulprogramming%2Finfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayfulprogramming%2Finfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayfulprogramming%2Finfra/lists"}