{"id":29204747,"url":"https://github.com/jfalcou/spy","last_synced_at":"2025-07-02T15:07:05.472Z","repository":{"id":32249621,"uuid":"132040453","full_name":"jfalcou/spy","owner":"jfalcou","description":"SPY - C++ Information Broker","archived":false,"fork":false,"pushed_at":"2025-07-01T16:27:29.000Z","size":754,"stargazers_count":154,"open_issues_count":4,"forks_count":11,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-07-01T17:38:16.217Z","etag":null,"topics":["concepts","constexpr","cpp17","cpp20","predef"],"latest_commit_sha":null,"homepage":"https://jfalcou.github.io/spy/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfalcou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-05-03T19:27:00.000Z","updated_at":"2025-07-01T16:24:52.000Z","dependencies_parsed_at":"2024-02-24T19:42:52.263Z","dependency_job_id":"5489744e-ae8b-48d7-be8a-9ff9e48a465e","html_url":"https://github.com/jfalcou/spy","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jfalcou/spy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfalcou%2Fspy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfalcou%2Fspy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfalcou%2Fspy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfalcou%2Fspy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfalcou","download_url":"https://codeload.github.com/jfalcou/spy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfalcou%2Fspy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263163163,"owners_count":23423495,"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":["concepts","constexpr","cpp17","cpp20","predef"],"created_at":"2025-07-02T15:07:04.850Z","updated_at":"2025-07-02T15:07:05.463Z","avatar_url":"https://github.com/jfalcou.png","language":"C++","readme":"\u003cimg src=\"https://github.com/jfalcou/spy/raw/main/logo.png\" alt=\"SPY Library logo\" data-canonical-src=\"https://github.com/jfalcou/spy/raw/main/logo.png\" align=\"left\" width=\"20%\" height=\"20%\" /\u003e\n\n# C++ Informations Broker\n\n[![CircleCI](https://circleci.com/gh/jfalcou/spy.svg?style=svg\u0026circle-token=91ebbf06adfe257ebdff3a5ed17ea512fe02771c)](https://circleci.com/gh/jfalcou/spy) [![Build status](https://ci.appveyor.com/api/projects/status/3us8906c0lvdl8ld/branch/main?svg=true)](https://ci.appveyor.com/project/jfalcou/spy/branch/main)\n[![Licence](https://img.shields.io/github/license/jfalcou/spy?style=plastic)](https://img.shields.io/github/license/jfalcou/spy?style=plastic)\n[![Discord](https://img.shields.io/discord/692734675726237696?style=plastic)](https://discord.gg/a9qVaEMeXd8)\n\n\n# Purpose\nDetection and versioning of operating systems, compilers, architecture and other element are\ntraditionally done using preprocessor macros. Library like\n[Boost.Predef](https://www.boost.org/doc/libs/release/doc/html/predef.html) provides a sanitized\ninterface on top of those but still live in a world where the preprocessor is king.\n\nSPY is a C++17 (and onward) library that gathers similar informations and provides a `constexpr`\ncompatible interface to access those information, thus making their exploitation within `constexpr`\ncontext possible.\n\nThe complete [documentation can be found here](https://jfalcou.github.io/spy).\n\n# Useful Links\n- [Our CppCon 2019 Ligthning talk slides](https://docs.google.com/presentation/d/1nSBhU4pr5EWznni0MYsyDkMCr3O3q2XS-KQdz2_BRRI/edit?usp=sharing)\n- [Our CppCon 2019 Ligthning talk video](https://www.youtube.com/watch?v=t406o2EhG-A)\n- [Boost.Predef](https://www.boost.org/doc/libs/release/doc/html/predef.html)\n","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfalcou%2Fspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfalcou%2Fspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfalcou%2Fspy/lists"}