imgui VS webview

Compare imgui vs webview and see what are their differences.

imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies (by ocornut)

webview

Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows) (by webview)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
imgui webview
167 28
34,307 9,434
- 2.8%
9.6 0.9
1 day ago 6 days ago
C++ C
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

imgui

Posts with mentions or reviews of imgui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-21.

webview

Posts with mentions or reviews of webview. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-05.
  • Cannot call JavaScript function from Go webview
    1 project | reddit.com/r/golang | 11 Jan 2022
    Hi, I am in the process of moving my app from the browser to webview. For the most part this works well but my JavaScript functions are not being called. What am I missing?
  • Tauri – Electron alternative written in Rust
    17 projects | news.ycombinator.com | 5 Jan 2022
    I mean… fair, but is the 60MB runtime the issue?

    I really don’t care if my hello world UI is 60MB to download, I care that it consumes 1 GB of my precious ram to run.

    How is running js with a rust backend any better than running js with a C++ backend?

    I guess your “backend” is rust here, which is nice, but tell me this won’t sit there guzzling all the memory it can get it’s hands on for the UI?

    Ie. really, do you get meaningful benefits from using this over say, literally just using https://github.com/webview/webview?

  • what are the GUI framework for c#?
    2 projects | reddit.com/r/csharp | 13 Dec 2021
    I'm actually not sure why it's called webview2, but I'm guessing it's a newer version of some webview offered by a Windows API. Or it could be in relation to this webview project. Either way WebView2 it's a way of packaging your web-app for use on Windows. You can see a nice comparison of the technicals between Electron and WebView2 here.
  • go get github.com/webview/webview
    1 project | reddit.com/r/golang | 3 Nov 2021
    I have a project I started last year using https://github.com/webview/webview developing on macOS Mojave. I'm working on an update currently adding new features and suddenly I'm getting all sorts of errors just trying to `go get` the library either to update or pull for a test project. The errors have everything to do with CGO and I'm not much of a C/C++ dev. But I've worked through most of those errors. Now after upgrading to Big Sur I'm facing a whole new slew of problems. I've once again spent days working through many of the issues but now am stumped and need help.
  • Java Headless-Browser from scratch.
    2 projects | reddit.com/r/coolgithubprojects | 5 Sep 2021
    you can also have a look at webview wraper like https://github.com/webview/webview . This comes with Java binding as well, but it meant to be running in headful environmemt
  • Neutralinojs v2.7.0 released!
    3 projects | reddit.com/r/javascript | 27 Aug 2021
    Neutralino itself doesn't leverage a thing, it uses Serge Zaitsev's Webview as I already mentioned.
  • Is there is good GUI for Golang ?
    18 projects | reddit.com/r/golang | 12 Aug 2021
    Go has https://github.com/webview/webview and the embed package so you can actually embed all the JS and assets and the web browser in <5MB, much better than electron
    18 projects | reddit.com/r/golang | 12 Aug 2021
    https://github.com/webview/webview lets you use webview without all the bloat added by electron.
  • Which Embed Browser engine to use?
    4 projects | dev.to | 17 May 2021
    the webview library is a great solution if you just want a webview implementation and don't need all the other api of the system. If your are making a PWA kind app (like a email client), you should take a look into it. Server Side Blazor apps are also welcome, because this library also have a C# binding. This library implements the from scratch part that I have talked before, It has a implementation for windows (with the new Chromium Edge), one for OSX (using Webkit) and one for linux (also using webkit). If we are talking about compatibility, then a problem arrives, dealing with 3 different rendering engines (webkitgtk is not the same as webkit in my opinion) support for specific features that only exist in one Rendering engine may lead you to creating them from scratch from other systems. Not to mention that you don't have a api for open system dialogs and message boxes out of the box.
  • Don't really understand how to add GO dependency.
    4 projects | reddit.com/r/flatpak | 9 May 2021
    { "name": "gowebview", "buildsystem": "simple", "build-options": { "env": { "GOBIN": "/app/bin/" } }, "build-commands": [ ". /usr/lib/sdk/golang/enable.sh; export GOPATH=$PWD; go env -w GO111MODULE=off; go install github.com/webview/webview" ], "sources":[ { "type": "git", "url": "https://github.com/webview/webview", "commit": "9c1b0a888aa40039d501c1ea9f60b22a076a25ea", "dest": "src/github.com/webview/webview" } ] }, { "name": "discordlogin", "buildsystem": "simple", "build-options": { "env": { "GOBIN": "/app/bin/" } }, "build-commands": [ "mkdir -p src/github.com/diamondburned/discordlogin; mv -vn ./* src/github.com/diamondburned/discordlogin; . /usr/lib/sdk/golang/enable.sh; export GOPATH=$PWD; go env -w GO111MODULE=off; go install github.com/diamondburned/discordlogin" ], "sources": [ { "type": "git", "url": "https://github.com/diamondburned/discordlogin", "commit": "5772dfbb1dc132263b1ba396c478a93937710880" }, { "type": "patch", "path":"./patches/0002-fix-webview-dependency.patch", "use-git": true } ] },

What are some alternatives?

When comparing imgui and webview you can also consider the following projects:

nuklear - A single-header ANSI C immediate mode cross-platform GUI library

NanoGUI - Minimalistic GUI library for OpenGL

wxWidgets - Cross-Platform C++ GUI Library

CEGUI

fyne - Cross platform GUI in Go inspired by Material Design

nana - a modern C++ GUI library

GTK+ - Read-only mirror of https://gitlab.gnome.org/GNOME/gtk

FLTK - FLTK - Fast Light Tool Kit - https://github.com/fltk/fltk - cross platform GUI development

Lorca - Build cross-platform modern desktop apps in Go + HTML5

sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development

MyGUI - Fast, flexible and simple GUI.

raylib - A simple and easy-to-use library to enjoy videogames programming