{"id":48044803,"url":"https://github.com/msutara/config-manager-core","last_synced_at":"2026-04-04T14:17:04.912Z","repository":{"id":343239194,"uuid":"1158771411","full_name":"msutara/config-manager-core","owner":"msutara","description":"Core service for managing headless Debian-based nodes — plugin system, REST API, job scheduler","archived":false,"fork":false,"pushed_at":"2026-03-20T22:13:46.000Z","size":217,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T13:39:55.739Z","etag":null,"topics":["cli-tool","config-manager","debian","go","headless","plugin-system","raspberry-pi","system-management"],"latest_commit_sha":null,"homepage":"https://github.com/msutara/config-manager-core/blob/main/docs/USAGE.md","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msutara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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-02-15T22:13:46.000Z","updated_at":"2026-03-20T22:13:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/msutara/config-manager-core","commit_stats":null,"previous_names":["msutara/config-manager-core"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/msutara/config-manager-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutara%2Fconfig-manager-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutara%2Fconfig-manager-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutara%2Fconfig-manager-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutara%2Fconfig-manager-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msutara","download_url":"https://codeload.github.com/msutara/config-manager-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msutara%2Fconfig-manager-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":["cli-tool","config-manager","debian","go","headless","plugin-system","raspberry-pi","system-management"],"created_at":"2026-04-04T14:17:04.815Z","updated_at":"2026-04-04T14:17:04.897Z","avatar_url":"https://github.com/msutara.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Config Manager Core\n\nCore service for managing headless Debian-based nodes.\nProvides a plugin system, TUI interface (raspi-config style), REST API,\nand job scheduler — all in a single binary.\n\n## Features\n\n- **Plugin architecture** — modular, separate repos compiled into one binary\n- **TUI interface** — interactive menus via Bubble Tea (raspi-config style)\n- **Headless mode** — `--headless` for systemd/daemon use (API server only)\n- **REST API** — embedded HTTP server for remote access and future web UI\n- **Job scheduler** — cron-based recurring tasks defined by plugins\n- **Job history** — execution history persisted to disk, survives restarts\n- **Single binary** — cross-compile for ARM, no runtime dependencies\n- **.deb packaging** — install with `dpkg`, systemd service included\n\n## Installation\n\n### Quick install (recommended)\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/msutara/config-manager-core/main/scripts/install.sh | sudo bash\n```\n\nOr with a specific version/architecture:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/msutara/config-manager-core/main/scripts/install.sh | sudo bash -s -- --version 0.2.0 --arch armhf\n```\n\n### From .deb package\n\nDownload the latest release for your architecture from\n[GitHub Releases](https://github.com/msutara/config-manager-core/releases):\n\n```bash\n# Raspberry Pi 2 / UCK Gen1 (ARMv7)\nsudo dpkg -i cm_\u003cversion\u003e_armhf.deb\n\n# Raspberry Pi 4+ (ARM64)\nsudo dpkg -i cm_\u003cversion\u003e_arm64.deb\n\n# x86_64\nsudo dpkg -i cm_\u003cversion\u003e_amd64.deb\n```\n\nThe package installs a systemd service and sets up directories. Start with:\n\n```bash\nsudo systemctl start cm\n```\n\n### From source\n\n```bash\n# Native build\nmake build\n\n# Cross-compile all targets (amd64, arm64, armhf)\nmake build-all\n\n# Build .deb packages for all architectures\nmake deb-all\n```\n\n## Quick Start\n\n```bash\n./cm                              # run with defaults\n./cm --config /path/to/config.yaml  # custom config\n./cm --version                    # show version\n```\n\n## Configuration\n\nCM Core reads configuration from `/etc/cm/config.yaml` (or the path given\nvia `--config`). All settings can be overridden with environment variables.\n\n| Setting                | Env Var                   | Default       | Description                                      |\n| ---------------------- | ------------------------- | ------------- | ------------------------------------------------ |\n| `listen_host`          | `CM_LISTEN_HOST`          | `localhost`   | API server bind address                          |\n| `listen_port`          | `CM_LISTEN_PORT`          | `7788`        | API server port                                  |\n| `log_level`            | `CM_LOG_LEVEL`            | `info`        | Log verbosity (`debug`, `info`, `warn`, `error`) |\n| `data_dir`             | `CM_DATA_DIR`             | `/var/lib/cm` | Persistent data directory                        |\n| `storage_backend`      | `CM_STORAGE_BACKEND`      | `json`        | Job history backend (`json`)                     |\n| `job_history_max_runs` | `CM_JOB_HISTORY_MAX_RUNS` | `50`          | Max run records per job (`0` = unlimited)        |\n| `enabled_plugins`      | `CM_ENABLED_PLUGINS`      | (all)         | Comma-separated plugin allowlist                 |\n| `theme`                | `CM_THEME`                | (default)     | TUI theme name or absolute path                  |\n\n## Documentation\n\n- [Usage Guide](docs/USAGE.md) — CLI options, configuration, and deployment\n- [How It Works](docs/HOW-IT-WORKS.md) — architecture and plugin model\n\n## Specifications\n\n- [SPEC.md](specs/SPEC.md) — core specification\n- [ARCHITECTURE.md](specs/ARCHITECTURE.md) — internal structure\n- [PLUGIN-INTERFACE.md](specs/PLUGIN-INTERFACE.md) — plugin contract\n- [API.md](specs/API.md) — REST API specification\n\n## Development\n\nSee [DEVELOPMENT.md](DEVELOPMENT.md) for the multi-repo development\nworkflow, including Go workspace setup, integration testing, plugin\ncreation, and release procedures.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## Security\n\nSee [SECURITY.md](SECURITY.md) for vulnerability reporting.\n\n## License\n\nSee [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutara%2Fconfig-manager-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsutara%2Fconfig-manager-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsutara%2Fconfig-manager-core/lists"}