A software to create webpages dynamically, and serve them statically.
This is an ongoing project to achieve this VISION. And Here are some resources and references of old plans and others' projects.
note: Kmt is named after my country Egypt. Egypt is called Kmt in the ancient egyptian language.
YouTube Channel • 𝕏 (twitter) • LinkedIn • Telegram channel • Facebook page
# clone the project into a directory called 'kmt'
git clone --depth 1 --recursive -b main https://github.com/abanoubha/kmt.git
# download all the libs/modules
go mod tidy
# run the project
go run *.go
# build the project, produce a binary/executable
go build -o kmt .
# run the executable/binary
./kmt
# run tests
go test
---
title: "title of a blog post about Linux"
date: 2021-10-13T09:45:00+02:00
draft: false
category: "Linux"
---
the body of the article or blog post.
The link will be /linux/some-file-name.html
. The blueprint is /category-name/file-name.html
.
- (VISION) no database, just plain text files such as markdown files
- create a post via web interface (localhost or actual server/hosting)
- create webpages (blog posts) dynamically by editing the markdown file
- edit webpages (blog posts) dynamically via web interface
- edit webpages (blog posts) dynamically by editing the markdown file
- generate static HTML webpages with CSS/JS, then save them in
/public
dir to serve them to visitors - web interface let you edit/create webpage in chunks like gutenberg
- use spcss by default
- use tailwindcss for advanced theme(s)
- SEO meta tags
- robots.txt
- add canonical url for each page
- generate sitemap after create/edit
- RSS XML feed
- search page, indexing content, 'search' feature
- notify MS Bing SE that sitemap changed after create/edit
- notify Google SE that sitemap changed after create/edit
- widget: share buttons
- text to speech
- use local font if available
- multilanguage support (i18n)
- support auto dark mode
- Auth to create/edit
- lossless compression for images
- resize huge images to fit the size needed for. (hard resize)
- breadcrumb
-
loading="lazy"
for<img>
and<iframe>
- use picture with WebP, PNG and JPEG
- redirects
- embed YouTube videos
- embed iframes
- embed tweets