hashicorp/hcl
HCL is the HashiCorp configuration language.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
1 release in the last 90 days, the latest 46 days ago, with 103 contributors on GitHub.
Use Cases & Benefits
- Provides a toolkit for creating structured, human- and machine-friendly configuration languages with a native syntax and JSON variant.
- Enables declarative, expressive configuration with validation and error handling tailored to the application's expected structure.
- Use for building custom configuration formats for DevOps tools and server applications requiring readable and dynamic configs.
- Use for parsing and decoding configuration files into Go structs for seamless integration in Go-based CLI tools.
- Use for mixing human-authored HCL files with machine-generated JSON configs to support flexible configuration workflows.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Mozilla Public License 2.0
Weak copyleft: changes to the licensed code itself must be shared when you distribute it, but code that merely uses it can stay under your own license.
Community files
- README: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
HCL is a toolkit for creating structured configuration languages that are both human- and machine-friendly, for use with command-line tools. Although intended to be generally useful, it is primarily targeted towards devops tools, servers, etc.
NOTE: This is major version 2 of HCL, whose Go API is incompatible with major version 1. Both versions are available for selection in Go Modules projects. HCL 2 cannot be imported from Go projects that are not using Go Modules. For more information, see our version selection guide.
HCL has both a native syntax, intended to be pleasant to read and write for humans, and a JSON-based variant that is easier for machines to generate and parse.
The HCL native syntax is inspired by libucl, nginx configuration, and others.
It includes an expression syntax that allows basic inline computation and, with support from the calling application, use of variables and functions for more dynamic configuration languages.
HCL provides a set of constructs that can be used by a calling application to construct a configuration language. The application defines which attribute names and nested block types are expected, and HCL parses the configuration file, verifies that it conforms to the expected structure, and returns high-level objects that the application can use for further processing.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+20 stars over 31 days across 4 snapshot days; best day +4 on Oct 2.
Forks
675+8
Open issues
226-7
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 187.8K | +2.9K | 15 | — |
| DuarteSantos8/openGym | 19.7K | +2.4K | 60 | 2 days ago |
| shiyu-coder/Kronos | 47.0K | +2.3K | 16 | — |
| NationalSecurityAgency/ghidra | 98.2K | +2.3K | 64 | 14 days ago |
| microsoft/VibeVoice | 56.0K | +1.1K | 29 | — |
| hashicorp/hcl | 5.8K | — | 57 | 46 days ago |
| Category median | 56.0K | +2.3K | 29 | — |
Also by hashicorp
Other repositories from this maintainer that GStars tracks
- Go50.3K stars
terraform
Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
- Go36.5K stars
vault
A tool for secrets management, encryption as a service, and privileged access management
- Go30.1K stars
consul
Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
- Go17.1K stars
nomad
Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
- Go11.1K stars
terraform-provider-aws
The AWS Provider enables Terraform to manage AWS resources.
Discover Repositories
Search across tracked repositories by name or description