Static website generator
Find a file
2025-08-14 10:16:16 +02:00
bin Add pug and html renderer. Implement hidden flag. 2025-08-14 07:29:40 +00:00
empty Add pug and html renderer. Implement hidden flag. 2025-08-14 07:29:40 +00:00
src Add pug and html renderer. Implement hidden flag. 2025-08-14 07:29:40 +00:00
types Add pug and html renderer. Implement hidden flag. 2025-08-14 07:29:40 +00:00
.gitignore Start project with the old POC 2024-08-15 19:52:42 +02:00
.npmignore Use typescript for the project 2025-02-24 18:46:31 +01:00
.nvim.lua Add pug and html renderer. Implement hidden flag. 2025-08-14 07:29:40 +00:00
package-lock.json v0.0.3 2025-08-14 10:16:16 +02:00
package.json Update the version => 0.0.3 2025-08-14 10:09:25 +02:00
README.md Update the version => 0.0.3 2025-08-14 10:09:25 +02:00
tsconfig.json Use typescript for the project 2025-02-24 18:46:31 +01:00

Sajt

It is project that is runring your notes in Mardown format into website

Layout might be created in pug or html

Publishing throught SSH (ftp and dav is planned)

Initialize project in current directory with default theme

sajt init
sajt init "Project name"

start server

sajt build 
    --clean # remove local files that are not revelant to the project anymore
    --publish or --serve -p 3000 --watch # Publish or serve with options -p PORT, --watch observe changes and rebuild the page if thare are any 
    --config config.yaml or -c config.yaml
    --private # include private resources as well

sajt publish 
    --override # default is skip, if file exists, do not change it
    --clean    # remove remote files that not longer exists in the build folder

Project structure

.sajt/config.yaml # default config, you can override values pointing secundary file using --config flag .sajt/media # copy all files as they are .sajt/layouts # pug files that describes the layout the pages

Support

If you think the project is or might be usefull and wish me to work on it: https://buymeacoffee.com/artur.gurgul

Development

Install local package

npm link sajt


This is my website which is generated by sajt: https://artur.gurgul.pro