Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

ned

> 开发工具
Open source

ImGui Text Editor with Retro Style Shaders

374 stars0 likes0 views
WebsiteGitHub

About

ImGui Text Editor with Retro Style Shaders

A retro-style text editor with GL shader effects. NED includes Tree-sitter syntax highlighting, multi-cursor editing, LSP integration, git line markers, and a built-in terminal.

Download

https://github.com/user-attachments/assets/74af4120-7cf7-4e8c-9b60-7e2aa3228be0

Shader Effects: Static Noise, Burn In, Screen Curvature, Bloom, Vignetting

Amber Solarized
Ned Custom

Notable Features

  • OpenGL CRT-style shaders (noise, burn-in, curvature, bloom, scanlines, jitter, and more)
  • Tree-sitter syntax highlighting for 15+ languages (C/C++, JS/TS/TSX, Python, Rust, Go, Java, C#, Ruby, Kotlin, HTML/CSS, JSON, TOML, HCL, Bash, …)
  • Multi-cursor editing (Option/Alt+↑/↓ to add carets; Cmd/Ctrl+Enter in find to select all matches)
  • LSP integration (goto definition, find references, symbol info) with configurable language servers
  • Git changed-line markers in the gutter via libgit2
  • Fullscreen terminal (ImGui-Terminal) toggled from the editor
  • File tree explorer, fuzzy file finder, in-buffer find, and go-to-line
  • Rainbow cursor and line numbers so the cursor is hard to lose
  • Theme profiles (Ned, Amber, Solarized, custom) with live settings
  • Embeddable ned_embed library for Dear ImGui hosts (multi-tab docking)

Build from source

Prerequisites

  • CMake 3.10 or higher
  • C++20 compatible compiler
  • OpenGL, GLFW3, GLEW
  • FreeType and Fontconfig
  • Curl (and OpenSSL on Linux for libgit2 HTTPS)

Clone the repository with its submodules:

bash
# Make sure you clone with the recursive flag
git clone --recursive https://github.com/nealmick/ned
cd ned
git submodule init
git submodule update

# macOS (Apple Silicon / ARM64)
brew install clang-format cmake llvm glfw glew pkg-config curl freetype fontconfig

# Ubuntu/Debian
sudo apt install cmake libglfw3-dev libglew-dev libgtk-3-dev pkg-config clang \
  libcurl4-openssl-dev libfreetype6-dev libfontconfig1-dev libssl-dev zlib1g-dev \
  clang-format mesa-utils dpkg-dev

# For Windows, the dependencies are installed using the build script (vcpkg)

Building the Project

macOS and Linux (Ubuntu/Debian)

bash
./scripts/build.sh
# Build only (no launch):  ./scripts/build.sh --no-run
# Clean rebuild:           ./scripts/build.sh --clean

Windows

bash
./scripts/build-win.bat
# On Windows, the build script will attempt to install Visual Studio with Build Tools. 10–20 minutes.
# After VS has been installed, you must close and re-open PowerShell and run ./scripts/build-win.bat again.
# Subsequent rebuilds are much faster after the initial dependencies have been installed.

Tests

bash
./scripts/test.sh
# Catch2 suites cover the document model, commands, multi-cursor, undo, save, git, and UTF-8 helpers.

Create app package

bash
./scripts/pack-mac.sh
./scripts/pack-deb.sh

# Bypass quarantine/translocation, or sign with your own Apple developer account
xattr -dr com.apple.quarantine Ned.app

Embed Ned in Your Dear ImGui Projects

https://github.com/user-attachments/assets/56c17e13-729b-4667-a6d4-95119f059252

github.com/nealmick/ImGui_Ned_Embed

Ned can be embedded in other ImGui applications through the ned_embed library. The embed host adds multi-tab docking on top of the same editor core used by the standalone app — file explorer, terminal, themes, emoji fonts, and LSP are available to the host. The demo repository shows how to wire it into a project.

About the Project

Ned is a Dear ImGui text editor aimed at a lightweight, embeddable core with a strong retro aesthetic.

Editor core is layered as Commands → Operations → document state (copy-on-write rope buffer). Outside code talks to the editor through EditorApi. Highlighting, save, undo, and git are focused services behind events rather than a monolithic editor class.

Syntax highlighting uses Tree-sitter with query files for the languages above. Multi-cursor and selection live in view state; document mutation stays a stream of single text ops. LSP is driven by a configurable lsp.json (clangd, gopls, pyright/typescript-language-server, rust-analyzer, and others). The terminal is a fullscreen overlay powered by ImGui-Terminal. Shader effects, theme profiles, and keybinds live under user config (~/ned/config) seeded from bundled resources.

Standalone Ned and NedEmbed share one Workbench (docked multi-tab explorer + editors). Standalone draws it fullscreen with optional CRT shaders; embed draws it in a moveable ImGui window. Platforms tested: macOS ARM64, Windows x64, and Debian. Windows builds use vcpkg via the build script.

If you have questions or issues, feel free to reach out.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++imguishadersterminal-emulatortext-editor

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具