Native by design
Build native desktop apps with HTML, JavaScript, and CSS for the UI and .NET for the backend.
Build lightweight, cross-platform desktop applications using the tools you already love.
Build native desktop apps with HTML, JavaScript, and CSS for the UI and .NET for the backend.
Write once and run on Windows, macOS, and Linux with one codebase and your preferred web framework.
Photino uses the system web view, keeping applications small without bundling a browser engine.
# Install the Photino templates
dotnet new install TryPhotino.VSCode.Project.Templates
# Create and run a desktop app
dotnet new photinoapp -o MyPhotinoApp
cd MyPhotinoApp
dotnet run
Get up and running quickly with .NET templates, clear documentation, and practical examples. Create, build, and run a native desktop app with just a few commands.
Photino uses the operating system’s web view, which can reduce download size and memory use.
Starter app measurements in MB for Photino for .NET 1.5.5 and Electron 12.0.0. The charts use the standalone Photino download.
| Platform | Electron | Photino standalone | Photino |
|---|---|---|---|
| Windows 10 | 177 | 37.0 | 16.9 |
| macOS 11.2 | 182 | 22.7 | 0.28 |
| Ubuntu 20.04 | 194 | 21.8 | 0.28 |
| Platform | Electron | Photino |
|---|---|---|
| Windows 10 | 53 | 68 |
| macOS 11.2 | 92 | 48 |
| Ubuntu 20.04 | 131 | 87 |
Photino is an open-source project with contributions from developers around the world. Join the community, report issues, suggest features, or contribute code.
Photino was inspired by Electron. It's an open-source project based on .NET. The goal of Photino is to enable developers to use Web UI (HTML, JavaScript, CSS, etc.) in native applications across platforms instead of learning platform-specific UI technologies.
What is a Photino, you ask? It's a hypothetical subatomic particle and fermion superpartner of the photon as predicted by supersymmetry. It's a candidate for the lightest supersymmetric particle in the universe.
Photino is a collection of packages that can be used for different platforms and technologies. The different packages use Photino.Native as their base package. Photino.Native is a C++ (and Objective-C) wrapper around the OS’s built-in Chromium or WebKit-based browser control in it. On Windows it uses the Chromium Edge based WebView2 control, on macOS it uses Safari’s WKWebView and on Linux it uses WebKitGTK+ 2. The Photino.Native package is compiled for each platform and distributed via NuGet.
Using the native browser control reduces the overall footprint of a Photino application since there is no need to bundle WebKit in the application. Photino is cross-platform because the application communicates with the wrapper in exactly the same way on any OS. This means developers only need one code base for all desktop platforms.
While we’re concentrating on using Photino with .NET, it could be used to build Web UIs for desktop applications written in any language, like C++, Go, Rust, Java, Objective-C and others!
Photino for .NET adds support for .NET to the Photino.Native package. With Photino for .NET you can build desktop applications with .NET backends and your Web Framework of choice. Since .NET is cross-platform it is the perfect candidate for robust and reusable code that runs everywhere.
Photino.Blazor builds on top of Photino for .NET and adds the ability to build your application without having to know JavaScript or TypeScript at all.
News ·
We are pleased to announce a strategic shift in the development approach for the Photino project. In response to evolving time constraints within the team, we are transitioning to a workflow that is increasingly assisted and driven by AI agents.
As part of this initiative, we will begin by leveraging GitHub Copilot to assist with the evaluation of submitted pull requests. These will be reviewed and merged as appropriate. Following this, Copilot will be utilized to triage open issues, determining which items to address, generating proposed solutions, and presenting them for our review prior to merging.
The final phase of this transition involves the implementation of an automated testing suite using Playwright. This will help ensure that future changes, including those generated by AI, do not introduce unintended breaking changes or regressions into the Photino codebase.
We look forward to the increased efficiency and consistency these enhancements will bring to the project.