https://github.com/jlkdevelop/mxscript.com
Official site for MX Script — built in MX Script itself. Founded by Jassim Alkharafi.
https://github.com/jlkdevelop/mxscript.com
Last synced: about 1 month ago
JSON representation
Official site for MX Script — built in MX Script itself. Founded by Jassim Alkharafi.
- Host: GitHub
- URL: https://github.com/jlkdevelop/mxscript.com
- Owner: jlkdevelop
- License: mit
- Created: 2026-05-02T17:57:38.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-02T18:41:45.000Z (about 2 months ago)
- Last Synced: 2026-05-02T20:27:06.590Z (about 2 months ago)
- Homepage: https://mxscript.com
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mxscript.com
The official website for [MX Script](https://github.com/jlkdevelop/mxscript) — a lightweight scripting language for building one-file web APIs.
> Created by [Jassim Alkharafi](https://github.com/jlkdevelop). MIT-licensed and built in the open.
## About this repo
This repository hosts the source for **mxscript.com**, the official site for the MX Script language.
**Goal:** the entire site is built using MX Script itself. Every route, every page, every byte of HTML — generated from `.mx` code. The site is the language's first real-world dogfood, and grows in parallel with the language.
The whole site lives in a single file: [`app.mx`](./app.mx). HTML is built up from small functions that return strings; CSS is inlined; routes are first-class. As the language gains features the site needs (templating, asset pipeline, etc.), the site grows alongside it.
## Stack
- **Language:** [MX Script](https://github.com/jlkdevelop/mxscript)
- **Runtime:** the `mx` CLI (`mx run app.mx`)
- **Output:** HTML rendered directly from `.mx` via the `html()` response helper
- **No JS frameworks. No build step. No `node_modules`. One file.**
## Routes
| Path | Purpose |
| ---------- | ------------------------------------------------ |
| `/` | The landing page (full HTML rendered from `.mx`) |
| `/status` | JSON heartbeat — proof that MX Script serves it |
## Running locally
Install MX Script (see the [language repo](https://github.com/jlkdevelop/mxscript) for instructions), then:
```sh
mx run app.mx
```
The site will be available at `http://localhost:8080`.
## Contributing
Contributions are welcome. Because the site is a dogfood for MX Script, the highest-leverage contributions are:
1. Surfacing language gaps the site exposes (open an issue on the [language repo](https://github.com/jlkdevelop/mxscript/issues))
2. Improving copy, design, or content
3. Adding examples and tutorials
## License
[MIT](./LICENSE) © Jassim Alkharafi