DEV Community

Cover image for Building AstraForxIDE: An Ultra-Lightweight, Native-Speed AI Code Editor in Rust & SolidJS
QuantumTechCoder
QuantumTechCoder

Posted on

Building AstraForxIDE: An Ultra-Lightweight, Native-Speed AI Code Editor in Rust & SolidJS

Modern AI code editors are built on Electron, routinely consuming 500 MB–1.5 GB of RAM before you even open a large repository.

AstraForxIDE is a new open-source project aiming to deliver full 1:1 feature parity with Cursor and Antigravity IDE—without the Chromium bloat.

Target Footprint

  • Installer: ~10–15 MB (Tauri v2 + OS WebView2/WebKit)
  • Idle Memory: < 80 MB RAM
  • Cold Start: < 200 ms

Architecture Overview

AstraForxIDE Architecture

  1. Frontend (SolidJS + CodeMirror 6 + xterm.js): Fine-grained reactive DOM updates with zero Virtual DOM overhead, paired with CodeMirror 6 for multi-cursor editing, inline AI diffs (Ctrl+K), and ghost-text completions.
  2. Rust Core (stra-core):
    • stra-fs: Async file watching ( otify) and ripgrep-speed search (grep-searcher + ignore).
    • stra-pty: Native ConPTY / Unix PTY streaming via portable-pty.
    • stra-lsp: On-demand LSP multiplexer that spins up language servers lazily.
  3. Hardware-Aware AI & 1-Click Ollama (stra-specs + stra-ai):
    • Probes CPU SIMD flags, RAM, and all GPUs (including direct vidia-smi and DXGI/WMI queries so sleeping laptop dGPUs behind MUX switches are never missed).
    • 1-Click Local Ollama: Automatically picks and pulls the right quantized coding model for your exact VRAM/RAM profile.
    • Permission-Gated Driver Checks: When an NVIDIA GPU and local Ollama are both present, checks for driver updates and asks explicit permission before touching anything.
    • Universal BYOK: OpenAI, Anthropic, Gemini, DeepSeek, Groq, OpenRouter, or any OpenAI-compatible endpoint, with keys stored in the OS keychain.

Read the Full Phase 1 Plan

Check out PLAN1.md on GitHub and the AstraForxIDE repository.

Looking for Collaborators

We are kicking off Milestone 1 and looking for contributors experienced in:

  • Rust (Tauri v2, portable-pty, LSP multiplexing, vidia-smi/DXGI probing)
  • SolidJS & CodeMirror 6 (virtualized file tree, inline diff decorations, custom keymaps)
  • Local LLM Tooling (Ollama API streaming, model quantization sizing)

Drop a comment or open an issue on the repo if you want to build this with us.

Top comments (1)

Collapse
 
quantumtechcoder profile image
QuantumTechCoder •

Active collaborators, experienced in Rust, SolidJS and moderate LLM tooling can collaborate.
Note: Credit will definitely be given lol