Skip to content
/ scatic Public

A minimalist static site generator written in Scala with Ammonite

License

Notifications You must be signed in to change notification settings

indaco/scatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scatic ( Scala Static Site Generator)

Scatic is a minimal static site generator written in Scala using Ammonite as my personal blog/notes site. I know, there is a plenty of static site generators out there so why Scatic? Well, it is a pure personal playground! I love the DIY approach sometimes.

It should work well on any operating system with JRE8 installed, even though is has been tested only on OSX and Linux Ubuntu. Ammonite-REPL does not support Windows, even though Ammonite-Ops (used by Scatic) does. It means that you should be able to use Scatic on your Windows machine.

It is freely inspired by:

Features

What does it use?

Quickstart

The Main.sc script works in three operational modes (generate, serve and clean). Pass the right arg to the script in order to execute it.

  1. install Ammonite
  2. Open a new terminal windows
  3. Clone or download the repos $ git clone https://github.com/indaco/scatic
  4. Start generating with sample content $ amm main.sc -- --mode generate
  5. Serve the result $ amm main.sc -- --mode serve
  6. Open a browser windows to localhost:8080

Write your own content

Add your blog posts to resources/posts as Markdown files and:

  • Generate the site: $ amm main.sc -- --mode generate
  • Serve the result: $ amm main.sc -- --mode serve
  • Open a browser windows: localhost:8080

Copyright and License

Licensed under the MIT License, see the LICENSE file.

About

A minimalist static site generator written in Scala with Ammonite

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published