{"id":47812414,"url":"https://github.com/fhem/devcontainer-toolkit","last_synced_at":"2026-04-03T18:16:08.775Z","repository":{"id":347886471,"uuid":"1195443701","full_name":"fhem/devcontainer-toolkit","owner":"fhem","description":"Toolkit to import a devcontainer in an module repository","archived":false,"fork":false,"pushed_at":"2026-03-29T22:18:58.000Z","size":16,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T00:49:56.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/fhem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-29T17:22:33.000Z","updated_at":"2026-03-29T17:22:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fhem/devcontainer-toolkit","commit_stats":null,"previous_names":["fhem/devcontainer-toolkit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/fhem/devcontainer-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fdevcontainer-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fdevcontainer-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fdevcontainer-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fdevcontainer-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhem","download_url":"https://codeload.github.com/fhem/devcontainer-toolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fdevcontainer-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","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-04-03T18:16:04.217Z","updated_at":"2026-04-03T18:16:07.350Z","avatar_url":"https://github.com/fhem.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FHEM Devcontainer Toolkit\n\nThis toolkit centralizes the reusable parts of a FHEM module development\nenvironment:\n\n- base container image and compose wiring\n- runtime bootstrap and overlay logic\n- optional add-ons such as SVN support\n- scaffold and sync helpers for consuming repositories\n\nModule-specific reverse proxies are intentionally out of scope for the toolkit\ncore. If a consumer needs `Caddy` or a similar proxy for a module-specific\nworkflow, keep that proxy config in the consumer repository instead of the\nshared scaffold.\n\nThe toolkit is meant to be maintained centrally and consumed by module\nrepositories through the sync script in `sync/`.\n\n## Public Interface\n\nThe generated consumer layer uses these environment variables:\n\n- `MODULE_REPO_ROOT`: absolute path to the consumer repository\n- `MODULE_OVERLAY_ROOT`: optional root containing `FHEM/`, `lib/`, `t/`, etc.\n- `FHEM_TOOLKIT_ROOT`: absolute path to this toolkit checkout\n- `FHEM_SOURCE_ROOT`: full FHEM source tree used as the runtime base\n- `FHEM_TOOLKIT_FEATURES`: optional comma-separated add-ons\n- `FHEM_SVN_ROOT`: optional SVN working copy root for the SVN add-on\n- `LOCAL_USER` / `LOCAL_UID` / `LOCAL_GID`: optional local overrides for the\n  generic container user (defaults: `dev`, `1000`, `1000`)\n\n`FHEM_SOURCE_ROOT` defaults to `${MODULE_REPO_ROOT}/fhem` so full-tree\nrepositories continue to work. Module-only repositories should set it to an\nexternal FHEM checkout.\n\n## Layout\n\n- `base/`: generic Dockerfile, compose wiring, bootstrap, helper scripts\n- `addons/svn/`: optional SVN checkout and sync helpers\n- `scaffold/templates/`: managed file templates for consumer repositories\n- `sync/`: repo sync entrypoint\n\n## Recommended Flow\n\n1. Clone the toolkit next to the consumer repository.\n2. Create or clone the consumer repository.\n3. Run `sync/sync-into-repo.sh \u003ctarget-repo\u003e`.\n4. Add the repo-specific layer such as profiles, config, SVN manifest, and any\n   host-specific mounts like `.gitconfig`.\n\n## Consumption Model\n\nRun `sync/sync-into-repo.sh \u003ctarget-repo\u003e` to initialize or update a consumer\nrepository. Generated files are intentionally thin and resolve the toolkit from\nthe consumer's sibling checkout `../fhem-devcontainer-toolkit` unless\n`FHEM_TOOLKIT_ROOT` overrides that location.\n\nSync preserves existing `.gitignore` entries and appends the toolkit defaults\ninstead of overwriting repo-local ignore rules.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhem%2Fdevcontainer-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhem%2Fdevcontainer-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhem%2Fdevcontainer-toolkit/lists"}