{"id":14155468,"url":"https://github.com/pkgxdev/brewkit","last_synced_at":"2026-02-11T03:12:34.823Z","repository":{"id":65839649,"uuid":"598313581","full_name":"pkgxdev/brewkit","owner":"pkgxdev","description":"build infra \u0026 `$ bk build`","archived":false,"fork":false,"pushed_at":"2026-02-06T22:09:56.000Z","size":498,"stargazers_count":62,"open_issues_count":26,"forks_count":16,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-02-07T06:11:23.885Z","etag":null,"topics":["hacktoberfest","package-management"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/pkgxdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":"audit/action.yml","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-06T21:07:26.000Z","updated_at":"2026-02-06T22:10:00.000Z","dependencies_parsed_at":"2025-04-12T13:49:55.566Z","dependency_job_id":"ab83575a-79e9-453a-b51c-78d5acb372b1","html_url":"https://github.com/pkgxdev/brewkit","commit_stats":null,"previous_names":["pkgxdev/brewkit","teaxyz/brewkit"],"tags_count":263,"template":false,"template_full_name":null,"purl":"pkg:github/pkgxdev/brewkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgxdev%2Fbrewkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgxdev%2Fbrewkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgxdev%2Fbrewkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgxdev%2Fbrewkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkgxdev","download_url":"https://codeload.github.com/pkgxdev/brewkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkgxdev%2Fbrewkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29326084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T02:08:56.257Z","status":"ssl_error","status_checked_at":"2026-02-11T02:08:51.338Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["hacktoberfest","package-management"],"created_at":"2024-08-17T08:03:25.184Z","updated_at":"2026-02-11T03:12:34.804Z","avatar_url":"https://github.com/pkgxdev.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","hacktoberfest"],"sub_categories":[],"readme":"![pkgx](https://pkgx.dev/banner.png)\n\n# BrewKit\n\n## Usage\n\n```sh\n$ bk build zlib.net\n$ bk test zlib.net\n```\n\n\u003e [!TIP]\n\u003e If you’re inside a pantry clone then (after running `dev`) brewkit will\n\u003e build/test whatever has been edited.\n\n## Build Process Details\n\n\u003e [!NOTE]\n\u003e `$BREWROOT` is either your pantry clone or\n\u003e `${XDG_DATA_HOME:-$HOME/.local/share}/brewkit`.\n\n\u003e [!NOTE]\n\u003e `$PKGSLUG` is the pkg project name with slashes replaced with unicode\n\u003e slashes and the version appended in `-1.2.3` form.\n\n1. srcs are placed at `$BREWROOT/srcs/$PKGSLUG`\n   * if the source type is a tarball, it is stored as `$BREWROOT/srcs/$PKGSLUG.ext`\n2. if the src type is not source control a git repository is initialized for\n   the sources and all files are added to the git stage.\n   * this is so you can make modifications and get a diff with `git diff` that\n     you can then save for use in your build script\n3. the sources are cloned to `$BREWROOT/builds/$PKGSLUG` via rsync\n4. the build script is generated and placed at `$BREWROOT/builds/$PKGSLUG.sh`\n   * the build script uses pkgx machinery to work, check it out\n5. a `pkgx.yaml` is generated to `$BREWROOT/builds/$PKGSLUG`\n   * this way if you step into that directory and `dev` you get the full build\n     environment for your pkg\n6. the build script is run\n   * the prefix your build script is fed is `$BREWROOT/installs/$PKGSLUG`\n7. `$BREWROOT/builds/$PKGSLUG` is moved to `${PKGX_DIR:-$HOME/.pkgx}`\n   * without this step you would not be able to use the package from within\n     your pantry clone\n8. Some key tools are always provided by brewkit (via shims that install on\n   demand). These are:\n   * `cc`, and the associated build toolchain (specifically latest LLVM)\n     * if you want a specific LLVM or GCC then specify the dep and that will\n       be used instead\n   * `make`\n   * `patch`\n   * GNU `install`\n   * `pkg-config`\n   * GNU `sed`\n\n## Apologies\n\nThis repo is optimized for the GitHub Actions calling site and not for\nreadability. I hate this but it’s the right choice for our users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgxdev%2Fbrewkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkgxdev%2Fbrewkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkgxdev%2Fbrewkit/lists"}