{"id":20073131,"url":"https://github.com/pit-ray/fluent-tray","last_synced_at":"2025-05-05T21:30:44.451Z","repository":{"id":221994568,"uuid":"752862601","full_name":"pit-ray/fluent-tray","owner":"pit-ray","description":"Fluent design-based GUI library for system tray applications written in C++ single header.","archived":false,"fork":false,"pushed_at":"2024-07-22T14:55:10.000Z","size":1093,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-07-22T17:56:30.473Z","etag":null,"topics":["cpp","desktop","fluent-design","gui-library","tray","windows","windows-10","windows-11"],"latest_commit_sha":null,"homepage":"https://pit-ray.github.io/fluent-tray/","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/pit-ray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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":{"github":"pit-ray"}},"created_at":"2024-02-05T01:27:25.000Z","updated_at":"2024-07-22T14:55:13.000Z","dependencies_parsed_at":"2024-06-13T17:20:12.656Z","dependency_job_id":"2c39e988-fec7-4402-a1ee-dc41e28e6a35","html_url":"https://github.com/pit-ray/fluent-tray","commit_stats":null,"previous_names":["pit-ray/fluent-tray"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pit-ray%2Ffluent-tray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pit-ray%2Ffluent-tray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pit-ray%2Ffluent-tray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pit-ray%2Ffluent-tray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pit-ray","download_url":"https://codeload.github.com/pit-ray/fluent-tray/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224468681,"owners_count":17316420,"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","desktop","fluent-design","gui-library","tray","windows","windows-10","windows-11"],"created_at":"2024-11-13T14:43:59.790Z","updated_at":"2024-11-13T14:44:00.423Z","avatar_url":"https://github.com/pit-ray.png","language":"C++","readme":"\u003ch1\u003e\u003cp align=\"center\"\u003efluent-tray\u003c/p\u003e\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/pit-ray/fluent-tray/blob/main/assets/banner.png?raw=true\" width=128/\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cb\u003eFluent Design-based GUI Library for System Tray Applications\u003c/b\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://coveralls.io/github/pit-ray/fluent-tray\"\u003e\u003cimg alt=\"Coveralls\" src=\"https://img.shields.io/coverallsCoverage/github/pit-ray/fluent-tray?style=flat-square\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/pit-ray/fluent-tray/actions/workflows/test.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/pit-ray/fluent-tray/test.yml?branch=main\u0026label=test\u0026logo=github\u0026style=flat-square\"/\u003e\u003c/a\u003e\n    \u003cbr\u003e  \n    \u003ca href=\"https://scan.coverity.com/projects/pit-ray-fluent-tray\"\u003e\u003cimg alt=\"Coverity Scan Build Status\" src=\"https://img.shields.io/coverity/scan/pit-ray-fluent-tray?style=flat-square\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.codacy.com/gh/pit-ray/fluent-tray/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=pit-ray/fluent-tray\u0026amp;utm_campaign=Badge_Grade\"\u003e\u003cimg src=\"https://img.shields.io/codacy/grade/8f2e6f2826904efd82019f5888574327?style=flat-square\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/pit-ray/fluent-tray/actions/workflows/codeql.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/pit-ray/fluent-tray/codeql.yml?branch=main\u0026label=CodeQL\u0026logo=github\u0026style=flat-square\"/\u003e\u003c/a\u003e\n    \u003cbr\u003e  \n    \u003ca href=\"https://github.com/pit-ray/fluent-tray/actions/workflows/coverity.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/pit-ray/fluent-tray/coverity.yml?branch=main\u0026label=Coverity Build\u0026logo=github\u0026style=flat-square\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/pit-ray/fluent-tray/actions/workflows/coveralls.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/pit-ray/fluent-tray/coveralls.yml?branch=main\u0026label=Coveralls Build\u0026logo=github\u0026style=flat-square\"/\u003e\u003c/a\u003e\n    \u003cbr\u003e  \n    \u003ca href=\"https://github.com/pit-ray/fluent-tray/actions/workflows/windows.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/pit-ray/fluent-tray/windows.yml?branch=main\u0026label=MSVC Build\u0026logo=github\u0026style=flat-square\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/pit-ray/fluent-tray/actions/workflows/mingw.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/pit-ray/fluent-tray/mingw.yml?branch=main\u0026label=MinGW Build\u0026logo=github\u0026style=flat-square\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Concept\nfluent-tray provides a simple system tray icon and menu to easily create resident applications that do not require complex windows.  \nAll you have to do is include a single header file since only the native API is used.  \nCurrently, only Windows is supported.\n\n## Demo\n\n\u003cimg src=\"https://github.com/pit-ray/fluent-tray/blob/main/assets/demo.png?raw=true\" /\u003e\n\n#### Code\nSimply create a `FluentTray` object and add a menu with `.add_menu()`.\n\n```cpp\n#include \"fluent_tray.hpp\"\n\nint main()\n{\n    using namespace fluent_tray ;\n\n    FluentTray tray{} ;\n\n    // Initialize the tray icon.\n    tray.create_tray(\"demo\", \"demo/assets/icon.ico\") ;\n\n    // Add menus in order from the top.\n    tray.add_menu(\"Home\", \"demo/assets/fa-home.ico\") ;\n    tray.add_separator() ;\n\n    tray.add_menu(\"Download\", \"demo/assets/fa-download.ico\") ;\n    tray.add_menu(\"Insight\", \"demo/assets/fa-line-chart.ico\") ;\n    tray.add_separator() ;\n\n    tray.add_menu(\"Coffee\", \"demo/assets/fa-coffee.ico\", true) ;\n    tray.add_menu(\"Desktop\", \"demo/assets/fa-desktop.ico\", true) ;\n    tray.add_separator() ;\n\n    tray.add_menu(\"Exit\", \"demo/assets/fa-sign-out.ico\") ;\n\n    // Start message loop\n    tray.update_with_loop() ;\n\n    return 0 ;\n}\n```\n\n#### Build\nYou can build this demo using `cmake` as follows.\n\n```sh\n$ cmake -B build demo\n$ cmake --build build\n$ ./build/Debug/fluent-tray-demo.exe\n```\n\n## Test\n\n```sh\n$ cmake -B build_test tests\n$ cmake --build build_test\n$ ctest -C Debug --test-dir build_test --output-on-failure\n```\n\n## License\nThis library is provided by pit-ray under the [MIT License](./LICENSE.txt).\n","funding_links":["https://github.com/sponsors/pit-ray"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpit-ray%2Ffluent-tray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpit-ray%2Ffluent-tray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpit-ray%2Ffluent-tray/lists"}