pablomartinezalvarez / glayu

Licence: MIT license
A static site generator for mid-sized sites.

Programming Languages

elixir
2628 projects
HTML
75241 projects

Projects that are alternatives of or similar to glayu

dendron-site
Getting started with Dendron
Stars: ✭ 99 (+39.44%)
Mutual labels:  static-site-generator
static-roam
A static-site generator for Roam Research
Stars: ✭ 59 (-16.9%)
Mutual labels:  static-site-generator
fledermaus
Batman’s toolbelt for static site generation
Stars: ✭ 77 (+8.45%)
Mutual labels:  static-site-generator
bulbo
🍹 Generate your static site with gulp plugins!
Stars: ✭ 14 (-80.28%)
Mutual labels:  static-site-generator
iron-beard
Simple, zero-configuration static site generator written in .NET Core.
Stars: ✭ 26 (-63.38%)
Mutual labels:  static-site-generator
vue-static
A static site generator made in Vue. The power and navigation speed of a SPA with the SEO and loading speed of a static site. Based on React-Static.
Stars: ✭ 25 (-64.79%)
Mutual labels:  static-site-generator
ssr-web
A fast, simple & powerful blog framework, powered by Node.js and Vue.
Stars: ✭ 19 (-73.24%)
Mutual labels:  static-site-generator
navigator-hugo
Navigator Business theme powered by Hugo. It also could be used for a personal portfolio.
Stars: ✭ 133 (+87.32%)
Mutual labels:  static-site-generator
Align
a single static blog generater use vue components and markdown files
Stars: ✭ 92 (+29.58%)
Mutual labels:  static-site-generator
leven
😋 Make your own blog!
Stars: ✭ 54 (-23.94%)
Mutual labels:  static-site-generator
contentful-export
Extract Contentful to Hugo
Stars: ✭ 22 (-69.01%)
Mutual labels:  static-site-generator
chronicle2
Chronicle is a simple blog compiler, written in Perl with minimal dependencies.
Stars: ✭ 19 (-73.24%)
Mutual labels:  static-site-generator
crisp-react
React boilerplate written in TypeScript with a variety of Jamstack and full stack deployments. Comes with SSR and without need to learn a framework. Helps to split a monolithic React app into multiple SPAs and avoid vendor lock-in.
Stars: ✭ 147 (+107.04%)
Mutual labels:  static-site-generator
wordpress-scaffold
The scaffold for GRRR's WordPress Pro setup.
Stars: ✭ 16 (-77.46%)
Mutual labels:  static-site-generator
static-web-apps-gallery-code-samples
A community showcase of projects built with Azure Static Web Apps 🎉 Visit: https://microsoft.github.io/static-web-apps-gallery-code-samples/
Stars: ✭ 96 (+35.21%)
Mutual labels:  static-site-generator
sutanlab.id
☕️ My Personal Homepage & Blog site with NextJS. 🇺🇸 🇮🇩
Stars: ✭ 39 (-45.07%)
Mutual labels:  static-site-generator
hugo-minimalist-theme
Port of Raphael Riegger's Minimalistic Ghost theme to Hugo.
Stars: ✭ 25 (-64.79%)
Mutual labels:  static-site-generator
Bolt
⚡ is a fast grunt based, data driven, static site seed project, for rapid web development of PWA's or JAMstack projects
Stars: ✭ 30 (-57.75%)
Mutual labels:  static-site-generator
Grimgrains
Plant-based cooking website
Stars: ✭ 115 (+61.97%)
Mutual labels:  static-site-generator
pandocomatic
Automate the use of pandoc
Stars: ✭ 123 (+73.24%)
Mutual labels:  static-site-generator

glayu

Build Status

What is Glayu?

Glayu is a static site generator for mid-sized sites that generate content frequently and have to deal with multiple categories, like magazines and newspapers.

What makes Glayu different from other static site generators is the way it structures the source folder: when you publish an article using Glayu, the markdown file is placed inside a subfolder of the source directory following the permalink definition.

With the default permalink definition categories/year/month/day/title your source and public directories will look like:

Workflow

The motivation of this source folder organization is to split the site content in smaller units that can be managed independently. Glayu takes advance of this folder organization to enable the concurrent and partial generation of the site.

In the previous example a complete build of the site will handle the /source/_posts/world/2017/07/11 and /source/_posts/us/2017/11 folders concurrently.

Glayu enables the partial generation of the site by using regular expressions, so if you will be interested in only generate the world articles you could use the build command like this:

$ glayu build _posts/world*

Features

  • Partial site generation.
  • Well organized source folder.
  • Fast, thanks to Elixir and the Erlang VM.
  • Themes support.
  • Partials support.

Quick Start

Pre-requisites: Erlang installed on your machine.

Get the latest Glayu binary, grant execution permissions if needed, and add it to your PATH

Init the site.

$ glayu init glayu_site
🐦 Your Glayu site has been created at ${PATH_TO_SITE}/glayu_site

Create your first post.

$ cd ./glayu_site
$ glayu new "My First Glayu Article"
🐦 Post created at ${PATH_TO_SITE}/glayu_site/source/_drafts/my-first-glayu-article.md

Publish your post.

$ glayu publish my-first-glayu-article.md
🐦 Draft published to ${PATH_TO_SITE}/glayu_site/source/_posts/software/static-sites/2017/07/11/my-first-glayu-article.md

Build the site.

$ glayu build
✓ Site pages generated.
└── 1 pages generated.
✓ Category pages generated.
└── 2 category pages generated.
✓ Home page generated.
✓ Site assets copied from theme folder to public folder.
└── 20 files copied.
🐦 Site Generated Successfully.

The site pages are generated under ../glayu_site/public

Documentation Site

Check the docs.

Themes

Glayu Times

Glayu Bootswatch by David Gustafsson

Source Code Organization

Glayu is an Elixir umbrella project including following applications:

Application Description
glayu glayu escript binary generation
glayu_core main Glayu logic
glayu_build SiteTree and site pages rendering logic
glayu_preview_server preview server

License

This project is available under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].