https://github.com/arthurrump/fake.staticgen
A fully customizable static site generator using the power of FAKE
https://github.com/arthurrump/fake.staticgen
fake fsharp staticgen
Last synced: 18 days ago
JSON representation
A fully customizable static site generator using the power of FAKE
- Host: GitHub
- URL: https://github.com/arthurrump/fake.staticgen
- Owner: arthurrump
- License: bsd-2-clause
- Created: 2019-01-28T10:24:39.000Z (over 6 years ago)
- Default Branch: dev
- Last Pushed: 2019-07-15T18:15:26.000Z (almost 6 years ago)
- Last Synced: 2025-04-13T23:10:07.515Z (20 days ago)
- Topics: fake, fsharp, staticgen
- Language: F#
- Size: 625 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fake.StaticGen
A fully customizable static site generator using the power of [FAKE](https://fake.build) scripts to easily generate your site.## Building the samples
The samples depend on a local NuGet package of Fake.StaticGen and required add-ons being available, so you'll first have to run `fake build` in the root of the repo to create all packages in the `/packages` folder. Then the samples should just build with `fake build` (assuming a global FAKE install), putting the generated files in the `public` folder.## Some ideas
- Find a way to be more lazy when reading in files, and what needs to be kept for big overviews. There is a trade-off between flexibility to let the user do any file transformation they would want and memory footprint. Maybe there is a happy middle?
- Planned add-on packages:
- Sass/Less compiler
- SharpSCSS (and other libsass wrappers) don’t seem to work in a FAKE script environment. Other options: invoke the program (so it’ll need to be globally installed, that’s what Fornax does); use a JavaScript runtime (like [Jint](https://github.com/sebastienros/jint) or [Nil.JS](https://github.com/nilproject/NiL.JS)) to run the JS version (could then also easily adapt to Less, Stylus and other JS tooling like minifiers)
- Easy to use Markdown with frontmatter ([YAML](https://noyaml.com), TOML, JSON) for pages
- Watch mode local server