[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1920":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":14,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":21,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":26,"discoverSource":27},1920,"lite-edit","arietan\u002Flite-edit","arietan","A lightweight, fast code editor for macOS — built with Swift and AppKit",null,"Swift",149,8,146,2,0,3,2.86,"MIT License",false,"main",true,[],"2026-06-12 02:00:34","# LiteEdit\n\nThe fastest way to open, browse, and quick-edit code on macOS — a native editor under 1 MB, built entirely with Swift and AppKit.\n\n[![macOS 13+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FmacOS-13%2B-blue)](https:\u002F\u002Farietan.github.io\u002Flite-edit\u002F)\n[![Swift 5.9](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSwift-5.9-orange)](https:\u002F\u002Farietan.github.io\u002Flite-edit\u002F)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-green)](LICENSE)\n[![Download DMG](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Farietan\u002Flite-edit?label=Download&color=blue)](https:\u002F\u002Fgithub.com\u002Farietan\u002Flite-edit\u002Freleases\u002Flatest)\n\n**[Website](https:\u002F\u002Farietan.github.io\u002Flite-edit\u002F)** · **[Download](https:\u002F\u002Fgithub.com\u002Farietan\u002Flite-edit\u002Freleases\u002Flatest)** · **[Source](https:\u002F\u002Fgithub.com\u002Farietan\u002Flite-edit)**\n\n---\n\n## Screenshots\n\n![LiteEdit — Main Editor](screenshots\u002Fmain-editor.png)\n\n*Syntax highlighting, sidebar file tree, tabbed editing, line numbers, and status bar — all in under 1 MB.*\n\n\u003Cdetails>\n\u003Csummary>Quick Open (Cmd+P)\u003C\u002Fsummary>\n\n![Quick Open](screenshots\u002Fquick-open.png)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Find & Replace (Cmd+F)\u003C\u002Fsummary>\n\n![Find & Replace](screenshots\u002Ffind-replace.png)\n\n\u003C\u002Fdetails>\n\n---\n\n## Who This Is For\n\nLiteEdit is for macOS developers who want a **fast, zero-overhead editor** alongside their main IDE. Use it when you want to:\n\n- **Open a repo instantly** — browse code and read through files without waiting for VS Code to load\n- **Make quick edits** — fix a typo, tweak a config, update a script, and close\n- **Review files** — read through Markdown, JSON, YAML, or logs with syntax highlighting and zero lag\n- **Stay in flow** — keep a snappy editor open for side tasks while your IDE handles the heavy project\n\n### Who This Is Not For\n\nLiteEdit is not trying to replace VS Code, Xcode, or Sublime Text. If you need extensions, LSP, integrated terminals, or Git UI, use those. LiteEdit is the tool you reach for when you want to **open, read, edit, and move on — in seconds**.\n\n---\n\n## Why LiteEdit?\n\nMost code editors ship hundreds of megabytes of bundled runtimes, web engines, and frameworks before you even open a file. LiteEdit takes the opposite approach: a single native binary under 1 MB that launches instantly and uses minimal resources.\n\n### Size Comparison\n\n| Editor | App Size | RAM at Idle | Runtime |\n|---|---|---|---|\n| **LiteEdit** | **\u003C 1 MB** | **~20 MB** | Native (AppKit) |\n| Sublime Text | ~40 MB | ~90–140 MB | Native (C++) |\n| VS Code | ~400 MB | ~226+ MB | Electron (Chromium + Node.js) |\n\nThe entire app — editor, syntax highlighter, file explorer, session persistence — compiles to a single sub-megabyte binary from ~3,000 lines of Swift. Zero dependencies. Zero frameworks. Just `swift build`.\n\n### What Makes It Different\n\n- **Instant launch** — no runtime to bootstrap, opens in milliseconds\n- **Native macOS citizen** — built on AppKit and TextKit, uses system text rendering, respects macOS conventions\n- **Single binary** — no `node_modules`, no embedded Chromium, no support files\n- **Session persistence** — remembers your folder, open tabs, cursor positions, and window state across restarts\n- **Multi-cursor editing** — VS Code-style Cmd+Shift+L to rename across a file in one shot\n\n---\n\n## Features\n\n- **Syntax highlighting** for 20+ languages (Swift, Python, JS\u002FTS, Rust, Go, C\u002FC++, Java, HTML, CSS, JSON, YAML, SQL, and more)\n- **Tabbed editing** with Cmd+W to close, Cmd+click for new tab\n- **Sidebar file explorer** with folder tree navigation\n- **Find & Replace** with regex support and match count\n- **Quick Open** (Cmd+P) for fast file switching\n- **Session persistence** — reopens your folder, files, cursor positions, and window state on relaunch\n- **Line numbers** with current-line highlighting\n- **Status bar** showing cursor position and detected language\n\n### Keyboard Shortcuts\n\n| Shortcut | Action |\n|---|---|\n| Cmd+N | New file |\n| Cmd+O | Open file |\n| Cmd+Shift+O | Open folder |\n| Cmd+S | Save |\n| Cmd+Shift+S | Save as |\n| Cmd+W | Close tab |\n| Cmd+F | Find & Replace |\n| Cmd+G | Go to line |\n| Cmd+P | Quick Open |\n| Cmd+B | Toggle sidebar |\n| Option+Up\u002FDown | Move line up\u002Fdown |\n| Cmd+Shift+K | Delete current line |\n| Cmd+Shift+L | Select all occurrences (multi-cursor edit) |\n\n---\n\n## Install\n\nDownload the latest DMG from the [Releases page](https:\u002F\u002Fgithub.com\u002Farietan\u002Flite-edit\u002Freleases\u002Flatest), open it, and drag LiteEdit to Applications.\n\n> **macOS Gatekeeper note:** Because the app is not signed with an Apple Developer certificate, macOS may show *\"LiteEdit is damaged and can't be opened.\"* This is a false positive — run the command below to clear the quarantine flag, or install via Homebrew which handles it automatically:\n>\n> ```bash\n> xattr -rd com.apple.quarantine \u002FApplications\u002FLiteEdit.app\n> ```\n\n**Or install with Homebrew** (no quarantine issue):\n\n```bash\nbrew install arietan\u002Flite-edit\u002Flite-edit\n```\n\n## Build from Source\n\nRequires **Xcode Command Line Tools** and **macOS 13+**.\n\n```bash\n# Build and package the .app bundle\nbash build.sh\n\n# Run directly\nopen LiteEdit.app\n\n# Or install to \u002FApplications\ncp -r LiteEdit.app \u002FApplications\u002F\n\n# Or create a DMG installer\nbash create-dmg.sh\n```\n\n## Project Structure\n\n```\nlite-edit\u002F\n├── Package.swift\n├── build.sh\n├── Sources\u002FLiteEdit\u002F\n│   ├── main.swift                          # App entry point\n│   ├── AppDelegate.swift                   # Menu bar, app lifecycle\n│   ├── MainWindowController.swift          # Window, tabs, session persistence\n│   ├── EditorViewController.swift          # Text view, find\u002Freplace, cursor\n│   ├── EditorViewController+Shortcuts.swift # Line move, delete, multi-edit\n│   ├── SidebarViewController.swift         # File tree explorer\n│   ├── SyntaxHighlighter.swift             # Regex-based highlighting\n│   ├── Document.swift                      # File model\n│   ├── TabBarView.swift                    # Tab strip\n│   ├── FindBarView.swift                   # Find\u002Freplace bar\n│   ├── StatusBarView.swift                 # Bottom status bar\n│   ├── LineNumberView.swift                # Gutter with line numbers\n│   ├── QuickOpenPanel.swift                # Cmd+P fuzzy file picker\n│   ├── RecentItems.swift                   # Recent files\u002Ffolders\n│   └── Theme.swift                         # Colors and fonts\n└── .gitignore\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to contribute.\n\n## License\n\n[MIT](LICENSE)\n","LiteEdit 是一款专为 macOS 设计的轻量级快速代码编辑器，使用 Swift 和 AppKit 构建。其核心功能包括语法高亮、侧边栏文件树、多标签编辑、行号显示及状态栏等，所有这些特性均集成在一个不到 1 MB 的原生应用中。该编辑器特别适合那些需要快速打开项目、浏览代码或进行简单修改的场景，如即时修正拼写错误、调整配置文件或审查日志文件等。由于启动迅速且占用资源极少，LiteEdit 成为了在处理主要开发任务时保持高效工作流的理想辅助工具。","2026-06-11 02:46:49","CREATED_QUERY"]