{"id":21657818,"url":"https://github.com/hyprwm/hyprlang","last_synced_at":"2025-07-17T20:32:10.389Z","repository":{"id":214674043,"uuid":"736696791","full_name":"hyprwm/hyprlang","owner":"hyprwm","description":"The official implementation library for the hypr config language.","archived":false,"fork":false,"pushed_at":"2024-05-15T16:45:28.000Z","size":163,"stargazers_count":102,"open_issues_count":5,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-16T05:29:46.203Z","etag":null,"topics":["hyprland","language","parser"],"latest_commit_sha":null,"homepage":"https://hyprland.org/hyprlang","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyprwm.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"ko_fi":"vaxry"}},"created_at":"2023-12-28T16:01:03.000Z","updated_at":"2024-05-27T12:22:33.546Z","dependencies_parsed_at":"2024-01-09T10:32:42.989Z","dependency_job_id":"a24b0c81-3b42-40a0-97fc-c2fdc57566c8","html_url":"https://github.com/hyprwm/hyprlang","commit_stats":null,"previous_names":["hyprwm/hyprlang"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprwm%2Fhyprlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprwm%2Fhyprlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprwm%2Fhyprlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyprwm%2Fhyprlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyprwm","download_url":"https://codeload.github.com/hyprwm/hyprlang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226304080,"owners_count":17603503,"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":["hyprland","language","parser"],"created_at":"2024-11-25T09:28:09.737Z","updated_at":"2025-07-17T20:32:10.163Z","avatar_url":"https://github.com/hyprwm.png","language":"C++","funding_links":["https://ko-fi.com/vaxry"],"categories":["C++"],"sub_categories":[],"readme":"# hyprlang\n\nThe hypr configuration language is an extremely efficient, yet easy to work with, configuration language\nfor linux applications.\n\nIt's user-friendly, easy to grasp, and easy to implement.\n\n## Building and installation\n\nBuilding is done via CMake:\n```sh\ncmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build\ncmake --build ./build --config Release --target hyprlang -j`nproc 2\u003e/dev/null || getconf _NPROCESSORS_CONF`\n```\nInstall with:\n```sh\nsudo cmake --install ./build\n```\n\n## Example config\n\n```ini\nbakery {\n    counter_color = rgba(ee22eeff)          # color by rgba()\n    door_color = rgba(122, 176, 91, 0.1)    # color by rgba()\n    dimensions = 10 20                      # vec2\n    employees = 3                           # int\n    average_time_spent = 8.13               # float\n    hackers_password = 0xDEADBEEF           # int, as hex\n\n    # nested categories\n    secrets {\n        password = hyprland                 # string\n    }\n}\n\n# variable\n$NUM_ORDERS = 3\n\ncakes {\n    number = $NUM_ORDERS                    # use a variable\n    colors = red, green, blue               # string\n}\n\n# keywords, invoke your own handler with the parameters\nadd_baker = Jeremy, 26, Warsaw\nadd_baker = Andrew, 21, Berlin\nadd_baker = Koichi, 18, Morioh\n```\n\n## Docs\n\nVisit [hyprland.org/hyprlang](https://hyprland.org/hyprlang) to see the documentation.\n\n### Example implementation\n\nFor an example implementation, take a look at the `tests/` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyprwm%2Fhyprlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyprwm%2Fhyprlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyprwm%2Fhyprlang/lists"}