{"id":48909949,"url":"https://github.com/ilyar/deco","last_synced_at":"2026-04-20T02:00:51.029Z","repository":{"id":351871593,"uuid":"1209185290","full_name":"ilyar/deco","owner":"ilyar","description":"CLI for dev container ","archived":false,"fork":false,"pushed_at":"2026-04-16T22:18:16.000Z","size":133,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-16T23:02:44.626Z","etag":null,"topics":["cli","devcontainer","devcontainers"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ilyar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-13T07:14:06.000Z","updated_at":"2026-04-16T22:18:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ilyar/deco","commit_stats":null,"previous_names":["ilyar/deco"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ilyar/deco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Fdeco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Fdeco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Fdeco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Fdeco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyar","download_url":"https://codeload.github.com/ilyar/deco/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyar%2Fdeco/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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":["cli","devcontainer","devcontainers"],"created_at":"2026-04-16T23:01:24.403Z","updated_at":"2026-04-18T00:00:29.426Z","avatar_url":"https://github.com/ilyar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deco\n\n`deco` is a Rust-first dev container CLI for reading devcontainer configs, preparing a local runtime, and running common devcontainer workflows from the terminal.\n\nLicense: MIT  \nAuthor: ilyar\n\n## Who This Is For\n\nUse `deco` if you want to:\n\n- inspect a local `.devcontainer/devcontainer.json`\n- build or start a devcontainer-oriented runtime\n- run commands inside that runtime\n- execute lifecycle hooks from the config\n- inspect local features, templates, and lockfiles\n\n## Current Status\n\n`deco` is being prepared for the current public alpha release: `v1.0.0-alpha.2`.\n\nWhat is already covered:\n\n- JSONC devcontainer parsing\n- image, Dockerfile, and baseline compose config support\n- `read-configuration`, `build`, `up`, `exec`, `run-user-commands`, `set-up`\n- local `features`, `templates`, `outdated`, and `upgrade` flows\n- machine-readable JSON output on `stdout`\n\nWhat is still intentionally incomplete:\n\n- full parity with upstream `devcontainer-cli`\n- broad Docker runtime coverage in CI\n- advanced publishing flows for features and templates\n\n## Install\n\nFrom the repository root:\n\n```sh\ncargo install --path . --locked\ndeco --version\ndeco --help\n```\n\nInstall the published Unix binary with:\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/ilyar/deco/v1.0.0-alpha.2/scripts/install.sh | bash\n```\n\nPick a different directory or explicit tag if needed:\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/ilyar/deco/v1.0.0-alpha.2/scripts/install.sh | \\\n  bash -s -- --install-dir \"$HOME/.local/bin\" --version v1.0.0-alpha.2\n```\n\nPrebuilt binaries are published on GitHub Releases for:\n\n- Linux `x86_64`\n- Linux `aarch64`\n- Windows `x86_64`\n- macOS `x86_64`\n- macOS `aarch64`\n- FreeBSD `x86_64`\n\nDownload the asset that matches your platform from:\n\n- `https://github.com/ilyar/deco/releases/tag/v1.0.0-alpha.2`\n\nFor local development without install:\n\n```sh\ncargo run -p deco -- --help\n```\n\nMore detail: [DEVELOP.md](/home/ilyar/startup/deco/repo/deco/DEVELOP.md:1)\n\n## Dev Container\n\nThe repository includes [.devcontainer/devcontainer.json](/home/ilyar/startup/deco/repo/deco/.devcontainer/devcontainer.json:1) for a reproducible development environment with Rust, Docker tooling, GitHub CLI, and release-packaging dependencies preinstalled.\n\nUse it if you want the same shell environment for development, validation, and Linux-side release preparation.\n\n## Development Commands\n\nThe primary local task runner is [Justfile](/home/ilyar/startup/deco/repo/deco/Justfile:1).\n\nCommon commands:\n\n```sh\njust ci\njust build-release\njust deco-read\njust deco-build\njust deco-up\njust deco-exec pwd\n```\n\n`Makefile` remains as a compatibility wrapper, but new development and CI flow should use `just`.\n\n## Typical User Flow\n\nAssume a workspace like this:\n\n```text\nmy-app/\n  .devcontainer/\n    devcontainer.json\n```\n\n### Inspect the config\n\n```sh\ndeco read-configuration --workspace-folder /path/to/my-app\n```\n\nPoint to a specific file if needed:\n\n```sh\ndeco read-configuration \\\n  --config /path/to/my-app/.devcontainer/devcontainer.json\n```\n\n### Build the runtime\n\n```sh\ndeco build --workspace-folder /path/to/my-app\n```\n\n### Start the runtime\n\n```sh\ndeco up --workspace-folder /path/to/my-app\n```\n\n### Run a command inside the runtime\n\n```sh\ndeco exec --workspace-folder /path/to/my-app -- pwd\ndeco exec --workspace-folder /path/to/my-app -- cargo test\n```\n\nIf you already know the container id:\n\n```sh\ndeco exec --container-id \u003ccontainer-id\u003e -- env\n```\n\n### Run lifecycle hooks from the config\n\n```sh\ndeco run-user-commands --workspace-folder /path/to/my-app\n```\n\n### Run the combined setup flow\n\n```sh\ndeco set-up --workspace-folder /path/to/my-app\n```\n\n## Command Examples\n\n### `read-configuration`\n\n```sh\ndeco read-configuration --workspace-folder /path/to/my-app\ndeco read-configuration --workspace-folder /path/to/my-app --include-merged-configuration\n```\n\n### `build`\n\n```sh\ndeco build --workspace-folder /path/to/my-app\n```\n\n### `up`\n\n```sh\ndeco up --workspace-folder /path/to/my-app\n```\n\n### `exec`\n\n```sh\ndeco exec --workspace-folder /path/to/my-app -- pwd\ndeco exec --workspace-folder /path/to/my-app -- cargo check\ndeco exec --container-id abc123 -- ls -la\n```\n\n### `run-user-commands`\n\n```sh\ndeco run-user-commands --workspace-folder /path/to/my-app\n```\n\n### `set-up`\n\n```sh\ndeco set-up --workspace-folder /path/to/my-app\n```\n\n### `features`\n\nInspect a local features directory:\n\n```sh\ndeco features --manifest-dir /path/to/features\n```\n\nResolve dependencies:\n\n```sh\ndeco features resolve-dependencies --manifest-dir /path/to/features\ndeco features resolve-dependencies --workspace-folder /path/to/my-app\n```\n\nRun local manifest checks:\n\n```sh\ndeco features test --manifest-dir /path/to/features\n```\n\n### `templates`\n\nShow template metadata from a local collection:\n\n```sh\ndeco templates metadata --manifest-path /path/to/templates\n```\n\nApply a template:\n\n```sh\ndeco templates apply \\\n  --manifest-path /path/to/templates \\\n  --template-id alpha \\\n  --target-dir /tmp/template-output\n```\n\n### `outdated`\n\n```sh\ndeco outdated --workspace-folder /path/to/my-app\ndeco outdated --lockfile /path/to/deco-lock.json\n```\n\n### `upgrade`\n\n```sh\ndeco upgrade --workspace-folder /path/to/my-app --dry-run\ndeco upgrade --lockfile /path/to/deco-lock.json\n```\n\n## Output Contract\n\n`deco` writes machine-readable command results to `stdout`.\n\nDiagnostics and logs go to `stderr`.\n\nThat means scripting should usually redirect `stdout`, for example:\n\n```sh\ndeco read-configuration --workspace-folder /path/to/my-app \u003e result.json\n```\n\nMore detail: [docs/stderr-convention.md](/home/ilyar/startup/deco/repo/deco/docs/stderr-convention.md:1)\n\n## More Documentation\n\n- [DEVELOP.md](/home/ilyar/startup/deco/repo/deco/DEVELOP.md:1) for building, testing, releasing, and verifying artifacts\n- [CONTRIBUTING.md](/home/ilyar/startup/deco/repo/deco/CONTRIBUTING.md:1) for contribution workflow and review expectations\n- [docs/installing.md](/home/ilyar/startup/deco/repo/deco/docs/installing.md:1) for release downloads, install commands, and local release commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyar%2Fdeco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyar%2Fdeco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyar%2Fdeco/lists"}