Applications
Built-in applications included with LuajitOS
LuajitOS comes with a suite of productivity and utility applications. Each app runs in a sandboxed environment with only the permissions it needs. Click on an app to expand its details.
Lunar Editor
Productivity
A lightweight text editor for creating and editing files within LuajitOS. Designed for quick edits and code writing with a clean, distraction-free interface.
Features
- Create, open, and save text files
- Toolbar with New, Open, Save, and Save As buttons
- Line-by-line text editing with cursor navigation
- Scroll support for long files
- Modified indicator (*) in title bar
- File dialogs for browsing the filesystem
Permissions Required
Paint
Graphics
A simple paint application for creating and editing images. Uses ImageBuffer userdata for true in-place drawing without expensive string copies.
Features
- Freehand brush drawing with adjustable radius
- Color palette with 8 preset colors (Black, White, Red, Green, Blue, Yellow, Magenta, Cyan)
- Line drawing between points using Bresenham's algorithm
- Resizable window with canvas that adapts to size changes
- Open and save image files
- Native C-accelerated drawing functions
Permissions Required
Moon Browser
Utilities
The LuajitOS HTML browser for viewing and interacting with HTML documents. Renders HTML files with support for inline styles, event handlers, and basic scripting.
Features
- HTML parsing with DOM tree construction
- CSS inline style support (colors, fonts, padding, margins)
- Clickable elements with onclick handlers
- Window size configuration via meta tags
- Command-line argument support for opening files
- Error pages for missing files or read failures
Usage
-- Open from shell
moonbrowser /home/Documents/page.html
-- Or via args
moonbrowser -o /path/to/file.html
Permissions Required
Lens Viewer
Graphics
An image viewer application for displaying BMP, PNG, and JPEG images. Features a toolbar interface and resizable window.
Features
- Support for BMP, PNG, and JPEG image formats
- Toolbar with Open button for file selection
- Resizable window that adapts to image size
- File dialog integration for browsing images
- Automatic image scaling and centering
- SafeFS and direct ramdisk support for reading files
Permissions Required
Explorer
Utilities
A graphical file browser for navigating the LuajitOS filesystem. Browse directories, view file sizes, and open files with associated applications.
Features
- Directory browsing starting from /home
- File and folder listing with size information
- Human-readable size formatting (B, KB, MB, GB)
- Parent directory navigation (..)
- Scroll support for long directory listings
- Visual distinction between files and directories
Permissions Required
Spreadsheet
Productivity
A full-featured spreadsheet application with formula support and CSV compatibility. Features an infinite grid that grows as you add data.
Features
- Infinite grid that expands as needed
- Cell references (A1, B2, AA100)
- Range notation with [A1-C4] syntax
- Formula evaluation with sandboxed execution
- Built-in functions: SUM, AVG, MIN, MAX, COUNT
- CSV file import and export
- Resizable columns and window
- Formula bar for editing
- Keyboard navigation (Tab to move between cells)
Formula Examples
-- Simple math
=A1 + B1 * 2
-- Cell references
=A1 + A2 + A3
-- Range functions
=SUM([A1-C10])
=AVG([B1-B5])
-- Mixed
=SUM([A1-A5]) / COUNT([A1-A5])