frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron

https://github.com/kurouna/elecxzy
19•kurouna•1d ago
Hi HN. I am a programmer from Japan who loves Emacs. I am building elecxzy. It is a free (zero-cost), lightweight, Emacs-like text editor for Windows.

I designed it to be comfortable and ready to use immediately, without a custom init.el. Here is a quick overview:

- Provides mouse-free operation and classic Emacs keybindings for essential tasks (file I/O, search, split windows, syntax highlighting).

- Drops the Lisp execution engine entirely. This keeps startup and operation lightweight.

- Solves CJK (Chinese, Japanese, Korean) IME control issues natively on Windows.

I never managed to learn Lisp. I just copy-pasted snippets to maintain my init.el. However, I loved the Emacs keybindings. I loved operating an editor entirely without a mouse. I wanted an editor I could just open and use immediately. Also, standard Emacs binaries for Windows often have subtle usability issues for CJK users.

So, I thought about whether I could build an Emacs-like text editor using Electron, the same framework as VS Code.

Building an editor inside a browser engine required thinking a lot about what NOT to build. To make it feel native, I had to navigate DOM limitations. I learned that intentionally dropping complex features improves rendering speed. For example, I skipped implementing "word wrap." For syntax highlighting, I did not use a full AST parser. Instead, I used strict "line-by-line" parsing. The highlight colors for multi-line comments are occasionally incorrect, but it is practically unproblematic and keeps the editor fast.

Under the hood, to bypass browser limitations and handle large files smoothly, I implemented a virtual rendering (virtual scrolling) system. For text management and Undo/Redo, I use a custom Piece Table. I built a custom KeyResolver for Emacs chords. I also used koffi to call Win32 APIs directly for precise IME control.

I respect Windows Notepad as one of the most widely used text editors. However, in my daily work or coding tasks, I often felt it lacked certain features. On the other hand, I found VS Code too heavy just to write a quick memo. Even with extensions, it never quite gave me that native Emacs flow. I do not want to replace Notepad, VS Code, or Emacs. If users want rich extensions and heavy customization, I believe they should use Emacs or VS Code. My goal is to fill the gap between them—to build a "greatest common denominator" editor for people who just want an Emacs-like environment on Windows without the setup.

It is still in alpha (so it might not work perfectly), but you can test it on Windows by downloading the zip from the GitHub releases, extracting it, and running elecxzy.exe. For screenshots, basic usage, and keybindings, please check the README on the GitHub project page.

I am looking for feedback: Is there a demand for a zero-config, Lisp-free, "Notepad-like" Emacs-style editor? What are the minimum standard features required to make it useful? I would love to hear your technical insights.

Comments

luckymate•2h ago
Just to be clear: you say by ‘dropping’ lisp you’re keeping it lightweight but it’s based on electron? So what does ‘lightweight’ mean in your opinion?
imcritic•2h ago
What answer to that question and in this situation would make any sense?
exe34•1h ago
I believe it's called a rhetorical question.
embedding-shape•1h ago
The motivation/justification from the author why they believe removing lisp but adding Electron somehow sums up to being "lightweight"?

Maybe the author thought of the UX/baggage/legacy or something else when they thought about "lightweight", rather than how much memory/cpu cycles something is using? Not sure, but maybe there is a more charitable reading of it out there.

luckymate•59m ago
Probably none. Still I’m curious what is the authors understanding. Whether he actually thinks it is a lightweight solution or whether that’s kind of advertising phrase, like ‘blazingly fast’
wiseowise•27m ago
None, just another Electron hater.
kurouna•24m ago
Thank you for the sharp question! You are absolutely right that Electron itself has a baseline memory footprint that isn't small.

To give a clearer picture of what I mean by "lightweight," here is a quick startup comparison video I took a while ago: https://x.com/elecxzy/status/2022003439757336583

(Sorry for the Japanese text in the video!)

Left: VS Code

Middle: Windows Notepad

Right: elecxzy

As you can see, elecxzy boots up almost as instantly as native Notepad.

To ensure the actual text editing remains just as snappy and responsive as Notepad despite running in a browser engine, elecxzy features several optimizations, including a custom Piece Table and a fully virtualized DOM/renderer.

