MCPcopy Create free account
hub / github.com/ThePhD/infoware

github.com/ThePhD/infoware @v0.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.6.0 ↗ · + Follow
121 symbols 153 edges 61 files 16 documented · 13% updated 11mo ago★ 45512 open issues

Browse by type

Functions 98 Types & classes 23
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

infoware License TravisCI build status AppVeyorCI build status

C++ Library for pulling system and hardware information, without hitting the command line.

Requirements

No non-built-in ones by default.

Some libraries are required for extended functionality. See the Configurability section below for details.

On Windows one needs to link to gdi32, version, Ole32, OleAut32 and wbemuuid.

A usable git binary is required by default, to clone https://github.com/pciutils/pciids. INFOWARE_PCI_IDS_REPOSITORY can be set to override that clone URI. INFOWARE_PCI_IDS_PATH can be set to use the specified file instead of using git at all.

Configurability

CMake definition and C++ preprocessor macro Meaning Linker library Priority
INFOWARE_USE_X11 Use X11 for display detection X11 <Win32/Darwin
INFOWARE_USE_D3D Use D3D for GPU detection dxgi >OpenCL
INFOWARE_USE_OPENCL Use OpenCL for GPU detection OpenCL <D3D
INFOWARE_USE_OPENGL Use OpenGL for GPU detection OS-dependent* <OpenGL

*Consult the section under the if(INFOWARE_USE_OPENGL) condition in CMakeLists.txt for variants.

Core symbols most depended-on inside this repo

Shape

Method 66
Function 32
Class 17
Enum 6

Languages

C++100%

Modules by API surface

src/pci.cpp6 symbols
include/infoware/system.hpp6 symbols
include/infoware/cpu.hpp6 symbols
src/system/amounts/amounts_windows.cpp4 symbols
src/system/amounts/amounts_non_windows.cpp4 symbols
examples/pci.cpp4 symbols
examples/cpu.cpp4 symbols
tools/pci_generator.cpp3 symbols
src/system/displays/displays_x11.cpp3 symbols
src/system/displays/displays_darwin.cpp3 symbols
src/system/OS_info/os_info_non_windows_non_darwin.cpp3 symbols
src/detail/winstring_windows.cpp3 symbols

For agents

$ claude mcp add infoware \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page