Acutis screenshot

Acutis

Author Avatar Theme by Johnridesabike
Updated: 16 Dec 2025
26 Stars

Mirror for https://sr.ht/~johnridesabike/acutis/

Overview

Acutis is an innovative template language that brings together the powerful features of static typing, pattern matching, and asynchronous components. Designed for use primarily with OCaml and JavaScript, Acutis allows developers to execute templates as scripts, or compile them into standalone JavaScript files. Although it is currently an experimental project, its unique approach to templating could open new avenues for development practices.

The versatility of Acutis makes it intriguing for those familiar with OCaml and JavaScript ecosystems. By providing useful plugins and tools, it aims to streamline the process of template creation and implementation. However, being an experimental project, users should approach it with an understanding of its current limitations.

Features

  • Static Typing: Offers type safety by allowing the definition and checking of types at compile time, reducing runtime errors.

  • Pattern Matching: Utilizes a powerful pattern matching feature that simplifies conditional logic and improves code clarity.

  • Asynchronous Components: Supports asynchronous programming, allowing developers to create templates that can handle events without blocking execution.

  • Script Execution: Provides the ability to run templates as scripts, enhancing flexibility in how templates can be used within projects.

  • Compilation to JavaScript: Compiles templates into self-contained JavaScript files, making deployment and integration with other JavaScript frameworks straightforward.

  • OCaml & JavaScript Compatibility: Written in OCaml, Acutis can be coupled with JavaScript through a convenient npm package, broadening its usability.

  • Eleventy Plugin: Includes a plugin specifically for Eleventy that seamlessly integrates Acutis templates into your Eleventy projects.

  • Open Development: Invites contribution and collaboration from developers, fostering an inclusive community around the project.