Delphi Light Saber

LightSaber is a comprehensive open-source Delphi library with over 15 years of development. A lightweight alternative to the Jedi library — simple, fully commented, no external dependencies. Supports both VCL and FMX frameworks.

Currently at 135+ stars on GitHub. Also available via the Delphi GetIt Package Manager.

For an in-depth guide, see Book 3: Libraries & Packages in the “Delphi in All Its Glory” series.


What you can do with this library

  • Save/restore your entire GUI — checkboxes, radio buttons, edit boxes — to disk with 3 lines of code
  • Auto-translate your GUI to multiple languages via DeepL (zero extra code)
  • Logging — color-coded messages with auto-popup on errors
  • AppData — a dramatically improved TApplication: RunningHome, RunningFirstTime, BetaTesterMode, SingleInstance, LastUsedFolder, and much more
  • 80+ visual controls — drag and drop at design time
  • Image processing — open/convert/resize BMP, PNG, GIF, JPEG2000, with alpha support
  • Internet — downloads (Indy, WinInet), email, HTML utilities
  • Binary I/O — extended stream classes with ReadString, WriteBoolean, endianness handling
  • App lifecycle — self-restart, self-delete, run at startup, uninstaller, tray icon

Library architecture

LightSaber library architecture

7 packages organized in layers. Each layer depends only on layers above it. Use just the Core, or the full stack.

PackageDescription
LightCorePlatform-agnostic RTL (strings, I/O, logging, binary, streams)
LightVcl.CommonWindows utilities (registry, shell, dialogs)
LightVcl.InternetDownloads, email, HTML
LightVcl.GraphicsImage processing, GDI, effects
LightVcl.Visual80+ visual components, AppData, TrayIcon
LightFmx.CommonFMX utilities, AppData, styles
LightFmx.VisualFMX visual controls

Get it

Freeware. Click the Star button on GitHub if you find it useful — my motivation is directly proportional with the number of stars.

Scroll to Top