DevPlaceApp
Native C++ desktop port of the DevPlaceIOS app. UI: SDL3 (software canvas, SwiftUI-style layout). Network: aiohttpcpp only. Spec: SPEC.md. Status: BUILD-TRACK.md.
Requirements
- C++20 compiler (GCC 13+ or Clang 17+), CMake 3.25+
- SDL3 3.4.x and SDL3_ttf 3.2.x development packages
- aiohttpcpp: installed in
~/.local(make install PREFIX=$HOME/.localin the aiohttpcpp repo) or placed at../aiohttpcpp
Build
Linux:
make # Debug build in ./build
make test # unit, api and e2e tiers
make run # start the app
macOS: brew install sdl3 sdl3_ttf cmake, then the same commands (set AIOHTTPCPP_PREFIX if aiohttpcpp is not in ~/.local).
Windows: vcpkg sdl3 sdl3-ttf, then cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=<vcpkg>/scripts/buildsystems/vcpkg.cmake and cmake --build build.
Run
./build/devplaceapp # live backend
./build/devplaceapp --mock # offline fixtures
./build/devplaceapp --screen feed --screenshot feed.png --mock --size 430x900
./build/devplaceapp --fit-screen 80 # window at most 80% of the display height, centered
Environment
| Variable | Meaning | Default |
|---|---|---|
| DEVPLACE_BASE_URL | backend base URL (a warning is logged when set) | https://devplace.net/ |
| DEVPLACE_ASSETS | asset directory | next to binary, then source tree |
| DEVPLACE_LOG_LEVEL | debug, info, warn, error | info |
| AIOHTTPCPP_PREFIX | extra CMake prefix for aiohttpcpp | none |
The app embeds no secrets.
Documents
MAPPING.md iOS to C++ mapping, INVENTORY.md inventory index, PARITY_CHECKLIST.md, SMOKE_TEST.md, THIRD_PARTY.md.
Screens (ids for --screen)
attachment-viewer, comment-editor, compose-lab, conversation, create-post, edit-post, emoji-picker, feed, login, messages, notifications, post, profile, profile-other, report, settings, signup, uploader. Authenticated ids sign in with the mock user when run with --mock.
Status and known gaps
Verified: Release build with -Werror, 197 test cases, headless smoke (18 screens, 15 scripts, offline render), network purity grep. Not verified: the live devplace.net backend (only a local aiohttpcpp server and the mock were exercised), pixel identity against iOS renders (none exist), macOS and Windows builds, the Containerfile. Full list: PARITY_CHECKLIST.md.