{"id":27902820,"url":"https://github.com/maxtek6/wxreactview","last_synced_at":"2026-04-30T09:33:59.115Z","repository":{"id":291300894,"uuid":"976738647","full_name":"maxtek6/wxReactView","owner":"maxtek6","description":"wxWidgets extension for creating desktop apps with ReactJS and WebView","archived":false,"fork":false,"pushed_at":"2025-06-30T23:31:52.000Z","size":75,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-01T00:34:01.753Z","etag":null,"topics":["electron","react","reactjs","webkit","webview","webview2","wxwidgets"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxtek6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-05-02T16:53:43.000Z","updated_at":"2025-06-30T23:29:26.000Z","dependencies_parsed_at":"2025-11-22T10:00:43.611Z","dependency_job_id":null,"html_url":"https://github.com/maxtek6/wxReactView","commit_stats":null,"previous_names":["maxtek6/wxreactview"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxtek6/wxReactView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxtek6%2FwxReactView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxtek6%2FwxReactView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxtek6%2FwxReactView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxtek6%2FwxReactView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxtek6","download_url":"https://codeload.github.com/maxtek6/wxReactView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxtek6%2FwxReactView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["electron","react","reactjs","webkit","webview","webview2","wxwidgets"],"created_at":"2025-05-05T21:38:57.385Z","updated_at":"2026-04-30T09:33:59.110Z","avatar_url":"https://github.com/maxtek6.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DISCLAIMER\n\nThis project is mostly for learning purposes and will likely be archived \nsoon. For a cleaner and better solution, see [WebFrame](https://github.com/maxtek6/WebFrame).\n\n# wxReactView\n\nwxWidgets component for running React apps in WebView\n\n## Why?\n\nwxReactView was created for [a client](https://github.com/lariat-app),\nwhich originally used React with Electron and the Node.js C++ plugin \ninterface. While this was a workable solution, Electron was operating \nas a bloated middleware component between the React frontend and core \nC++ logic. The decision to start from scratch with wxWidgets had its \nown challenges, mostly related to loading local web content and message \npassing. This solution is meant to address these challenges.\n\nDue to the flexibility and performance of the wxWidgets solution, our\nclient has given us permission to release this component as a separate \nproject.\n\nThis is not meant to be a universal replacement for Electron, but for \nsome use cases, it can provide a useful alternative. By extending the \nwxWidgets framework, wxReactView provides a solid connection between a\ncommonly used web technology and a feature-rich C++ desktop framework.\n\n## Requirements\n\n+ C++17\n+ CMake 3.15 or newer\n+ npm**\n\n**optional, for building frontend components.\n\n## Usage\n\nThe recommended toolchain for wxReactView is to use React + Vite. To\nadd a wxReactView app to a CMake project, the following function can \nbe used:\n\n```cmake\nwxreactview_add_executable(\u003ctarget\u003e\n    FRONTEND \u003cnodejs-source-directory\u003e\n    SOURCES \u003csource-files\u003e\n)\n```\n\nTo integrate with the C++ code, use the `wxReactApp` class:\n\n```c++\nclass ExampleApp : public wxReactApp\n{\npublic:\n    virtual bool OnReady() override\n    {\n        // this is similar to the OnInit() function provided by wxApp\n    }\n};\n\nwxIMPLEMENT_APP(ExampleApp);\n```\n\n`wxReactApp` is an extension of `wxApp` that handles platform specific \ninitialization for the different WebView backends.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxtek6%2Fwxreactview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxtek6%2Fwxreactview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxtek6%2Fwxreactview/lists"}