chromelyapps / Chromely

Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
MIT License
2.98k stars 278 forks source link
angular asp-net-core asp-net-core-mvc asp-net-core-razor-pages blazor browser c-sharp cef cefglue cefsharp chromium cross-platform desktop dotnet electron html5 owin react vue winapi

Announcement - Chromely is no longer being maintained!

For those who would like to continue working on the project via forks or alternative approaches, please send mattkol the appropriate links and they will be added here.

Thanks to all the contributors over the years for making the platform a great learning place.

Thank you all.

Chromely


For developers who are interested in WebView2 there is EdgeSharp, an offshoot of Chromely.

Chromely is a lightweight alternative to Electron.NET, Electron for .NET/.NET Core developers.

Chromely is a .NET/.NET Core HTML5 Chromium desktop framework. It is focused on building apps based on Xilium.CefGlue, CefSharp implementations of embedded Chromium (CEF) without WinForms or WPF, but can be extended to use WinForms or WPF. Chromely uses Windows, Linux and MacOS native GUI API as "thin" chromium hosts.

With Chromely you can build Single Page Application (SPA) HTML5 desktop apps with or without Node/npm. Building SPA apps using Blazor or javascript frameworks like Angular, React, Vue or similar is easy. You can use Visual Studio Code or any IDE you are familiar with as long as Chromely knows the entry html file from the compiled/bundled files. For more info please see - Blazor-Demos and Chromely-Apps.

Options of communicating (IPC) with rendering process are via:

If you like Chromely, please give it a star - it helps!

Have a quick question? Wanna chat? Connect on Join the chat at https://gitter.im/chromely_/Lobby

Have an app/project/tool using Chromely - please share!

Platforms

Cross-platform -Windows, Linux, MacOS. Built on CEF, CefGlue, NET Standard 2.0, .NET Core 3.0, .NET Framework 4.61 and above.

 (1)  Windows 7, Service Pack 1 and newer
 (2)  Ubuntu 16.04 and newer
       (Mono currently not working)
 (3)  Tested on macOS Mojave 10.14.6 (Other versions will likely work too)
 (4)  i.e. Raspberry Pi 3+ (starting with v5.x)
       (for v4.x - manual download of CEF builds for ARM required, available on http://chromely.org/cefbuilds/index.html)

Chromely.Core Chromely Chromely.Owin

Chromely + Angular
Chromely + React
Chromely + Vue

Creating a Simple App

For more info see - Getting Started or Wiki

A basic Chromely project requires:

ThreadApt.STA();

AppBuilder
    .Create(args)
    .UseApp<ChromelyBasicApp>()
    .Build()
    .Run();

Chromely Demos

Get started with our demos.

References

Contributing

Contributions are always welcome, via PRs, issues raised, or any other means. To become a dedicated contributor, please contact the Chromely team or raise an issue mentioning your intent.

License

Chromely is MIT licensed. For dependency licenses please see.