Static blogging platform.
If you get tired of specifying nykya --root
to point to the site directory, you can set it as a persistent root directory:
- UNIX:
export NYKYA_ROOT=/site
- Windows:
[System.Environment]::SetEnvironmentVariable('NYKYA_ROOT', 'C:\Users\spam1\site', [System.EnvironmentVariableTarget]::User)
nykya
-
ny add thought "Where am I going with my life?
- record a new thought -
ny add post
- open a text editor to record a new post -
ny add post /path/to/post.md
:- If within the site root, append frontmatter
- If outside of site root, copy it and append frontmatter
-
ny add image /path/to/image ...
- Same semantics as a new post
The semantics are slightly different:
-
It isn't necessary to run
add
on an object that already exists inin/
. They are included by default.
- add - add something
- dev - startup development webserver
- render - write static output
Future:
- rm - remove something
- sync - resync post content
- photo - local or remote URL to JPG
- post - local or remote URL to HTML
- FUTURE: Google Docs integration
- thought - quick inline text post
- --root - site directory containing nykya.yaml file (config)
- --description -