{"id":17179634,"url":"https://github.com/maxmcd/lake","last_synced_at":"2025-10-19T08:09:13.247Z","repository":{"id":64298877,"uuid":"567500309","full_name":"maxmcd/lake","owner":"maxmcd","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-01T16:20:04.000Z","size":100,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-17T20:12:00.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxmcd.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}},"created_at":"2022-11-17T23:24:05.000Z","updated_at":"2022-11-22T20:56:34.000Z","dependencies_parsed_at":"2023-01-15T09:00:40.298Z","dependency_job_id":null,"html_url":"https://github.com/maxmcd/lake","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/maxmcd%2Flake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmcd%2Flake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmcd%2Flake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmcd%2Flake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxmcd","download_url":"https://codeload.github.com/maxmcd/lake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372217,"owners_count":20604488,"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-10-15T00:27:01.363Z","updated_at":"2025-10-19T08:09:13.159Z","avatar_url":"https://github.com/maxmcd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Lakefile**\n```hcl\nbusybox_tar = download_file(\"http://lake.com/busybox.tar.gz\")\n\nconfig {\n  shell = [\"${busybox_tar}/bin/busybox\", \"sh\"]\n}\n\nstore \"empty_store\" {\n  inputs = []\n  script = \u003c\u003cEOH\n    sh ./script.sh\n  EOH\n}\n\n# Or are these docs\nstore \"busybox_store\" {\n  # These are docs\n  inputs = [busybox_tar, \"./script.sh\"]\n  env = {\n    FOO = \"bar\"\n  }\n  script = \u003c\u003cEOH\n    #!${busybox_tar}/bin/busybox sh\n    sh ./script.sh\n  EOH\n}\n\nstore \"busybox_store_alt\" {\n  inputs = [busybox_tar, \"./script.sh\"]\n  shell  = [\"${busybox_tar}/bin/busybox\", \"sh\"]\n  script = \"sh ./script.sh\"\n}\n\ntarget \"busybox\" {\n  inputs = [busybox_store]\n  script = \u003c\u003cEOH\n    #!${busybox_store}/bin/busybox sh\n    $busybox_store $@\n  EOH\n}\n```\n\n**Json Output:**\n\n```json\n{\n  \"Stores\": [\n    {\n      \"Name\": \"empty_store\",\n      \"Inputs\": [],\n      \"Script\": \"    sh ./script.sh\\n\",\n      \"Shell\": null,\n      \"Env\": null\n    },\n    {\n      \"Name\": \"busybox_store\",\n      \"Inputs\": [\n        \"{{ a4ckr4xvftvmjb4brrixkxuhevvmwt5p }}\",\n        \"./script.sh\"\n      ],\n      \"Script\": \"    #!{{ a4ckr4xvftvmjb4brrixkxuhevvmwt5p }}/bin/busybox sh\\n    sh ./script.sh\\n\",\n      \"Shell\": null,\n      \"Env\": {\n        \"FOO\": \"bar\"\n      }\n    },\n    {\n      \"Name\": \"busybox_store_alt\",\n      \"Inputs\": [\n        \"{{ a4ckr4xvftvmjb4brrixkxuhevvmwt5p }}\",\n        \"./script.sh\"\n      ],\n      \"Script\": \"sh ./script.sh\",\n      \"Shell\": [\n        \"{{ a4ckr4xvftvmjb4brrixkxuhevvmwt5p }}/bin/busybox\",\n        \"sh\"\n      ],\n      \"Env\": null\n    },\n    {\n      \"Name\": \"download_file\",\n      \"Inputs\": null,\n      \"Script\": \"\",\n      \"Shell\": null,\n      \"Env\": {\n        \"fetch_url\": \"true\",\n        \"url\": \"http://lake.com/busybox.tar.gz\"\n      }\n    }\n  ],\n  \"Configs\": [\n    {\n      \"Shell\": [\n        \"{{ a4ckr4xvftvmjb4brrixkxuhevvmwt5p }}/bin/busybox\",\n        \"sh\"\n      ],\n    }\n  ],\n  \"Targets\": [\n    {\n      \"Name\": \"busybox\",\n      \"Inputs\": [\n        \"{{ esyeusxmgnhdyfo3pmb24k7nz6qepx6c }}\"\n      ],\n      \"Script\": \"    #!{{ esyeusxmgnhdyfo3pmb24k7nz6qepx6c }}/bin/busybox sh\\n    $busybox_store $@\\n\",\n      \"Shell\": null,\n      \"Env\": null\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmcd%2Flake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxmcd%2Flake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmcd%2Flake/lists"}