Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. kibi

kibi

Apache-2.0Rustv0.3.3

A configurable terminal text editor written in Rust with UTF-8 support, syntax highlighting, and a strict 1024-line code limit.

GitHubGitHub
1.9k stars112 forks0 contributors

What is kibi?

Kibi is a terminal-based text editor written in Rust with a strict limit of 1024 lines of code. It provides essential features like UTF-8 support, syntax highlighting, and incremental search while maintaining a minimal codebase. The project serves as both a practical lightweight editor and an educational example of constraint-driven software development.

Target Audience

Developers and students interested in minimalist software, Rust programming, or understanding text editor internals. It's suitable for users who need a fast, configurable terminal editor without heavy dependencies.

Value Proposition

Kibi offers a unique combination of modern editor features (UTF-8, syntax highlighting) within an extremely small, auditable codebase. Its Rust foundation ensures memory safety, and the 1024-line constraint encourages clean, efficient code—making it both educational and practical.

Overview

A text editor in ≤1024 lines of code, written in Rust

Use Cases

Best For

  • Learning text editor implementation in Rust
  • Lightweight terminal editing on resource-constrained systems
  • Educational projects demonstrating minimal software design
  • Quick file edits in a terminal without launching a full IDE
  • Customizing syntax highlighting for niche languages
  • Exploring constraint-driven development (1024-line limit)

Not Ideal For

  • Developers requiring advanced IDE features like integrated debugging, language server protocol (LSP) support, or a plugin ecosystem
  • Projects involving editing of very large files where performance optimizations for memory and speed are critical
  • Teams needing real-time collaborative editing or deep version control integration within the editor interface
  • Users who prefer graphical interfaces, mouse-driven editing, or extensive accessibility features like screen reader support

Pros & Cons

Pros

Cross-Platform Compatibility

Runs on Linux, macOS, Windows 10, WASI, and Android via Termux, as evidenced by the platform badges and installation instructions for multiple systems.

Memory-Safe Rust Foundation

Leverages Rust's guarantees for secure, crash-resistant operation, ensuring safety without manual memory management, as highlighted in the comparison with kilo.

Configurable Syntax Highlighting

Supports over 38 languages through INI-based configuration files, allowing customization for niche languages via user-editable syntax definitions.

Minimal and Auditable Codebase

Constrained to 1024 lines of code (excluding tests), making it educational and easy to review while still providing features like UTF-8 support and incremental search.

Cons

Feature Limitations from Constraint

The 1024-line limit inherently restricts advanced editor features such as regex search, multi-cursor editing, undo/redo beyond basic levels, or plugin support, which are common in full-featured editors.

Manual Configuration Setup

Syntax highlighting files must be manually placed in specific directories (e.g., ~/.local/share/kibi/syntax.d), a process described in the installation section that can be error-prone and less user-friendly than automatic setups.

Terminal-Only Interface

Lacks a graphical user interface, mouse support, or built-in accessibility features, which may limit usability for those accustomed to modern editors or with specific accessibility needs.

Frequently Asked Questions

Quick Stats

Stars1,910
Forks112
Contributors0
Open Issues15
Last commit1 day ago
CreatedSince 2020

Tags

#educational#syntax-highlighting#text-editor#terminal#minimal#tui#console#cli#cross-platform#editor#utf-8#rust#editors

Built With

l
libc
R
Rust
W
WinAPI

Included in

Rust56.6k
Auto-fetched 20 hours ago

Related Projects

ZedZed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Stars84,726
Forks8,958
Last commit1 day ago
helixhelix

A post-modern modal text editor.

Stars44,801
Forks3,526
Last commit1 day ago
LapceLapce

Lightning-fast and Powerful Code Editor written in Rust

Stars38,605
Forks1,288
Last commit23 hours ago
FreshFresh

Terminal based IDE & text editor: easy, powerful and fast

Stars7,415
Forks259
Last commit1 day ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub