MEL – terminal text editor with native LLM integration

๐Ÿชถ Meet mel โ€” probably the world’s smallest terminal text editor with native LLM integration.

102KB. Pure C. No curses. No dependencies beyond libcurl.
And yes โ€” it talks to Ollama, ChatGPT, Claude, and Gemini right from the editor buffer.
Built from scratch at Art2Dec SoftLab as part of the mshell Ecosystem.
For larger projects โ€” meet mide, a full GTK4 IDE with the same LLM integration, file tree, multi-tab editor, terminal, and AI chat built in.

โšก What makes mel different:
โœ… 102KB binary โ€” fits in any container, pod, or IoT device
โœ… Also available as a fully static binary (6.1MB, zero dependencies) โ€” drop it anywhere, no install needed
โœ… 15 languages syntax highlighting โ€” C/C++, Rust, Go, Python, Java, Bash, mshell, JS, JSON, SQL, PHP, XML, Ruby, Lua
โœ… Full UTF-8 โ€” Russian, Japanese, Chinese, CJK โ€” correct cursor, backspace, and display
โœ… Native LLM integration:
โ€ข Ctrl-W โ€” full-screen prompt editor โ†’ sends to LLM switch router via mshell, inserts response at cursor
โ€ข Ctrl-K โ€” connects to any local or remote Ollama-compatible model via simple config file
โ€ข Works with Ollama, ChatGPT, Claude, Gemini โ€” whatever your stack uses
โœ… System clipboard โ€” Ctrl-T paste from xclip/xsel/pbpaste
โœ… Undo/Redo ยท Search & Replace ยท Go to line ยท Column marker ยท Backup

๐Ÿ–ฅ๏ธ Built for everywhere:

  • Kubernetes Pods and Docker containers โ€” single binary, zero setup
  • Cloud VMs โ€” AWS, GCP, OCI โ€” x86_64 and ARM64
  • IoT and embedded โ€” Raspberry Pi 4/5 ARM64 (Debian 12/13)
  • Desktop โ€” Ubuntu 22.04/24.04 LTS, macOS Sequoia (Intel & Apple Silicon)
  • Works in any POSIX shell โ€” bash, zsh, sh, mshell

โš™๏ธ Tech:
๐Ÿ”น Pure C (C99) โ€” single source file, no curses, direct VT100 terminal control
๐Ÿ”น libcurl + libjson-c for LLM REST API integration
๐Ÿ”น GPL3 license โ€” free to use, modify, and distribute

๐Ÿ“– Documentation & binaries on GitHub:
๐Ÿ”— GitHub: https://github.com/igor101964/mel
โ€ข Keyboard Shortcuts cheatsheet (PNG/PDF) โ†’ /cheatsheets
โ€ข Full User Guide PDF โ†’ /docs
โ€ข Pre-built binaries for all above platforms โ†’ /binaries

OpenSource #C #Linux #RaspberryPi #macOS #TerminalEditor #LLM #Ollama #ChatGPT #Claude #Gemini #mshell #Art2DecSoftLab #DevTools #Kubernetes #Docker #IoT #UTF8

Leave a Reply

Your email address will not be published. Required fields are marked *

WP2Social Auto Publish Powered By : XYZScripts.com