med
libui-ng
Our great sponsors
med | libui-ng | |
---|---|---|
6 | 15 | |
87 | 557 | |
- | 10.2% | |
3.4 | 7.1 | |
6 months ago | 4 days ago | |
D | C | |
GNU General Public License v3.0 or later | MIT License |
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.
med
- Med: Micro Emacs in D
-
A lightweight, simple, fast, feature-filled, text editor written in C, and Lua
Here's another one with a very small footprint:
https://github.com/DigitalMars/med
It's the one I use every day. The executable on Windows is a little over a meg. It also works on Linux and Mac.
- A case against syntax highlighting
-
I Still Use Plain Text for Everything.
I fixed my editor so that it recognizes URLs, and underlines them. Clicking on one brings up a browser on that site. I should have done that 20 years ago.
No special syntax is required. It just works. I've since been adding URLs in comments all over my code, for references. It's marvelous.
It could be extended to recognize filename.jpg and filename.mp3 to display or play those files, too. Again with no special syntax whatsoever. It just works.
https://github.com/DigitalMars/med
-
The Lost Apps of the 80s
I still use microEmacs, which floated around the intertoobs in the 1980s. Of course, I've modified it substantially over the years, most recently adding color syntax highlighting and Unicode.
D version:
https://github.com/DigitalMars/med
C version:
https://github.com/DigitalMars/me
The "extension language" is it's so easy to just add some code and recompile it, there's no point in adding an extension language.
I like microEmacs a lot because I can use it remotely over a tty interface.
-
Hecto: Build your own text editor in Rust
Doing one yourself is fun. MicroEmacs drifted around NNTP in the 80s, and I snagged a copy and began modifying it to taste. I've been using it ever since. The latest version was ported to D:
https://github.com/DigitalMars/med
It's a very easy editor to understand and extend.
libui-ng
-
Writing Gnome Apps with Swift
I remember a few years ago, a few really cool cross-platform UI libraries were starting to emerge such as libui [0] that got me excited. I've kind of lost track of them since then (libui itself went dormant for a while before this fork) so I am not sure how mature/useful they are now, but the potential for writing native desktop UIs in basically any language seemed like an absolute dream. Perhaps it's feasible for very basic things?
[0] https://github.com/libui-ng/libui-ng
-
Ask HN: Fastest cross-platform GUI stack/strategy
Linux/Windows/MacOS: https://github.com/libui-ng/libui-ng
- libui-ng – a portable GUI library for C
-
Zig instead of Rust.. and can it do these things?
There are a few libraries for GUI (for example, capy), and you can easily use any C libraries out there with @cImport (like libui), but it is still a work in progress.
- Libui-ng: a portable GUI library for C (fork of libui)
-
Is it possible to build a gui which is both cross compatible and native?
It exists, at least for simple use cases. You are looking for libui-ng. wxWidgets of course also exists, but it is less a basic native wrapper than it is a complete toolkit emulating what doesn't exist where as libui seems to be more lowest common denominator (not sure but I think there might be a small amount of emulation, but not like wx I don't think).
-
A lightweight, simple, fast, feature-filled, text editor written in C, and Lua
There's now libui-ng [1] which seems to be active and already has many wrappers
[1] https://libui-ng.github.io/libui-ng/
- Java 20 - Sneak Peek on the Foreign Function & Memory API (2nd preview)
- _why's Estate
- Libui-ng: Active fork of libui, a native cross-platfrom GUI SDK (+documentation)
What are some alternatives?
Joplin - Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
raygui - A simple and easy-to-use immediate-mode gui library
ledger - Double-entry accounting system with a command-line reporting interface
nappgui - Cross-Platform C SDK (precompiled)
lite-xl-plugin-manager - A lite-xl plugin manager.
Gtk4-tutorial - GTK 4 tutorial for beginners
lite-xl-ide - A set of plugins to convert lite-xl into a proper IDE.
libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
FluidFramework - Library for building distributed, real-time collaborative web applications
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
hledger - Robust, fast, intuitive plain text accounting tool with CLI, TUI and web interfaces.
panama-foreign - https://openjdk.org/projects/panama