letoram/arcan logo

letoram/arcan

Free

Arcan - [Display Server, Multimedia Framework, Game Engine] -> "Desktop Engine"

FreeFree tier
Type
Open Source

About letoram/arcan

Arcan is a powerful open-source development framework for building a wide range of graphical applications, from specialized embedded user interfaces to full standalone desktop environments. It is built on a robust, portable multimedia engine with a well-tested Lua scripting interface. The project emphasizes security, debuggability, and performance, following a principle of least surprise in API design. Arcan can function as a display server, multimedia framework, and game engine, and includes support for various media codecs, rendering backends (OpenGL, SDL2, KMS/GBM), and interaction with hardware via V4L2, libusb, and more. It is available as packages on some Linux distributions (e.g., Void Linux, Nix) and can be compiled from source using CMake.

Key Features

Robust and portable multimedia engine
Well-documented Lua scripting interface for UI and application logic
Can serve as a display server, multimedia framework, or game engine
Emphasis on security, debuggability, and performance
Supports multiple rendering backends (OpenGL, SDL2, KMS/GBM, etc.)
Optional codec support via FFmpeg, libVLC, and other libraries
Input device support (V4L2, libusb, etc.)

Pros & Cons

Pros
  • Highly flexible and modular framework
  • Strong security and performance focus
  • Portable across multiple platforms (Linux, BSD, etc.)
  • Active community on IRC and Discord
  • Well-documented Lua API for rapid development
Cons
  • Steep learning curve due to extensive toolkit and build options
  • Main repository is migrating away from GitHub, which may affect accessibility for some users
  • Not a traditional AI tool; does not provide pre-built AI models
  • Build complexity with many optional dependencies

Best For

Building custom user interfaces for embedded systemsCreating standalone desktop environmentsDeveloping multimedia applications and media playersPrototyping and deploying GUI applications in resource-constrained environmentsEducational and research projects in graphics and windowing systems

FAQ

What is Arcan?
Arcan is a powerful development framework for creating user interfaces, multimedia applications, and desktop environments. It includes a portable multimedia engine and a Lua scripting interface, with a focus on security and performance.
How can I install Arcan?
Arcan is available as a package on some Linux distributions like Void Linux and Nix (e.g., `nix-shell -p arcan.all-wrapped`). It can also be compiled from source using CMake with a build preset 'everything'. See the GitHub README for detailed instructions and dependencies.
What are the main dependencies of Arcan?
Common dependencies include sqlite3, openal-soft, sdl2, opengl, luajit, gbm, kms, freetype, harfbuzz, and libxkbcommon. Optional dependencies for extended codec support include libvlc-core, ffmpeg, leptonica, tesseract, libvncserver, libusb1, v4l2-loopback, and mupdf.
Is Arcan still actively developed on GitHub?
The project is moving its primary repository to a self-hosted Fossil instance (fossil.arcan-fe.com) due to concerns about Microsoft's practices. The GitHub repository remains synced but is not the primary development hub.
How can I contribute or get support?
Community discussion takes place on the IRC channel #arcan on irc.libera.chat and via a Discord server. For developer information, see the HACKING.md file in the repository.