Nativeapi
A modern cross-platform C++ library providing seamless, unified access to native system APIs across multiple platforms.
Install / Use
/learn @libnativeapi/NativeapiREADME
nativeapi
A modern cross-platform C++ library providing seamless, unified access to native system APIs across multiple platforms.
🚧 Work in Progress: This package is currently under active development.
Requirements
Build Requirements
- CMake 3.10 or later
- C++17 compatible compiler:
- Windows: Visual Studio 2017 or later / MinGW-w64
- macOS: Xcode 9.0 or later (Clang)
- Linux: GCC 7.0+ or Clang 5.0+
Platform-specific Dependencies
Linux
- GTK 3.0 development headers
# Ubuntu/Debian
sudo apt-get install libgtk-3-dev
# CentOS/RHEL/Fedora
sudo yum install gtk3-devel
# or
sudo dnf install gtk3-devel
macOS
- Cocoa framework (included with Xcode)
Windows
- Windows SDK
Building from Source
Quick Start
# Clone the repository
git clone https://github.com/libnativeapi/nativeapi.git
cd nativeapi
# Create build directory
mkdir build
cd build
# Configure and build
cmake ..
cmake --build . --config Release
Development
Code Formatting
Format the codebase using clang-format:
clang-format -i **/*.cpp **/*.h **/*.mm
Language Bindings
Currently available language bindings for nativeapi:
- nativeapi-flutter - Flutter bindings
- nativeapi-swift - Swift bindings
These bindings provide native system API access while preserving the library's core functionality.
License
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
