antirez/kilo
View on GitHub ↗ ★ 9,214 C
A text editor in less than 1000 LOC with syntax highlight and search.
32 mentions on Hacker News by 29 people: 7 stories, 25 comments · first 2016-07-10 · latest 2026-03-11
20082026
-
I had fun re-implementing antirez's "kilo" editor https://github.com/antirez/kilo There's a nice tutorial for it https://viewsourcecode.org/snaptoken/kilo/ Great way to learn more about terminal modes and write some raw C
comment by mdonahoe · 2026-03-11 · in Writing my own text editor, and daily-driving it -
…it will be usable -- how fun would it be to build another project of mine using my own editor? [O] https://github.com/antirez/kilo [1] https://github.com/bloomca/love
comment by bloomca · 2025-07-27 · in Ask HN: What are you working on? (July 2025) -
…3 ints instead of wasting space on padding for memory alignment), so it would have the same issue. https://github.com/antirez/kilo/blob/323d93b29bd89a2cb446de9...
comment by shpx · 2025-05-20 · in Kilo: A text editor in less than 1000 LOC with syntax highlight and search -
> It also inspired this similar Rust project And these projects: https://github.com/antirez/kilo/forks
comment by 90s_dev · 2025-05-20 · in Kilo: A text editor in less than 1000 LOC with syntax highlight and search -
▲ 222
Kilo: A text editor in less than 1000 LOC with syntax highlight and searchstory by klaussilveira · 2025-05-19 · 82 comments
-
Or kilo[1] [0]: https://github.com/antirez/kilo/
comment by 90s_dev · 2025-05-19 · in Edit is now open source -
▲ 3
A text editor in less than 1000 LOC with syntax highlight and searchstory by ofou · 2025-03-20 · 0 comments
-
Most of that is probably attributable to being based on Kilo: https://github.com/antirez/kilo - a tiny text editor written by antirez who notably also created Redis. Antirez has a bunch of really interesting side projects if you dig into…
comment by kamranjon · 2023-12-25 · in Ptext: A Nano-like text editor built with pure C -
…editor in C in 11KB. Antirez's "kilo" (~1000 lines of C) is 36KB when compiled with standard gcc ( https://github.com/antirez/kilo ). That said, for many server-type use cases these days, 11MB isn't a huge deal. Still, I wonder if micro…
comment by benhoyt · 2023-08-18 · in micro – A Modern Alternative to nano -
…is just to read the source code itself. It's only a thousand lines and it's well commented. https://github.com/antirez/kilo/blob/master/kilo.c
comment by bajsejohannes · 2023-01-31 · in Over the past 21 months I’ve written a code editor from the ground up -
…terminal stuff should look at antirez’ kilo, a terminal text editor in under 1000 lines of code: https://github.com/antirez/kilo There is a nice tutorial that walks through how one might write it from scratch:…
comment by dundarious · 2022-07-21 · in What happens when you press a key in your terminal? -
You could start by looking at something super simple like Kilo: https://github.com/antirez/kilo Even I could understand this one pretty well and that's no small matter.
comment by scandox · 2022-01-10 · in Ask HN: How to learn about text editor architectures and implementations? -
…well documented and to my eyes pretty well written. A good place to start I think is Kilo:( https://github.com/antirez/kilo/blob/master/kilo.c ) - a 1000 line text editor with no dependencies.
comment by kamranjon · 2021-02-28 · in Actually Portable Executables -
You might also be interested in kilo: https://github.com/antirez/kilo
comment by p4bl0 · 2020-05-09 · in Show HN: Lite – A small, fast text editor -
▲ 3
Ask HN: What small C projects would you recommend for beginners?story by seanpackham · 2020-04-27 · 3 comments
-
…fff [1] or slmenu [2][3], and kanban.bash [4] into my own little "agile" terminal IDE. [0] https://github.com/antirez/kilo [1] https://github.com/dylanaraps/fff [2] https://www.youtube.com/watch?v=SlJto75auCA [3]…
comment by oso2k · 2020-02-28 · in Unix as IDE (2012) -
In the same vein there's kilo by antirez: https://github.com/antirez/kilo Edit: oops, yours is in assembly, so definitely not in the same vein :-p (except for both trying to be small!) Edit2: ... and, the article is about kilo. D'oh. This…
comment by emmanueloga_ · 2019-08-04 · in Build Your Own Text Editor -
Well, it seems we've already skipped to kilo[1], so it'll have to be mega. 1: https://github.com/antirez/kilo
comment by earenndil · 2019-03-24 · in GNU Nano 4.0 -
https://github.com/antirez/kilo A text editor by the guy that made redis, in less than 1000 lines and a lot of comments.
comment by rileyphone · 2018-03-07 · in A Tiny Wolfenstein-Like Software Engine -
…learn how to manipulate the terminal directly (rather than using a wrapper library like ncurses): https://github.com/antirez/kilo (A text editor in less than 1000 LOC with syntax highlight and search.)
comment by _sdegutis · 2018-01-31 · in GRV – Git Repository Viewer -
It shouldn’t be too hard: [kilo]( https://github.com/antirez/kilo ), the editor on which this is partially based, is modeless. All of the modes are thus addons that I’ve built. You’d have to tweak a bit of the code to make it usable as a…
comment by hellerve · 2017-09-05 · in Show HN: A simple, tiny Vim and kilo-inspired editor -
Nice. Maybe kilo? https://github.com/antirez/kilo
comment by _xhok · 2017-08-08 · in Tinychain: a pocket-sized implementation of Bitcoin -
kilo.c code referenced in the tuturial if you're interested in compiling and hacking around. https://github.com/antirez/kilo/blob/master/kilo.c I wonder how mouse clicking and scrolling in editor works? Would love to make html/js/css for…
comment by nojvek · 2017-04-06 · in Build Your Own Text Editor -
I'm teaching myself C (pure hobby) and I really liked these codebases: https://github.com/antirez/kilo https://github.com/meetecho/janus-gateway The obvious caveat here is that I have no idea what makes a good C codebase. What I liked in…
comment by scandox · 2017-03-13 · in Ask HN: What are some examples of good code? -
…sudo apt-get install some_package sudo yum -y install some_package pacman -S some_package ... [1]: https://github.com/antirez/kilo [2]: https://github.com/skx/kilua
comment by gkafkg8y8 · 2016-12-01 · in The Emacs dumper dispute -
…Not that either choice is better or worse just something I find an interesting distinction. [1] https://github.com/antirez/kilo
comment by ChuckMcM · 2016-08-30 · in Micro v1.0 – a terminal-based text editor written in Go -
▲ 2
Kilo: A text editor in less than 1000 LOC with syntax highlight and searchstory by okket · 2016-08-14 · 4 comments
-
▲ 7
Kilo: A text editor in less than 1000 LOC with syntax highlight and search in Cstory by cia48621793 · 2016-07-17 · 1 comment
-
▲ 1
A text editor in less than 1000 LOC with syntax highlight and searchstory by sah2ed · 2016-07-12 · 1 comment
-
▲ 1
Kilo: A text editor in less than 1000 LOC with syntax highlight and searchstory by obilgic · 2016-07-11 · 1 comment
-
…and was written in just a few hours taking code from my other two projects, load81 and linenoise." https://github.com/antirez/kilo
comment by martin_ · 2016-07-10 · in Writing an editor in less than 1000 lines of code, just for fun