Starfish
a blog render system, support org-mode
and markdown
.
also support custom renderer by write a plugin.
install
npm install -g starfish-cli
or
yarn add -g starfish-cli
use
render
starfish render [blog source path]
init
blog source structure
configure
config.yml
example:
AUTHOR:NAME: 'test-reboot'GITHUB: 'reboot'BLOG:ARTICLES_DIR: 'articles'DOMAIN: 'test.starfish.org'HTTPS: falseNAME: 'reboot blog'DESC: 'this is reboot bog'TMPDIR: '/tmp'TMPNAME: 'NobbBuildTemp'PORT: 8080HOST: '127.0.0.1'INDEX_ARTICLE_NUMBER: 7CATEGORY_ARTICLE_NUMBER: 20ALL_PAGE_ARTICLE_NUMBER: 20SORT_ARTICLE_BY: 'create'ARTICLE_SUMMARY_CHAR_NUMBER: 300IGNORE_CATEGORY_RENDER: false # ignore category renderSTYLE:THEMEDIR: '@themes'THEME: 'mock-theme'THEME_CONFIG_FILE: 'theme.config.yaml'CONFIG:CONFIG_FILE: 'config.yaml'DIR_CONFIG_FILE: '.nobbbconfig.yaml'IGNORE_FILE: '.ignore'SERVE:HOST: '0.0.0.0'PORT: '8080'MAPPING:'@root-asset/*': '/'LANG: 'zh-CN'