{"id":21297744,"url":"https://github.com/ninech/buildpack-static-confgen","last_synced_at":"2025-03-15T17:41:04.490Z","repository":{"id":212044819,"uuid":"727804313","full_name":"ninech/buildpack-static-confgen","owner":"ninech","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-23T14:07:04.000Z","size":311,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-22T07:32:28.073Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ninech.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":"2023-12-05T15:56:02.000Z","updated_at":"2024-04-23T14:04:45.000Z","dependencies_parsed_at":"2024-04-23T14:45:52.272Z","dependency_job_id":null,"html_url":"https://github.com/ninech/buildpack-static-confgen","commit_stats":null,"previous_names":["ninech/buildpack-static-confgen"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninech%2Fbuildpack-static-confgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninech%2Fbuildpack-static-confgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninech%2Fbuildpack-static-confgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninech%2Fbuildpack-static-confgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninech","download_url":"https://codeload.github.com/ninech/buildpack-static-confgen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243769946,"owners_count":20345215,"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-11-21T14:40:33.706Z","updated_at":"2025-03-15T17:41:04.459Z","avatar_url":"https://github.com/ninech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buildpack-static-confgen\n\nThis buildpack builds upon the [Paketo nginx\nBuildpack](https://github.com/paketo-buildpacks/nginx) to automate some of the\nmost common use-cases where the workspace just contains an `index.html` or\n`public/index.html`. It will configure nginx accordingly without any required\nparameters. It also supports compilation of JavaScript frontend apps when\ngrouped with the\n[web-servers](https://github.com/paketo-buildpacks/web-servers) buildpack.\n\nThe `PORT` env variable is required to be set when launching the built\ncontainer as nginx will use it to configure the listening port.\n\nAs this buildpack writes the nginx config which needs to be present in the\nbuild phase of the nginx buildpack, it needs to be ordered before that. Due to\nthis ordering it's not possible to require the nginx buildpack. For that we\nneed to use [`ninech/buildpack-static-require`](https://github.com/ninech/buildpack-static-require)\nand order it after the nginx/web-servers buildpack.\n\nTo test the build locally, checkout this repository and then build it with:\n\n```bash\npack build static --path ./integration/testdata/default_app/ \\\n  --builder paketobuildpacks/builder-jammy-base \\\n  --buildpack . \\\n  --buildpack paketo-buildpacks/web-servers \\\n  --buildpack ghcr.io/ninech/buildpack-static-require\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninech%2Fbuildpack-static-confgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninech%2Fbuildpack-static-confgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninech%2Fbuildpack-static-confgen/lists"}