{"id":22781829,"url":"https://github.com/moonwalker/comet","last_synced_at":"2026-05-01T14:34:19.328Z","repository":{"id":266238603,"uuid":"897789291","full_name":"moonwalker/comet","owner":"moonwalker","description":"☄️ Cosmic tool for provisioning and managing infrastructure.","archived":false,"fork":false,"pushed_at":"2025-10-29T17:37:35.000Z","size":19550,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-29T17:39:10.543Z","etag":null,"topics":["devops","infrastructure","opentofu","provisioning","terraform"],"latest_commit_sha":null,"homepage":"http://moonwalker.tech/comet/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moonwalker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-12-03T08:43:17.000Z","updated_at":"2025-10-29T17:37:39.000Z","dependencies_parsed_at":"2025-03-30T14:41:08.901Z","dependency_job_id":"16d4a324-0df5-4af0-839e-af9b46d03fe0","html_url":"https://github.com/moonwalker/comet","commit_stats":null,"previous_names":["moonwalker/comet"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/moonwalker/comet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fcomet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fcomet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fcomet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fcomet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moonwalker","download_url":"https://codeload.github.com/moonwalker/comet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moonwalker%2Fcomet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["devops","infrastructure","opentofu","provisioning","terraform"],"created_at":"2024-12-11T21:08:51.673Z","updated_at":"2026-05-01T14:34:19.317Z","avatar_url":"https://github.com/moonwalker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Comet \n\nMinimal infrastructure orchestration tool for Terraform/OpenTofu with JavaScript configuration.\n\n## Features\n\n- **🚀 JavaScript Configuration** - Use a real programming language instead of HCL\n- **🔄 Automatic Backend Generation** - No more manual backend.tf files\n- **🔗 Cross-Stack References** - Simple `state()` function for referencing outputs\n- **🔐 Built-in Secrets** - Native SOPS integration\n- **📦 Multi-Environment** - DRY configurations across dev/staging/prod\n- **⚡ Minimal \u0026 Unopinionated** - Thin wrapper, you build your own patterns\n\n**It's Just JavaScript!** Create helper functions, abstractions, and patterns for your team's needs.\n\n## Installation\n\n```bash\ncurl -fsSL https://moonwalker.github.io/comet/install.sh | sh\n```\n\n**Prerequisites:** [OpenTofu](https://opentofu.org) or [Terraform](https://www.terraform.io)\n\nSee [installation guide](docs/installation.md) for details.\n\n## Quick Start\n\n**1. Create a stack file:**\n\n```javascript\n// stacks/dev.stack.js\nstack('dev', { \n  project: 'myapp',\n  region: 'us-central1' \n})\n\nbackend('gcs', {\n  bucket: 'my-terraform-state',\n  prefix: '{{ .stack }}/{{ .component }}'\n})\n\ncomponent('vpc', 'modules/vpc', {\n  cidr: '10.0.0.0/16'\n})\n```\n\n**2. Run commands:**\n\n```bash\ncomet plan dev      # Show changes\ncomet apply dev     # Create infrastructure\ncomet output dev    # Show outputs\ncomet destroy dev   # Tear down\n```\n\n## Documentation\n\n- [Installation Guide](docs/installation.md)\n- [Best Practices](docs/best-practices.md)\n- [DSL Quick Reference](docs/dsl-quick-reference.md)\n- [Cross-Stack References](docs/cross-stack-references.md)\n- [It's Just JavaScript!](docs/its-just-javascript.md)\n- [Examples](stacks/_examples/)\n\n## Key Concepts\n\n**Stacks** - Environments (dev, staging, prod)\n```javascript\nstack('production', { settings })\n```\n\n**Components** - Terraform modules\n```javascript\nconst vpc = component('vpc', 'modules/vpc', { cidr: '10.0.0.0/16' })\n```\n\n**Cross-Stack References** - Reference other stacks\n```javascript\ncluster_id: '{{ (state \"infrastructure\" \"gke\").cluster_id }}'\n```\n\n**Secrets** - SOPS integration\n```javascript\npassword: secret('database/password')\n```\n\n**Your Own Helpers** - It's JavaScript!\n```javascript\nfunction k8sApp(name, config) {\n  return component(name, 'modules/k8s-app', {\n    replicas: 2,\n    ...config\n  })\n}\n```\n\nSee [full documentation](https://github.com/moonwalker/comet/tree/main/docs) for details. \n\n## License\n\nThis project is licensed under the terms specified in the project's license file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonwalker%2Fcomet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoonwalker%2Fcomet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoonwalker%2Fcomet/lists"}