Skip to content

krymtkts/blog-fable

Repository files navigation

Deploy GitHub Pages Known Vulnerabilities

This is a small Fable app project to generate static pages. Use React with Feliz.

This repository re-creates a subset of fable-compiler/static-web-generator with the latest dependencies.

GitHub Pages deployment is here. You can view the sample pages on this site.

Motivation

Supported features

  • Post
  • Page
  • RSS feed
  • Sitemap
  • Dev server
  • Color scheme

Constraints

The filename for pages should follow the pattern below.

^[a-zA-Z0-9-.\s]+\.md$

The filename for posts should follow the pattern below.

^\d{4}-\d{2}-\d{2}-[a-zA-Z0-9-.\s]+\.md$

Building and running the app

  • Install dependencies: npm install
  • Build entire pages: npm run build
    • It depends npm run build-fable and npm run build-css
      • Build pages: npm run build-fable
      • Build styles: npm run build-css
  • Build pages and start a development server: npm run dev
    • After finished the first compilation, open: http://localhost:8080/ automatically
    • The simplest way to build and start a server

Credits

This repository incorporates parts of the following open source software:

Releases

No releases published

Packages

No packages published