So in this context, "lightweight" means "Notepad-level startup speed and typing latency, but with native CJK IME support and Emacs keybindings." I should have been clearer about this distinction in my wording!

maybewhenthesun•2h ago
lisp-free emacs to me is like tomato-free ketchup? I mean, the main reason to use an editor with such arcane keybindings is the way you can live-edit the running editor?

So for me personally there's no demand. But still, if it scratches your personal itch, there are most probably others who would like that itch scratched. It might also because I rarely have to use windows these days and in linux there's not much 'setup' in using normal lispy emacs.

Also, for me , electron based editors have too much input latency.

kurouna•12m ago
You might be right! For those who love Emacs for its Lisp environment, this editor is probably not useful at all.

I just made this for people like me, who instinctively press C-f instead of the right arrow key, but just want to start typing immediately without any setup.

As for the input latency, it might indeed be slower than native editors like Notepad. However, by using a custom Piece Table and virtual rendering, I personally don't feel the delay on a modern PC, and I am very satisfied with the responsiveness for my daily use.

subhro•2h ago
Light weight and electron in the same sentence?

Oh well.

chii•2h ago
Light weight has become a marketing term that targets software developers who have gotten sick of bloat and want their software to run fast and take less resources. It used to mean a trade-off between feature rich and speed. It's been so over-used now that i automatically ignore it unless there's demonstrated reason(s) for it being called light weight.
pjmlp•2h ago
I guess the "eight megabytes and constantly swapping" meme is now lost given Electron.
__d•2h ago
Egacs
throwa356262•2h ago
What I need is an emacs with more lisp and less javascript.

If you want a really lean emacs-like editor, there is always mg and microemacs.

Edit: not trying to be a dick or a gatekeeper. This is HN, all ideas should be welcome including the one that dont make sense to some people. And always interesting to see contributions from Japan.

johanvts•1h ago
What javascript is in emacs? I often find myself wishing eww had javascript support, a lot of the web is unuseable as it stands.
chiffaa•36m ago
> What I need is an emacs with more lisp and less javascript

Lem[0] in ncurses mode might be your friend. Unfortunately the BDFL deprecated the SDL frontend seemingly due to the SDL3 breakages, but the web one uses webview + a homegrown system instead of electron and framework magic, so it's still fairly lightweight

its main proposition is that the whole thing is written in Common Lisp, so it retains the hackable model of traditional Emacses without retaining the legacy of GNU Emacs

[0] https://lem-project.github.io/

noufalibrahim•2h ago
- Lisp Free x Emacs like

- Lightweight x Electron

Contradictions. Writing ones own editor is a bit of a rite of passage though. So, on that front, Congratulations!

artemonster•2h ago
dry water powder. just add water
rasur•1h ago
With respect, you should learn Lisp - it will allow you to turn Emacs into whatever you want. In my opinion just keeping the Emacs keybindings but dropping all the other advantages of Emacs is missing the point entirely, and using Electron instead is just - as the saying goes - "adding insult to injury".
mrweasel•16m ago
I was going to ask. I'm not big on Emacs, but ripping out Lisp isn't that removing the part that makes Emacs Emacs? Like, they removed the important part.
sanskritical•1h ago
If you want an example of an actually lightweight modern desktop editor to take inspiration from, try zed.dev

Zed is written in Rust, insanely fast, consumes virtually no resources, has an Emacs input mode (which I use exclusively) and despite not having the greatest support for Emacs LISP (only via limited third party extension, its singular flaw) has replaced emacs-ng as my daily driver.

kurouna•39m ago
Thank you for the comment and the suggestion!

I have actually tried Zed, and I completely agree with you—it is an outstanding product. Its speed and incredibly low memory footprint are truly impressive.

However, while it does feature an Emacs input mode, I found that the range of supported Emacs commands is still somewhat limited. Because of this restriction, I couldn't quite operate it with the same feel and depth as a dedicated Emacs environment.

That being said, Zed is definitely a masterpiece of modern desktop editors, and its architecture is highly inspiring!

