Skip to content

lunel-dev/lunel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

161 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


AI-powered mobile IDE and cloud development platform. Code on your phone, run on your machine or in secure cloud sandboxes.


Structure

Directory Description
app/ Expo/React Native mobile app
cli/ CLI tool (lunel-cli)
manager/ Manager server
proxy/ Proxy server
pty/ Rust PTY binary uses wezterm internal libs for rendering

Usage

This can be used in two ways, both are for coding:

  • Lunel Connect: One is when you want to remotely use pc without dealing with ssh and shit, geared towards coding
  • Lunel Cloud: Coming soon

App

Mobile app for iOS/Android/Web built with Expo. App is just a dumb client with most logic on cli and app just acting as a rendering client.

  • File explorer and editor
  • Git integration
  • Terminal emulator
  • Process management

Supported Languages (22)

en, zh, ja, ko, es, pt, de, fr, vi, ru, id, pl, tr, it, nl, sv, uk, fi, zh-TW, tw, ms, es-MX


CLI

Node.js CLI that bridges your local machine to the app via WebSocket. Can be ran using npx lunel-cli

  • Filesystem operations (read, write, grep, etc.)
  • Git commands (status, commit, push, pull, etc.)
  • Terminal spawning
  • Process management
  • Port scanning
  • System monitoring (CPU, memory, disk, battery)
npx lunel-cli

Manager and Proxy

Bun-based WebSocket relay server that connects CLI and app using session codes. Public verion deployed on gateway.lunel.dev

  • Session management with 10-min TTL
  • Dual-channel architecture (control + data)
  • QR code pairing

PTY

Rust binary for pseudo-terminal management, used by the CLI.

  • Real PTY sessions via wezterm fork on github.com/sohzm/wezterm
  • Screen buffer as cell grid (char + fg + bg per cell)
  • 24fps render loop (only sends updates when content changes)
  • JSON line protocol over stdin/stdout

📄 License

MIT: See LICENSE for details.


Star History

Star History Chart

About

ai powered mobile ide and cloud development platform

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors