{"id":24038712,"url":"https://github.com/corn-config/corn","last_synced_at":"2026-01-24T01:18:21.429Z","repository":{"id":38767433,"uuid":"452063014","full_name":"corn-config/corn","owner":"corn-config","description":" 🌽 A simple and pain-free configuration language. Reference libcorn implementation and CLI.","archived":false,"fork":false,"pushed_at":"2025-03-05T14:47:44.000Z","size":269,"stargazers_count":57,"open_issues_count":6,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T11:40:56.987Z","etag":null,"topics":["configuration","grammar","language","peg","pest","rust","rust-library"],"latest_commit_sha":null,"homepage":"https://cornlang.dev","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/corn-config.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}},"created_at":"2022-01-25T22:27:13.000Z","updated_at":"2025-03-24T06:53:16.000Z","dependencies_parsed_at":"2024-06-16T14:43:02.179Z","dependency_job_id":"c0a8ca27-1fab-48b2-96e4-d7ed2b6cae29","html_url":"https://github.com/corn-config/corn","commit_stats":null,"previous_names":["jakestanger/corn"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corn-config%2Fcorn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corn-config","download_url":"https://codeload.github.com/corn-config/corn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249739894,"owners_count":21318670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["configuration","grammar","language","peg","pest","rust","rust-library"],"created_at":"2025-01-08T20:17:01.385Z","updated_at":"2026-01-24T01:18:21.398Z","avatar_url":"https://github.com/corn-config.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌽 Corn\n\nA simple and pain-free configuration language.\n\n[Corn](https://cornlang.dev) has been designed using inspiration from JSON and\nNix to produce a language that's easy and intuitive to write, good for config\nfiles, and has a feature-set small enough you can learn it in minutes. It was\nborn out of the following frustrations:\n\n- JSON is not a config language, despite how often people use it as one.\n- TOML is good for flat structures but gets ugly quickly with deeper objects.\n- YAML is far too complex and its whitespace rules make it error-prone.\n- Nix is a full-sized language and not easy to integrate.\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n## Documentation\n\n[📖User guide](https://cornlang.dev/user-guide) |\n[📝 Full specification](https://cornlang.dev/spec)\n\n\u003c/div\u003e\n\n---\n\n```corn\nlet {\n    $entry = \"dist/index.js\"\n    $author = { name = \"John Smith\" email = \"mail@example.com\" }\n} in {\n    name = \"example-package\"\n    version = \"1.0.0\"\n    main = $entry\n    bin.filebrowser = $entry\n    private = false\n\n    author = $author\n    author.url = \"https://example.com\"\n\n    contributors = [ $author ]\n\n    scripts.build = \"tsc\"\n    scripts.run = \"node dist\"\n\n    dependencies = {\n        dotenv = \"^8.2.0\"\n        // put the rest of your deps here...\n    }\n\n    devDependencies.typescript = \"^4.5\"\n\n    config.port = 8080\n    config.hostname = null\n}\n```\n\n---\n\nCorn is available as libraries for Rust, Go, Lua, and JavaScript (via WASM).\\\nA CLI and web API are also available.\n\nEditor plugins are available for JetBrains IDEs, VS Code and Neovim.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorn-config%2Fcorn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorn-config%2Fcorn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorn-config%2Fcorn/lists"}