{"id":17687838,"url":"https://github.com/salvadordf/webui4csharp","last_synced_at":"2025-07-02T10:32:13.021Z","repository":{"id":218420139,"uuid":"744149277","full_name":"salvadordf/WebUI4CSharp","owner":"salvadordf","description":"WebUI4CSharp is a WebUI wrapper, which allows you to use any web browser as a GUI, with C# in the backend and HTML5 in the frontend.","archived":false,"fork":false,"pushed_at":"2025-01-01T09:59:20.000Z","size":6634,"stargazers_count":45,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-29T14:44:38.682Z","etag":null,"topics":["browser","c-sharp","console","gui","javascript","typescript","web","webapp","webui","windows","winforms","wpf"],"latest_commit_sha":null,"homepage":"https://www.briskbard.com/forum/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salvadordf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-01-16T18:06:20.000Z","updated_at":"2025-06-26T21:17:29.000Z","dependencies_parsed_at":"2024-01-21T21:26:35.522Z","dependency_job_id":"9fe27b94-420d-4831-b988-3ff67e85a4d6","html_url":"https://github.com/salvadordf/WebUI4CSharp","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"a09bd3746bac75c80404c247b92b37bbf87a021f"},"previous_names":["salvadordf/webui4csharp"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/salvadordf/WebUI4CSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvadordf%2FWebUI4CSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvadordf%2FWebUI4CSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvadordf%2FWebUI4CSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvadordf%2FWebUI4CSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salvadordf","download_url":"https://codeload.github.com/salvadordf/WebUI4CSharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvadordf%2FWebUI4CSharp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263120691,"owners_count":23416872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["browser","c-sharp","console","gui","javascript","typescript","web","webapp","webui","windows","winforms","wpf"],"created_at":"2024-10-24T11:23:19.017Z","updated_at":"2025-07-02T10:32:12.990Z","avatar_url":"https://github.com/salvadordf.png","language":"C#","readme":"# WebUI4CSharp [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Add%20WebUI4CSharp%20to%20your%20applications%20to%20use%20any%20web%20browser%20as%20a%20GUI%20in%20your%20application\u0026url=https://github.com/salvadordf/WebUI4CSharp\u0026via=briskbard\u0026hashtags=WebUI4CSharp,csharp,webui)\nWebUI4CSharp is a [WebUI](https://github.com/webui-dev/webui) wrapper, which allows you to use any web browser as a GUI, with C# in the backend and HTML5 in the frontend. \n\nWebUI allows you to link your console, WinForms or WPF application with a web app that runs in a web browser installed in the operating system. Originally WebUI was created to have all the UI code in the web browser and the rest of the code in your hidden C# application.\nHowever, you can also decide to have a visible C# application communicating with a HTML5 app. You can get web browser events in your desktop application, call C# functions from JS, call JS functions from C# code, execute JavaScript, etc.\n\nWebUI4CSharp can be used console, WinForms or WPF applications for Windows. \n\nWebUI doesn't embed a web browser in your application. It's used as a bridge between a desktop application and the web browser running an HTML5 app. \n\n\n## Features\n\n- Fully Independent (*No need for any third-party runtimes*)\n- Lightweight \u0026 Small memory footprint\n- Fast binary communication protocol between WebUI and the browser (*Instead of JSON*)\n- Multi-platform \u0026 Multi-Browser\n- Using private profile for safety\n- Original library written in Pure C\n- XML documentation.\n- Help file.\n\n\n## Minimal Example\n\n```cs\n﻿using WebUI4CSharp;\n\nWebUIWindow window = new WebUIWindow();\nwindow.Show(\"\u003chtml\u003e\u003chead\u003e\u003cscript src=\\\"webui.js\\\"\u003e\u003c/script\u003e\u003c/head\u003e Hello World ! \u003c/html\u003e\");\nWebUI.Wait();\n```\n\n[More examples](https://github.com/salvadordf/WebUI4CSharp/tree/main/demos)\n\n\n## Text editor\n\nThis [text_editor](https://github.com/salvadordf/WebUI4CSharp/tree/main/demos/console_text_editor) is a lightweight and portable example written in C# and JavaScript using WebUI as the GUI.\n\n![text_editor](https://github.com/salvadordf/WebUI4CSharp/assets/17946341/caf363cf-a226-4635-9e1b-8d93f73e3a1e)\n\n\n## Installation\nUse the Nuget Package Manager to install the WebUI4CSharp and WebUI4CSharp.Natives packages or use the following commands :\n```bash\ndotnet add package WebUI4CSharp\ndotnet add package WebUI4CSharp.Natives\n```\n\n## Building the demos\n\n* Open the file WebUI4CSharp.Samples\\WebUI4CSharp.Samples.sln.\n* Press Control+Shift+B to build the demos\n\n## Links\n* [Developer Forums](https://www.briskbard.com/forum)\n* [WebUI project](https://github.com/webui-dev/webui) \n* [C API documentation](https://webui.me/docs/#/c_api)\n\n## Support\nIf you find this project useful, please consider making a donation.\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FTSD2CCGXTD86)\n\nYou can also support this project with Patreon.\n\n\u003ca href=\"https://patreon.com/salvadordf\"\u003e\u003cimg src=\"https://c5.patreon.com/external/logo/become_a_patron_button.png\" alt=\"Patreon donate button\" /\u003e\u003c/a\u003e\n\nYou can also support this project with Liberapay.\n\n\u003ca href=\"https://liberapay.com/salvadordf/donate\"\u003e\u003cimg alt=\"Donate using Liberapay\" src=\"https://liberapay.com/assets/widgets/donate.svg\"\u003e\u003c/a\u003e\n\n## Related projects \n* [CEF4Delphi](https://github.com/salvadordf/CEF4Delphi) \n* [WebView4Delphi](https://github.com/salvadordf/WebView4Delphi)\n* [WebUI4Delphi](https://github.com/salvadordf/WebUI4Delphi)\n* [Doxygen](https://github.com/doxygen/doxygen)\n* [WebUI.NET](https://github.com/Juff-Ma/WebUI.NET)\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FTSD2CCGXTD86","https://patreon.com/salvadordf","https://liberapay.com/salvadordf/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalvadordf%2Fwebui4csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalvadordf%2Fwebui4csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalvadordf%2Fwebui4csharp/lists"}