{"id":20285627,"url":"https://github.com/aep/ucli","last_synced_at":"2026-05-07T23:07:43.263Z","repository":{"id":57636436,"uuid":"428013887","full_name":"aep/ucli","owner":"aep","description":"universal config language improved","archived":false,"fork":false,"pushed_at":"2022-01-11T20:42:26.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-04T21:47:59.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/aep.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}},"created_at":"2021-11-14T18:54:12.000Z","updated_at":"2021-11-14T20:10:22.000Z","dependencies_parsed_at":"2022-09-26T20:21:54.401Z","dependency_job_id":null,"html_url":"https://github.com/aep/ucli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aep/ucli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fucli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fucli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fucli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fucli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aep","download_url":"https://codeload.github.com/aep/ucli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aep%2Fucli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32759458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"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":"2024-11-14T14:27:56.070Z","updated_at":"2026-05-07T23:07:43.238Z","avatar_url":"https://github.com/aep.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"universal configuration language improved\n=========================================\n\nit does objects with named and anonymous properties, that's it.\ninspired by HCL which is inspired by UCL.\nsupports like 1% of its features, but does have the major advantage that it can be formated tabular\nfor readability when you have lots of similar entries.\n\n\nfor example\n\n```hcl\nrocket falcon heavy { yuge: true        destination: up         taste: \"i don't know, please do not lick the rocket\" }\nrocket new shepard  { yuge: nah         destination: space      taste: \"i don't know, but bezos looks tasty\" }\nrocket electron     { yuge: babyrocket  destination: fishies    taste: \"zappy di zap zap\"}\n\ntweet {\n    hashtag:    falconheavy\n    author:     veryRealElonMusk81123311\n    text:       \"big rocket moon\nlike my new ponzi chain\nclick to win free integers\n\"}\n```\n\nequivalent json:\n\n```json\n{\n    \"rocket\": {\n        \"falcon\" : {\n            \"[1]\": \"heavy\",\n            \"destination\": \"up\",\n            \"taste\": \"i don't know, please do not lick the rocket\",\n            \"yuge\": \"true\"\n        },\n        ...\n    ],\n    \"tweet\": {\n        \"[0]\": {\n            \"author\": \"veryRealElonMusk81123311\",\n            \"hashtag\": \"falconheavy\",\n            \"text\": \"big rocket moon\\nlike my new ponzi chain\\nclick to win free integers\\n\"\n        }\n    },\n}\n\n```\n\n\nyou probably want to combine this with https://github.com/mitchellh/mapstructure\n\n```go\ntype Rocket struct {\n    Name2       string  `mapstructure:\"[1]\"`\n    Destination string\n}\n\ntype Config struct {\n    Rocket      map[string]Rocket\n    Tweet       map[string]Tweet\n}\n\nfunc main() {\n    f, err := os.Open(\"something.ucli\");\n    if err != nil { panic(err) }\n\n    m, err := ucli.Parse(f)\n    if err != nil { panic(err) }\n\n    var config Fabric\n    err = mapstructure.Decode(m, \u0026config)\n    if err != nil { panic(err) }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faep%2Fucli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faep%2Fucli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faep%2Fucli/lists"}