Skip to main content
v1.2.0 • Tables, Includes & Security A+

OmniScript_

The universal document DSL for LLMs, Agentic AI, and Git-native workflows.

One format. Infinite outputs. Infinite possibilities.
Documents • Slides • Spreadsheets • TablesModular • Charts

installation
$npm install -g omniscript-cli
> Installing omniscript-cli...
> ✓ Successfully installed
$osf render document.osf --format pdf
> Generating PDF... Done! ✓

Why OmniScript?

Traditional document formats were built for humans. OmniScript was built for the AI era.

Git-Native

Plain text format that works beautifully with version control. Meaningful diffs, no binary conflicts, perfect for collaboration.

LLM-Friendly

Designed for AI agents to read, write, and transform. Simple syntax that LLMs understand natively.

Multi-Format Export

One source file exports to PDF, DOCX, PPTX, and XLSX. Write once, output everywhere.

Live Formulas

Spreadsheet formulas that actually work. Dynamic calculations in a plain-text format.

Rich Styling

10 professional themes. Tables with alignment. Bold, italic, code formatting. Lists and more.

Developer-First

TypeScript types, CLI tools, comprehensive tests. Built by developers, for developers.

See It In Action

One OSF file combines documents, slides, tables, and modular includes — all in plain text.

business-report.osf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@meta {
  title: "Q4 Business Review";
  author: "Your Team";
  date: "2025-10-16";
  theme: "Corporate";
}

@doc {
  # Executive Summary

  Our Q4 performance exceeded expectations with **20% revenue growth**
  and significant improvements in customer retention.
  
  ## NEW in v1.2 🎉
  - **@table blocks** - Markdown-style tables
  - **@include** - Modular document composition
  - Enhanced security (Grade A+)
}

@table {
  caption: "Regional Performance";
  style: "bordered";
  alignment: ["left", "right", "right", "center"];
  
  | Region | Q3 Revenue | Q4 Revenue | Growth |
  | --- | --- | --- | --- |
  | North America | $975K | $1,150K | +18% ↗ |
  | Europe | $748K | $880K | +17% ↗ |
  | Asia Pacific | $477K | $592K | +24% ↗ |
}

@slide {
  title: "Key Metrics";
  layout: TitleAndBullets;
  bullets {
    "💰 Revenue grew 20% to $2.6M";
    "👥 Customer churn decreased to 2%";
    "🚀 Launched @table and @include features";
  }
}

@include { path: "./sections/financial-details.osf"; }
PDF
osf render --format pdf
PPTX
osf render --format pptx
XLSX
osf render --format xlsx

Quick Start

Get up and running in under a minute.

01 / Install
terminal
$npm install -g omniscript-cli@1.2.1
02 / Create
hello.osf
@meta { title: "My First Doc"; }

@doc {
  # Hello OmniScript
  This is my first document!
}
03 / Convert
terminal
$osf render hello.osf --format pdf
> ✓ Generated hello.pdf
OmniScript

Universal Document DSL for the AI era.

Packages
  • omniscript-parser@1.2.0
  • omniscript-cli@1.2.1
  • omniscript-converters@1.2.0

Built with ❤️ by Alphin Tom • MIT License • 2025