gozzoo•37m ago
I’ll never get why people hype up Zed. Sublime Text already has all the same perks—and beats Zed at the very things it claims to improve. Sure, it might not have every advanced feature, but for “vibe coders” who don’t need a full IDE and just want to skim or tweak generated code, Sublime Text is the better choice.
wiseowise•30m ago
Zed is open source and free (as in beer), to start with.
PacificSpecific•1h ago
ようこそ

As an aside. What were the CJK IME issues you resolved? Was it related to win32 emacs IME issues?

dhruv3006•1h ago
How do you make a electron app light weight ? What are the best practices for windows ?
hypersoar•53m ago
I don't mean to tear down your project at all. If you want to make an editor, I think that's great. I'm actually working on a text editor of my own. But I think that you've fundamentally misunderstood the appeal of Emacs. It has little to do with the key-bindings, or even any particular part of the user interface. Many people don't even use them. Doom, a very popular Emacs distribution, enables Vim-like bindings by default. It's an old joke that Emacs is a great operating system in need of a good text editor.

The appeal of Emacs is that I can, at any time, with only a few keystrokes, dig in to how it does something and then modify it. The self-documenting and customizable behavior is extremely pervasive. Emacs Lisp is not just there for extensions. Every single layer of the application--save for core primitives--is implemented in it. All of it can be inspected, modified, swapped out, wrapped, hooked into, and basically do anything you want. There's absolutely nothing else like it.

stevekemp•36m ago
I have to agree, if only because when I hear "the emacs keybindings" I wonder, does that mean the defaults that nobody uses, or the ones I've carried around for 20+ years?

As a quick example "M-g" ("Esc" [pause] "g") has been bound to "goto-line" in my emacs startup file for at least 20 years, and is something I press without even really thinking about.

There are many default keys (such as C-x C-f for finding a file), but even core functionality gets rebound to suit my preferences.

rpdillon•9m ago
I use default keybindings, FWIW. But I agree that my ability to shape Emacs into exactly the tool I want with lisp is the main draw for me.
throwaway27448•24m ago
> But I think that you've fundamentally misunderstood the appeal of Emacs. It has little to do with the key-bindings, or even any particular part of the user interface.

You mean the default keybindings for readline and macos? I think you're greatly overestimating the extent to which you can speak for other emacs users. I love the default keybindings and never even thought to change them, and I very much understand being leery of the lisp runtime. The modal editing of vim, doom etc always struck me as pointless typing and too much like issuing commands rather than making typing an extension of your fingers.

This isn't for me (electron—blah; I have microemacs etc), but I 100% get it.

xigoi•14m ago
Vim keybindings are not optimized for typing, but for editing.
wiseowise•31m ago
> Electron

Prepare yourself.

wolfi1•17m ago
why electron? why is it closed source?
megamalloc•11m ago
Many, many years ago I was a dedicated Emacs user.

My recollection is that there was a very lightweight binary that would launch a single window utilising an existing Emacs process that (of course) you usually alrwady had running, to show a dedicated window for editing a single file - which is Notepad's raison d'etre. So as a Notepad replacement I can't really see a place in the world for something like this.

I am not in any way competent to comment on CJK issues in Emacs as I can't do any of those languages. I can appreciate the desire to address those.

To answer OP's question, I doubt there is much demand for a knobbled Emacs like this, but on the other hand, I think you should do open source software primarily for yourself because doing it for others' sake will grind you down. But if what really pleases you is to make an impact for a lot of other people, directing your energies into solving CJK issues in Emacs itself would be a lot more impactful (though I am sure a lot more challenging too).

Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron

https://github.com/kurouna/elecxzy
19•kurouna•1d ago•34 comments

Show HN: Llama 3.1 70B on a single RTX 3090 via NVMe-to-GPU bypassing the CPU

https://github.com/xaskasdf/ntransformer
282•xaskasdf•16h ago•67 comments

Show HN: How to Verify USDC Payments on Base Without a Payment Processor

https://paywatcher.dev
2•Sem_pre•40m ago•0 comments

Show HN: Screenwright – Turn Playwright E2E tests into polished demo videos

