# samhocevar/portable-file-dialogs

💬 Portable GUI dialogs library, C++11, single-header

Repository: https://github.com/samhocevar/portable-file-dialogs
Canonical: https://ross.abutalabs.com/products/portable-file-dialogs
Language: C++
License: WTFPL
License Family: permissive
Last push: 2025-03-21T13:56:06+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 12, release rhythm 8, longevity 100
- inputs: {"age_days": 2882, "days_push": 530, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1251, forks 130 (observed 2026-08-28T04:04:08.254157+00:00)

## What it is
A single-header C++11 library for showing portable native GUI dialogs (file open/save, folder selection, message boxes, notifications) on Windows, macOS, and Linux. It supports synchronous and asynchronous, cancelable dialogs without extra library dependencies.

## Use cases
- show a file open dialog in a C++ app on Windows, Mac, and Linux
- display a message box or notification without a GUI framework
- pick a folder from a C++ command-line tool
- open native save-file dialog with a single header
- run non-blocking cancelable dialogs asynchronously

## When to choose
- you need native file/message dialogs in C++ with zero dependencies
- you want a lightweight single-header solution
- you need asynchronous or cancelable dialogs

## When to avoid
- you need a full GUI toolkit or rich custom dialogs
- you need feature-complete dialog options like tinyfiledialogs
- your target platform lacks Zeny/KDialog/AppleScript backends

## Facets
- artifact type: library
- maturity: stable
- function: gui, ui-components
- domain: desktop-applications, cross-platform, developer-tools
- platform: windows, cpp, cross-platform
- tags: single-header, file-dialogs, message-box, notifications, cpp11, header-only, macos, linux

## Member repositories
- samhocevar/portable-file-dialogs (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:08.254157+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:41.352893+00:00, confidence not recorded.
  - readme: https://github.com/samhocevar/portable-file-dialogs (fetched 2026-08-28T04:04:08.254157+00:00, sha 4c3e590f882d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
