Skip to content

day1co/fastpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastpress

fast and simple static site generator

Getting Started

Install

$ npm i -D @day1co/fastpress

Create New Site

$ npx fastpress site

Create New Page

$ npx fastpress page

Create New Post

$ npx fastpress post

Build All

$ npx fastpress build
  • Watch Changes and Build(expremental)
$ npx fastpress watch

preview with local http server

$ npx http-server out/

see http-server

deploy to github pages

$ npx gh-pages -d out/

see gh-pages

Internals

Directory Structure

+ pages/     
  - index.md
  + about/
    - index.md
  + posts/
    - index.md
    + slug
      - index.md
  - ...
+ public/  
  - favicon.ico
  - ... 
+ layouts/
  - default.ejs
  - page.ejs
  - post.ejs
  - ...

Custom Layout

see ejs


May the SOURCE be with you...

About

fast and simple static site generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages