From 617448c7ce5f27af58181116e36a365f7e39b579 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Sun, 15 Mar 2026 22:03:55 -0400 Subject: [PATCH] first commit --- Fes.toml | 5 +++++ README.md | 33 +++++++++++++++++++++++++++++++++ www/index.lua | 8 ++++++++ 3 files changed, 46 insertions(+) create mode 100644 Fes.toml create mode 100644 README.md create mode 100644 www/index.lua diff --git a/Fes.toml b/Fes.toml new file mode 100644 index 0000000..7438db8 --- /dev/null +++ b/Fes.toml @@ -0,0 +1,5 @@ +[app] + +name = "textbooks" +version = "0.0.1" +authors = ["vx-clutch"] \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..8490930 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# textbooks + +``` +fes new textbooks +``` + +> **Know what you are doing?** Delete this file. Have fun! + +## Project Structure + +Inside your Fes project, you'll see the following directories and files: + +``` +. +├── Fes.toml +├── README.md +└── www + └── index.lua +``` + +Fes looks for `.lua` files in the `www/` directory. Each file is exposed as a route based on its file name. + +## Commands + +All commands are run from the root of the project, from a terminal: + +| Command | Action | +| :------------------------ | :----------------------------------------------- | +| `fes run .` | Runs the project at `.` | + +## What to learn more? + +Check out [Fes's docs](https://docs.vxserver.dev/static/fes.html). \ No newline at end of file diff --git a/www/index.lua b/www/index.lua new file mode 100644 index 0000000..d369c0e --- /dev/null +++ b/www/index.lua @@ -0,0 +1,8 @@ +local fes = require("fes") +local site = fes.fes() + +-- site.copyright = fes.util.copyright("https://example.com", "vx-clutch") + +site:h1("Hello, World!") + +return site \ No newline at end of file