https://github.com/guidupuy/screenwright
2•duwip•2h ago•0 comments

Show HN: Minimalist Glitch Art Maker (100% client-side)

https://yuyz0112.github.io/glitch-art-maker/
19•yz-yu•5d ago•7 comments

Show HN: Iron-Wolf – Wolfenstein 3D source port in Rust

https://github.com/Ragnaroek/iron-wolf
74•ragnaroekX•21h ago•25 comments

Show HN: A native macOS client for Hacker News, built with SwiftUI

https://github.com/IronsideXXVI/Hacker-News
252•IronsideXXVI•1d ago•179 comments

Show HN: Fan Meter – A movie quiz game where you guess films from frames

https://fanmeter.in
3•raahelb•7h ago•3 comments

Show HN: AI writes code – humans fix it

https://humansfix.ai
5•stasman•14h ago•3 comments

Show HN: Rust blockchain with sharded propagation and post-quantum signatures

https://alphanumeric.blue/
2•invar1ant•8h ago•0 comments

Show HN: Ghostty-based terminal with vertical tabs and notifications

https://github.com/manaflow-ai/cmux
187•lawrencechen•2d ago•75 comments

Show HN: Trawlx - Tweet text, likes, and retweets as JSON, no API keys

https://github.com/timstarkk/trawlx
4•timstark•9h ago•1 comments

Show HN: Micasa – track your house from the terminal

https://micasa.dev
641•cpcloud•2d ago•209 comments

Show HN: Mines.fyi – all the mines in the US in a leaflet visualization

https://mines.fyi/
102•irasigman•1d ago•51 comments

Show HN: Slack as an AI Coding Remote Control

https://github.com/DiscreteTom/juan
2•DiscreteTom•10h ago•1 comments

Show HN: A physically-based GPU ray tracer written in Julia

https://makie.org/website/blogposts/raytracing/
196•simondanisch•3d ago•93 comments

Show HN: Nucleus - A Sovereign Control Plane for AI Agents

https://github.com/eidetic-works/mcp-server-nucleus
3•NucleusOS•11h ago•4 comments

Show HN: Cc-md – Zero-cost Obsidian sync across iPhone, Mac, and GitHub

https://github.com/yuukiLike/cc-md
4•YuukiJyoudai•16h ago•2 comments

Show HN: Mini-Diarium - An encrypted, local, cross-platform journaling app

https://github.com/fjrevoredo/mini-diarium
131•holyknight•3d ago•63 comments

Show HN: Ghostty and Watercolors

http://jrmeyer.github.io/misc/2026/02/21/ghostty-watercolors.html
4•_josh_meyer_•12h ago•0 comments

Show HN: A small, simple music theory library in C99

https://github.com/thelowsunoverthemoon/mahler.c
56•lowsun•2d ago•18 comments

Show HN: My Degenerate Craps Simulator

https://infinitecraps.com/
3•nutwinkle•13h ago•0 comments

Show HN: Ktop – a themed terminal monitor for GPU, CPU, RAM, temps and OOM kills

https://github.com/brontoguana/ktop
3•brontoguana•13h ago•0 comments

Show HN: Saga – A Jira-like project tracker MCP server for AI agents (SQLite)

4•spranab•13h ago•0 comments

Show HN: Infinichess – Multiplayer Infinite Chessboard

https://infinichess.io
3•gregjw•14h ago•1 comments

Show HN: Dq – pipe-based CLI for querying CSV, JSON, Avro, and Parquet files

https://github.com/razeghi71/dq
3•razeghi71•14h ago•0 comments

Show HN: Winslop – De-Slop Windows

https://github.com/builtbybel/Winslop
12•guilamu•17h ago•1 comments

Show HN: MeMCP – MCP for Personal Profile

https://github.com/nickyreinert/meMCP
2•y42•15h ago•0 comments

Show HN: I scanned 50k radio streams and built an app for the ones that work

https://github.com/meehow/receiver
3•meehow•16h ago•0 comments

Show HN: Nexus – A social platform where your GitHub profile is your identity

https://nexus-fqt4.onrender.com
2•tita-n•16h ago•0 comments