https://github.com/theoboldalex/tra.sh
⚡ A Static Site Generator in a dozen lines of Bash
https://github.com/theoboldalex/tra.sh
bash shell ssg static-site-generator
Last synced: 2 months ago
JSON representation
⚡ A Static Site Generator in a dozen lines of Bash
- Host: GitHub
- URL: https://github.com/theoboldalex/tra.sh
- Owner: theoboldalex
- License: mit
- Created: 2023-07-28T23:05:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-20T16:07:10.000Z (6 months ago)
- Last Synced: 2025-12-22T18:32:28.427Z (6 months ago)
- Topics: bash, shell, ssg, static-site-generator
- Language: Shell
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚡ TRA.SH - A Bash Static Site Generator
### How?
To build the site, simply run `make`. This will run `scripts/build.sh` and will parse the `content` directory and build html files from the
markdown contained within. The `content` directory should follow the below structure.
> [!WARNING]
> If you do not follow the directory structure shown below, your site will not be built correctly
```
content
|-- 2023
| |-- 01
| |-- 02
| |-- 03
| |-- 04
| |-- 05
| | |-- complexity_is_killing_the_web.md
| |-- 06
| |-- 07
| |-- 08
| |-- 09
| |-- 10
| |-- 11
| |-- 12
|-- 2024
| |-- 01
| |-- 02
| |-- 03
| |-- 04
...
```
### Why?
This project is a wholly unnecessary endeavour. That being said; it serves as a useful reminder that we have a tendency to
add complexity to our systems unnecessarily.