flog
is an abbreviation for File bLOG
, and it is a form of blog that manages all posts as files.
All pages in flog
are based on server side rendering.
Post is automatically rendered when you create it based on markdown
.
- nextjs
- reactjs
- express
- react-semantic-ui
- almost of markdown-it plugins
- axios
- jquery
- linux cli
- github-markdown.css
- linux OS
- tree command (upper 1.7 version)
- node 7.x or later (supports es6)
- Type
npm install
to install necessary npm package. - In
/ config / config.json
, "root" is required and indicates where post files will be saved. Write the location to be saved inconfig.json
.- possible to write all the relative addresses, absolute addresses,
~
, and so on.
- possible to write all the relative addresses, absolute addresses,
- Type
npm start
to run server. Default port is3000
.- If you want to change port, edit
server/index.js
file.
- If you want to change port, edit
- Enjoy it!
Note 1. If you want to comment, please try social comment plugin like
disqus
Type text based on markdown in root
, then it will be automatically rendered.
(Supported items are the same as Note 2. markdown-it plugin list
.)
- If directory is added to
root
, it is regarded as category classification. By default,all
category exists and all files in theroot
directory of that post are displayed. - If you want a picture to the post by custom, save it same directory, and using

Note 2. markdown-it plugin list
- subscript
- superscript
- footnote
- definition list
- abbreviation
- emoji
- insert
- mark
- toc-and-anchor
- header-sections
- Support markdown rendering
- Make table of contents(toc) automatically
- Support for toc highlighting / link
- Category classification support
- By default, the index page is displayed as the most recent post
- Treat error page perfectly
- Search function support
- Added page indicator function of category
- able to customize ui color and site title