{"id":29204344,"url":"https://github.com/terroo/hexter","last_synced_at":"2025-07-29T21:10:51.861Z","repository":{"id":302294042,"uuid":"1011919557","full_name":"terroo/hexter","owner":"terroo","description":"Get the syntax of a hexadecimal color for the terminal (ANSI RGB)","archived":false,"fork":false,"pushed_at":"2025-07-01T22:41:45.000Z","size":85,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-16T03:01:04.838Z","etag":null,"topics":["ansi","ansi-colors","cli","command-line","cpp","cpp20","hexadecimal","rgb"],"latest_commit_sha":null,"homepage":"https://github.com/terroo/hexter","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terroo.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,"zenodo":null}},"created_at":"2025-07-01T14:30:05.000Z","updated_at":"2025-07-06T15:17:08.000Z","dependencies_parsed_at":"2025-07-01T15:46:44.510Z","dependency_job_id":"651d5f8b-fd8e-4fab-b362-849ffedadf31","html_url":"https://github.com/terroo/hexter","commit_stats":null,"previous_names":["terroo/hexter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terroo/hexter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terroo%2Fhexter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terroo%2Fhexter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terroo%2Fhexter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terroo%2Fhexter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terroo","download_url":"https://codeload.github.com/terroo/hexter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terroo%2Fhexter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267759242,"owners_count":24140023,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ansi","ansi-colors","cli","command-line","cpp","cpp20","hexadecimal","rgb"],"created_at":"2025-07-02T15:01:38.570Z","updated_at":"2025-07-29T21:10:51.780Z","avatar_url":"https://github.com/terroo.png","language":"C++","readme":"# 🎨 `hexter`\n\u003e Get the syntax of a hexadecimal color for the terminal (ANSI RGB)\n\n![hexter](hexter.jpg) \n\n---\n\n## 📦 Dependencies\n+ C++ Compiler: [GCC](https://gcc.gnu.org/) or [Clang](https://clang.llvm.org/)\n+ [CMake](https://cmake.org/)\n\n---\n\n## 🚧 Build and Install\n### Windows\nInstall Dependencies:\n+ [Git](https://winstall.app/apps/Git.Git): `winget install --id=Git.Git  -e`\n+ [GCC](https://terminalroot.com/how-to-install-the-new-version-of-gcc-mingw-on-windows/) → *Click on the link to see the procedure*\n+ [CMake](https://winstall.app/apps/Kitware.CMake): `winget install --id=Kitware.CMake  -e` \n\nOpen [PowerShell](https://terminalroot.com/customize-your-powershell-like-a-pro/) with **administrator permission**: \n\u003e `Start-Process powershell -Verb runAs`\n\n```bash\ngit clone https://github.com/terroo/hexter\ncd hexter\ncmake . -G \"Unix Makefiles\" -B build -DCMAKE_INSTALL_PREFIX=\"C:/Program Files/HexTer\"\ncmake --build build\ncmake --install build\n[System.Environment]::SetEnvironmentVariable(\"Path\", $env:Path + \";C:\\Program Files\\HexTer\\bin\", [System.EnvironmentVariableTarget]::Machine)\n```\n\u003e Close the terminal and open it again and test: `hexter fd6389`\n\n![hexter on Windows](hexter-windows.jpg) \n\n\n### Unix-like(macOS, GNU/Linux, BSD and Haiku)\n```bash\ngit clone https://github.com/terroo/hexter\ncd hexter\ncmake . -B build\ncmake --build build\nsudo cmake --install build\n```\n\n---\n\n## 💼 Usage and Examples\n\n```bash\nhexter '#a6e22e' # Use quotes or double quotes for '#'\nhexter fd6389 # No quotes\n```\n\n---\n\n## 🔠 Use API\n```cpp\n#include \u003cprint\u003e\n#include \"hexter-color.hpp\"\n\nint main(){\n  std::println(\"{}Hello, World!{}\", hexter::color(\"#84afd7\"), hexter::off);\n}\n```\n\nIf you want to install the API:\n```bash\nsudo wget -q \\\n  https://raw.githubusercontent.com/terroo/hexter/refs/heads/main/hexter-color.hpp \\\n  -O /usr/local/include/hexter-color.hpp\n```\n\u003e And just include: `#include \u003chexter-color.hpp\u003e`\n\n\u003e **`hexter`** is still in early versions, if you find any *bugs*, please open an [issue](https://github.com/terroo/hexter/issues).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterroo%2Fhexter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterroo%2Fhexter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterroo%2Fhexter/lists"}