{"id":20151899,"url":"https://github.com/brisklib/brisk-helloworld","last_synced_at":"2026-06-14T16:37:35.415Z","repository":{"id":258216562,"uuid":"873857422","full_name":"brisklib/brisk-helloworld","owner":"brisklib","description":"Hello world example for the Brisk library","archived":false,"fork":false,"pushed_at":"2025-05-09T12:51:05.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T05:52:36.372Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/brisklib.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-16T20:52:30.000Z","updated_at":"2025-05-09T12:51:08.000Z","dependencies_parsed_at":"2025-05-09T13:44:44.015Z","dependency_job_id":"8d799d83-2119-451e-a768-459188f0071b","html_url":"https://github.com/brisklib/brisk-helloworld","commit_stats":null,"previous_names":["brisklib/brisk-helloworld"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brisklib/brisk-helloworld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisklib%2Fbrisk-helloworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisklib%2Fbrisk-helloworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisklib%2Fbrisk-helloworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisklib%2Fbrisk-helloworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brisklib","download_url":"https://codeload.github.com/brisklib/brisk-helloworld/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisklib%2Fbrisk-helloworld/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34328037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":[],"created_at":"2024-11-13T23:07:54.116Z","updated_at":"2026-06-14T16:37:35.378Z","avatar_url":"https://github.com/brisklib.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brisk Example Project\n\nThis project demonstrates how to use the [Brisk C++ library](https://github.com/brisklib/brisk) to build an application using CMake. It includes a simple executable that links to the Brisk library.\n\n## Prerequisites\n\nTo build and run this project, ensure you have the following installed:\n\n- **C++ compiler** supporting C++20 or later\n- **CMake** version 3.22 or higher\n- **Brisk Library** source code (Ensure `BRISK_DIR` is properly set to the location of the Brisk repository: `-DBRISK_DIR=path/to/brisk/repository`)\n\n## Project Structure\n\n- `main.cpp`: This file contains the entry point and core logic for the example application.\n- `CMakeLists.txt`: Configuration file for CMake to build the project and link necessary libraries.\n\n## Building the Project\n\n1. Clone or download the repository to your local machine.\n2. Navigate to the project directory:\n    ```bash\n    cd path/to/project\n    ```\n3. Create a build directory and navigate into it:\n    ```bash\n    mkdir build \u0026\u0026 cd build\n    ```\n4. Run CMake to configure the project:\n    ```bash\n    cmake -DBRISK_DIR=path/to/brisk/repository -DCMAKE_BUILD_TYPE=RelWithDebInfo ..\n    ```\n5. Build the project:\n    ```bash\n    cmake --build .\n    ```\n\n## Dependencies\n\nThe Brisk dependencies are built using the [vcpkg package manager](https://github.com/microsoft/vcpkg/). Vcpkg manages the dependencies by using source packages and builds each dependent library from its sources, which may lead to significant build times on the first run. It is recommended to set up a [binary cache](https://learn.microsoft.com/en-us/vcpkg/users/binarycaching) to reuse built libraries across multiple Brisk projects.\n\n## CMake Configuration\n\nThe provided `CMakeLists.txt` file includes the following key components:\n\n- **Project Setup**: The project is configured with the `brisk_setup()` function, and the metadata for the application is defined via `brisk_metadata()`.\n- **Executable Setup**: The project compiles the `main.cpp` file into an executable and links it to the Brisk libraries (`brisk-widgets` and `brisk-executable`).\n\n```cmake\nadd_executable(main main.cpp)\n\ntarget_link_libraries(main PRIVATE brisk-widgets brisk-executable)\n```\n\nEnsure that the Brisk library is available and properly linked in your environment.\n\n## License\n\nThe Brisk library is licensed under a dual GPLv2+/Commercial license.\n\nThe example project contained in this repository is licensed under the public domain or CC0. You are free to modify this code and use it as a starting point for your own projects, either GPL-licensed or proprietary (provided you have acquired a commercial license for the Brisk library, for details, contact brisk@brisklib.com).\n\n## Compatibility\n\nThe code in this example is compatible with Brisk 0.9.8+.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrisklib%2Fbrisk-helloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrisklib%2Fbrisk-helloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrisklib%2Fbrisk-helloworld/lists"}