journal
v1.1.0
Published
Journal is a static blog generator designed to work with Markdown
Downloads
27
Maintainers
Readme
Journal: A Personal Publishing Platform
Journal. \ˈjər-nəl\ Noun. Definition: chronicle, account, narrative, life.
Journal is a markdown-focused blogging platform. It keeps all the markdown for all you posts and generates static files to serve them as html.
It's small, simple, and fast!
Isn't it mysterious to begin a new journal like this? I can run my fingers through the fresh clean pages but I cannot guess what the writing on them will be. ― Maud Hart Lovelace
Instalation
Assuming you have NodeJS installed already then you can just run journal directly through npx.
npx journalYou can also install the binary globally like so:
npm i -g journalUsage
journal [command] [args]
Commands
journal build- builds a journaljournal serve- starts a httpserver locally to serve any content [aliases: view]
Config Arguments (which can be overriden):
- `-c, --config [default: /journal.json]
Directory Arguments: (overrides config)
-i, --input, --contentLocation of markdown to be parsed [default: /content/]-o, --outputLocation to output generated html [default: /build/]-s, --staticLocation of static files (css, images, etc) [default: /static/]
Other Arguments
-v, --versionShow version number [boolean]-h, --helpShow help [boolean]
Examples:
$ journal Basic usage, uses defaults
$ journal --config myconfig.json Use a custom config file
$ journal -i '../custom/dir' Use a custom content directory
$ journal view Start a server for built content
$ journal view --config myconfig.json Start server with a custom configLicense
Journal is licensed under the Apache License 2.0, which is available in the LICENCE.md file.


