Skip to main content
Rei

ARKlight Compiler Framework

A Python-first compiler for building static websites where developers work with a structured component API, No templating language, while the output remains ordinary, dependency-free Hyper Text Markup Language Cascading Style Sheets JavaScript.

Motto: Write Once, Compile Everywhere

PyPI Python Website GitHub Stars Website Source

Write your site in Python. ARKlight compiles it to standard HTML with CSS and vanilla JavaScript. The browser never executes Python — you get predictable, inspectable, portable output that works anywhere static files are hosted.

No Python runtime in production. No framework bloat. Just Python ergonomics at authorship time, and clean web artifacts at deployment time.

New here?

If you're new to ARKlight or evaluating whether it fits your needs, start with the documentation in this order:

  1. The Pitch — the problem ARKlight is trying to solve, its intended use, and the larger idea behind the project.

  2. What is ARKlight? — a concise explanation of what ARKlight is, how it works, and what it currently provides.

  3. Foundational Documentation — the deeper technical documentation covering ARKlight's architecture, compiler model, capabilities, design decisions, limitations, and roadmap.

Start with the pitch if you want to understand the why. Read What is ARKlight? for the practical picture. If you're still interested, the foundational documentation is the place to understand ARKlight in enough depth to decide whether it fits your project.

ARKlight is under active development. Status lives in exactly one place per kind of record: Version History/Readme.md for version history, PROGRESS.md for the current snapshot and what's next, and docs/Foundational/ARCHITECTURE.md for the milestone roadmap. This page deliberately states no version numbers or feature lists of its own, so it cannot fall out of date.

Refer to docs/Foundational/EXPERIMENTAL-APIS.md if you wished to use escape hatches.

For AI Assisted Developers or Agents? Refer the ARKlight Skills Collections As it may help use ARKlight more effectively.

Install

pip install arklight

The first arklight command asks you to accept the license terms once. From a source checkout, read LICENSE, then build with pip install -e . --config-settings=yes-i-agree-to-arklight-license=1 (or set ARKLIGHT_ACCEPT_LICENSE=1); a plain pip install -e . stops at that gate.

A runnable example, the Debian/Ubuntu package, upgrading an existing checkout, and everything else needed to get running: docs/Foundational/GETTING-STARTED.md.

Documentation

Everything else -- the CLI, the compiler pipeline, the full authoring API, the repository layout, running the tests, non-goals, and version history -- is rooted in docs/README.md. It is the single index for all of it, so it's the only place documentation can go stale, and the only place you need to check.

If you found a bug or have a question, please open an issue.

Badge

If you built your site with ARKlight, feel free to show it off:

Built with ARKlight

Markdown:

[![Built with ARKlight](https://raw.githubusercontent.com/ARKlight-Ecosystem/ARKlight/main/arklight-badge.svg)](https://github.com/ARKlight-Ecosystem/ARKlight)

HTML:

<a href="https://github.com/ARKlight-Ecosystem/ARKlight">
  <img src="https://raw.githubusercontent.com/ARKlight-Ecosystem/ARKlight/main/arklight-badge.svg" alt="Built with ARKlight" height="72">
</a>

License

GNU GPLv3 Image

ARKlight is licensed under the GNU General Public License v3.0 or later plus the ARKlight Additional Terms.

Your sites. The Python you write and the HTML and CSS that arklight build generates from it are not covered by the GPL, and you don't have to show a "Built with ARKlight" notice. The one exception is arklight.js, ARKlight's own runtime, which arklight build copies into your output. It remains under this license, and you must keep its "Generated by ARKlight" comment.

Forks of ARKlight. If you distribute the compiler's source or a work based on it, keep a visible "Based on ARKlight" or "Powered by ARKlight" notice alongside the usual GPL notices.

C_ARKlight, the separate C library, has its own license (GPL-3.0 plus a linking exception). refer to its own license

Metadata

Release files for arklight 0.70.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arklight 0.70.2
File Size Uploaded Provenance Actions
arklight-0.70.2.tar.gz 696.7 kB With provenance Details for arklight-0.70.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arklight 0.70.2
File Interpreter ABI Platform Actions
arklight-0.70.2-py3-none-any.whl Python 3 none any Details for arklight-0.70.2-py3-none-any.whl

Total release size: 1.3 MB

Release files / arklight-0.70.2.tar.gz

Download URL arklight-0.70.2.tar.gz
Size 696.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8002ccc6662a66b68cb3b2df3f25f1ce55bcdf9e289521c5c7c0ae71ab80883d
BLAKE2b-256 checksum
How to use checksums
22025781d0018e07a178d33c58d2f7a272eb4f73012c43695a56d20bf5747391
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / arklight-0.70.2-py3-none-any.whl

Download URL arklight-0.70.2-py3-none-any.whl
Size 577.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fc6edea5e45793465656861131f396df9df86dd51e60ec19b89bb77bb852d79
BLAKE2b-256 checksum
How to use checksums
77239d4d7faaccd503eab0924975d124ba2068e45338a8ea8566e062f65ddea8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for arklight 0.70.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for arklight-0.70.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page