GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lius-new/loog: A modern, lightweight visual UI editor and workspace built for lgui in Rust.

BranchesTags
Open more actions menu

Latest commit

 

History

726 Commits
726 Commits

Folders and files

NameName
Last commit message
Last commit date
.githooks
.githooks
 
 
.github
.github
 
 
assets
assets
 
 
crates
crates
 
 
docs
docs
 
 
examples
examples
 
 
icons
icons
 
 
scripts
scripts
 
 
sdk
sdk
 
 
src
src
 
 
tests
tests
 
 
tools/ext-validate
tools/ext-validate
 
 
vendor
vendor
 
 
wit/loog-extension
wit/loog-extension
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 
THIRD_PARTY_NOTICES.md
THIRD_PARTY_NOTICES.md
 
 
app.manifest
app.manifest
 
 
build.rs
build.rs
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

Loog

Loog

English | 简体中文

A fast, minimal code editor with an integrated terminal and Git, written in Rust.

CI License: MIT OR Apache-2.0

Loog is a desktop editor for Windows, macOS and Linux built on lgui, a Rust GUI library that renders with Skia. It aims to stay small and responsive while covering the daily loop of editing, searching, running commands and working with Git, without leaving the window.

Note

Loog is in early development (version 0.1). Expect rough edges, and expect settings and behavior to change between releases.

Loog with Source Control, a diff of the working tree, the file tree and a terminal

Features

  • Editing — grapheme-aware text editing (CJK, combining marks, emoji), multiple cursors, rectangular selections, soft wrap, code folding, split panes, IME input and an optional Vim mode. Views of the same file share text and undo history while keeping their own selection and scroll position. Files up to 64 MiB open on a background worker; large files use plain text rendering.
  • Languages — Tree-sitter syntax highlighting with embedded languages and syntax resources downloaded on demand. Language servers provide completion, hover documentation, signature help, definitions, references, rename, formatting, diagnostics and code actions. The Outline shows Markdown headings or symbols from language servers. Servers are installed manually from the language panel by default; automatic installation is optional.
  • Encodings — UTF-8, UTF-16, GBK, GB18030, Big5, Shift_JIS and more, with automatic detection and a status-bar encoding selector. Saves preserve the selected encoding, BOM and LF/CRLF line endings. See Text file encodings.
  • Markdown — live reading and side previews of unsaved buffers, shared with hover/completion/signature documentation; logical copy, outline, code, tables and bounded images. See Markdown reading.
  • Sessions — restore file tabs, pane layout, source positions and terminal working directories after a restart. Extra cursors and folded regions are temporary; terminal sessions start new shells.
  • Workspace search — search every folder with case, whole-word, regex and include/exclude globs; respects .gitignore and searches unsaved buffers.
  • Integrated terminal — PowerShell, Command Prompt, Git Bash, bash, zsh, fish or any custom shell, in tabs and splits that follow your working directory across cd and restarts.
  • Git — staging, commits, fetch/pull/push, branches, tags, stashes, history, single-file diffs and worktrees, refreshed in the background across every repository in the workspace.
  • Customizable — light, dark and high-contrast themes, a Zed-style keymap.json with contexts and key sequences, per-project .loog/settings.json, interface scaling from 80% to 200% and Material file icons. Editor and terminal fonts have independent family, size, weight and line-height settings.

Installation

Download a package for your platform from the Releases page.

Platform Packages
Windows x64 …-windows-x86_64-setup.exe (per-user installer, no admin rights) or …-portable.zip
macOS 11+ (Apple Silicon and Intel) …-macos-universal.dmg or .zip
Linux x64 .deb, .AppImage, or .tar.gz (run ./install.sh to install for the current user)

Each release includes a SHA256SUMS file per platform.

  • Windows: packages are not code-signed yet, so SmartScreen warns on first run. A Git runtime is included.
  • macOS: until the app is notarized, Gatekeeper blocks the first launch. Control-click Loog.app and choose Open, or run xattr -dr com.apple.quarantine /Applications/Loog.app. Loog uses the system git.
  • Linux: requires glibc 2.39 or newer (for example Ubuntu 24.04, Fedora 40) and an X11 or Wayland session. Loog uses the system git.

Use loog . or loog path/to/file to open folders and files from a terminal. The Windows installer offers to add loog to your PATH; Linux .deb and install.sh installs provide the command. On macOS, link the bundled launcher into a directory on your PATH, for example:

ln -s /Applications/Loog.app/Contents/Resources/bin/loog /usr/local/bin/loog

See Packaging for portable launchers and what each package installs, and Updates for automatic update support by installation type.

Building from source

Loog builds with the Rust toolchain pinned in rust-toolchain.toml (currently 1.97.1); rustup installs it automatically. Install Node.js 20+ and the platform C/C++ SDK as well; the shared scripts prepare CMake and Skia privately.

git clone https://github.com/lius-new/loog.git
cd loog
node scripts/build/cargo.mjs build --release --locked
node scripts/build/stage-resources.mjs target/release
node scripts/build/cargo.mjs run --release --locked

For a development run, prepare resources with node scripts/build/stage-resources.mjs before node scripts/build/cargo.mjs run --locked. It stages both syntax resources and the language-server catalog beside the executable; Cargo alone does not copy them.

On Debian or Ubuntu, install the native libraries first:

sudo apt install build-essential \
    libfreetype-dev libfontconfig-dev \
    libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev \
    libwayland-dev libxkbcommon-dev

Pinned CMake and prebuilt Skia archives are downloaded and SHA-256 verified during the first build; no system CMake or manual Skia download is required. See Building Loog for offline builds, tests, CI and packaging.

Documentation

  • Editing — files, sessions, multiple cursors, folding, soft wrap and Vim
  • Text file encodings — detection, switching and saving
  • Language resources — syntax packages and downloads on demand
  • Settings and key bindings — language servers, formatting, themes and shortcuts
  • Markdown reading — reading mode and live previews
  • Workspace search and Outline — find text and navigate file structure
  • Terminal — shells, WSL and working directories
  • Git — source control, diffs, history and worktrees
  • Updates — checking, downloading and applying releases
  • Building Loog — toolchains, tests, CI and packaging

For implementation details, see the architecture docs for language services, LSP and Markdown, plus remaining language-service work.

Contributing

Bug reports and pull requests are welcome on GitHub. Start with CONTRIBUTING.md. Use Node.js 24 for contribution tooling. The first managed build, run, or test in a local clone sets up the commit hook and message template.

Every commit must contain exactly one Release Notes: section in its body. Use English release-note bullets for user-facing changes and - N/A for internal changes only; see Release notes for accepted note types. Preserve the section when squashing or merging.

Before opening a pull request, run the same checks as CI:

cargo fmt --all -- --check
node scripts/build/cargo.mjs test --locked --workspace
node scripts/architecture/check.mjs

and Clippy with the flags in ci.yml. The editing core in crates/editor-core has no GUI dependencies and is the easiest place to start.

License

Loog is licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE)
  • MIT license (LICENSE-MIT)

at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Loog shall be dual licensed as above, without any additional terms or conditions.

Loog includes third-party code (the vt100 parser, parts of Zed's keymap design and, on Windows, Git); see THIRD_PARTY_NOTICES.md. The Material Icon Theme icons carry their MIT license and attribution in assets/icon-themes/material.

About

A modern, lightweight visual UI editor and workspace built for lgui in Rust.

loog.dev

Topics

code-editordesktop-appdeveloper-toolseditorguilguirustui-editor

Resources

Readme

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.