{"id":37192063,"url":"https://github.com/keddad/sif","last_synced_at":"2026-01-14T22:16:41.254Z","repository":{"id":104094549,"uuid":"571220376","full_name":"keddad/sif","owner":"keddad","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-15T21:09:51.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T02:13:25.717Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keddad.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":"2022-11-27T14:54:37.000Z","updated_at":"2023-04-30T22:30:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2890b39-db8e-41de-a996-25eb678c86ce","html_url":"https://github.com/keddad/sif","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keddad/sif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keddad%2Fsif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keddad%2Fsif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keddad%2Fsif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keddad%2Fsif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keddad","download_url":"https://codeload.github.com/keddad/sif/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keddad%2Fsif/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-14T22:16:40.625Z","updated_at":"2026-01-14T22:16:41.249Z","avatar_url":"https://github.com/keddad.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sif\n\nGolang app which removes unused dependencies in your Bazel projects. For example, say you have dependency graph like this:\n\n```\n         --- //app:useful_dep_a\n        /\n//app:app --- //app:useful_dep_b --- //app:useless_dep\n                                  \\- //...\n\n\n```\n\nSif can find that //app:useless_dep is redundant dependency in //app:useful_dep_b and remove it, while ensuring that //app:app still compiles. It is done with some smart brtuteforce made fast by Bazel caches. It does parse BUILD files without actual Starlark interpreter, so it can fail to build a full build graph (if your deps are generated using a function, or if there is a weird macro generating a target, or ...), but it is generally quite useful. It is still in development.\n\nBuilding:\n```\ngo build .\n```\n\nUsage example:\n```\n./sif --workspace test/cppexample --label //main:hello-world --param deps,hdrs --recparams deps --recblacklist someregexp\n```\n\nParams:\n* --workspace: Path to workspace where targets are, if not current folder\n* --label: Label of target to optimize\n* --params: Params to optimize. Split with \",\"\n* --check: List of additional targets (tests) to ensure still compile (pass) while optimizing. Split with \",\"\n* -v: Verbose mode\n* --recparams: Params to recursivly optimize dependency graph\n* --recblacklist: Regexp to filter out unwanted recursive optimization targets","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeddad%2Fsif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeddad%2Fsif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeddad%2Fsif/lists"}