{"id":13730380,"url":"https://github.com/ViliOrg/Vili","last_synced_at":"2025-05-08T02:32:24.689Z","repository":{"id":55659621,"uuid":"82693788","full_name":"ViliOrg/Vili","owner":"ViliOrg","description":"A nice and readable data format !","archived":false,"fork":false,"pushed_at":"2022-11-23T08:37:39.000Z","size":854,"stargazers_count":27,"open_issues_count":12,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T14:01:53.706Z","etag":null,"topics":["cpp","cpp17","data-format","hacktoberfest","stl-containers","vili"],"latest_commit_sha":null,"homepage":"","language":"C++","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/ViliOrg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"Sygmei"}},"created_at":"2017-02-21T15:11:31.000Z","updated_at":"2023-12-20T23:54:24.000Z","dependencies_parsed_at":"2023-01-22T17:15:41.144Z","dependency_job_id":null,"html_url":"https://github.com/ViliOrg/Vili","commit_stats":null,"previous_names":["sygmei/vili"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViliOrg%2FVili","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViliOrg%2FVili/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViliOrg%2FVili/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViliOrg%2FVili/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ViliOrg","download_url":"https://codeload.github.com/ViliOrg/Vili/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252986966,"owners_count":21836266,"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":["cpp","cpp17","data-format","hacktoberfest","stl-containers","vili"],"created_at":"2024-08-03T02:01:14.005Z","updated_at":"2025-05-08T02:32:24.431Z","avatar_url":"https://github.com/ViliOrg.png","language":"C++","readme":"![Banner](https://raw.githubusercontent.com/ViliOrg/Assets/master/banners/vili_banner_small.png)\n\n# Vili\nA simplistic readable data format !\n\n![build](https://github.com/Sygmei/Vili/workflows/build/badge.svg)\n\n## Description\n\nVili is a YAML-like data language without all the complexity, it comes with handy features allowing you to describe your data with beautiful tree-structures.\n\n# Examples :\n\n## Animals (Simple tree-like structure)\n\n### Vili file\n\n`Animalia.vili`\n\n```yaml\nAnimalia:\n    Chordate:\n        Mammal:\n            Carnivora:\n                Felidae:\n                    Felis:\n                        Domestica:\n                            HouseCat:\n                                name: \"House Cat\"\n                                size: 24.5\n                                cool: true\n                        Leo:\n                            Lion:\n                                name: \"Lion\"\n                                size: 280.7\n                                cool: true\n        Primate:\n            Pongidae:\n                Pan:\n                    Troglodytes:\n                        Chimpanzee:\n                            name: \"Chimpanzee\"\n                            size: 81.6\n                            cool: true\n            Hominidae:\n                Homo:\n                    Sapiens:\n                        Human:\n                            name: \"Human\"\n                            size: 170\n                            cool: false\n    Arthopoda:\n        Insect:\n            Diptera:\n                Muscidae:\n                    Musca:\n                        Domestica:\n                            Housefly:\n                                name: \"Housefly\"\n                                size: 0.12\n                                cool: false\n```\n\n## Countries and Cities (Lists)\n\n### Vili file\n\n`Countries.vili`\n\n```yaml\n# Inline\nFrance:\n    cities: [\"Paris\", \"Marseille\", \"Lyon\", \"Nice\"] \n# Multiline\nGermany:\n    cities: [\n        \"Berlin\",\n        \"Hamburg\",\n        \"Munich\",\n        \"Cologne\"\n    ]\n# Do however you want\nUnitedKingdom:\n    cities: [\n        \"London\", \"Manchester\",\n        \"Liverpool\", \"Glasgow\"\n    ]\n```\n\n\n## Templates\n\n```yaml\n# Simple templates (aliases)\ntemplate on: true\ntemplate off: false\n\nswitch_1: on\nswitch_2: off\n\n# Advanced templates\ntemplate color: {\n    type: \"color\",\n    r: 0,\n    g: 0,\n    b: 0,\n    a: 255\n}\n\nblack: color\nred: color { r: 255 }\ngreen: color { g: 255 }\nblue: color { b: 255 }\nyellow: color { r: 255, b: 255 }\n```","funding_links":["https://github.com/sponsors/Sygmei"],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FViliOrg%2FVili","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FViliOrg%2FVili","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FViliOrg%2FVili/lists"}