A very simple blog server written in Node.js with support for Markdown files, images, embedded content and all other stuff you would expect from a blog. Base idea of this server is to keep it as lean as possible. There should be no hard admin interface or other stuff getting in the way of publishing content. Search capabilities is added with an …
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app Fixing sitemap Aug 2, 2018
bin Made output a bit nicer for copy-paste Nov 8, 2017
config Added category header. Jan 30, 2018
etc Fixed automatic startup stuff. May 16, 2015
lib Fixed linting. Oct 18, 2018
template Added drop-letter to first real letter of body and after all hr. Oct 18, 2018
test Removing when module and using native Promises instead. Mar 3, 2018
tutorials Added tutorials. Jun 2, 2016
.babelrc Added webpack, babel and uglify. Mar 3, 2018
.coveralls-dist.yml Initial commit. Mar 3, 2015
.eslintrc.json Added eslint and fixed linting. Oct 22, 2017
.gitignore Added notification error path to ignore. Nov 9, 2017
.retireignore Added eslint and fixed linting. Oct 22, 2017
.travis.yml Travis is complaining about buster.jss contextify on newer versions. May 30, 2018
CHANGELOG.md Updated changelog. Jun 18, 2016
Gruntfile.js Removed jshint stuff. Mar 3, 2018
INSTALL.md Wip. New version without when and other superfluios stuff. Oct 21, 2017
LICENSE Initial commit Aug 23, 2014
README.md Added more resources. Sep 8, 2018
all-tests.js Added github-gist plugin. Aug 26, 2015
changelog.sh Added changelog generator. Mar 23, 2015
make_release.sh Bumped version to 0.2.0 Aug 15, 2015
package.json Added more rich cards to the seo header. Jun 3, 2018
report-test-cover.sh Added helper files. Sep 19, 2014
run-server.sh Added helper files. Sep 19, 2014
run-tests.sh Added helper. Sep 26, 2014
run-watch.sh Adding travis. Sep 26, 2014
webpack.config.js Added webpack, babel and uglify. Mar 3, 2018
wiki.md Fixed spelling. Jul 21, 2015
wip-README.md Wip. New version without when and other superfluios stuff. Oct 21, 2017

README.md

A very simple blog server

Join the chat at https://gitter.im/5orenso/simple-blog Build Status Coverage Status GitHub version

Written in Node.js with support for Markdown files, images, embedded content and all other stuff you would expect from a blog.

Base idea of this server is to keep it as lean as possible. There should be no hard admin interface or other stuff getting in the way of publishing content.

Search capabilities is added with an ElasticSearch integration adapter.

This is how it works

    ----------------   dropbox      -------------     -------
   | who-am-i.md    |  auto sync   | Simple blog |   | Nginx |
   | hello-blog.md  | -----------> | server      |-->|   or  |
   | ...            |              | (Amazon)    |   | Cloud-|  web page    -----------
    ----------------               |             |   | Front | ----------> | browser   |
    ----------------   dropbox     |             |   |       |             | or mobile |
   | image.jpg      |  auto sync   |             |   |       |              -----------
   | image2.jpg     | -----------> |             |   |       |
    ----------------               |             |    -------
                                    -------------
    ----------------                      |
   | ElasticSearch  | --------------------
    ----------------

  • All content is worked on locally on your computer, phone og tablet. You can even work when offline.
  • Everything is synced to the server by your Dropbox setup.
  • Administration of users is done with your Dropbox sharing.

Read more about the simple blog server.

Prerequisite

Howto publish content

Content are located in the content folder.
Articles are located in the article folder and sub folders.
Images are located in the images folder and sub folders.
Simply save your article in the correct folder and voila, it's published.

Example blog post

 :title My blog post title
 :teaser Read all about it!
 :body
 ## Hello world!

 This is my first blog post.

That's all there is to it.

See the wiki page for more details.

Markdown is used for writing.

Markdown is intended to be as easy-to-read and easy-to-write as is feasible.

Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions.

Work in progress

More to come :)

Read more about:

Howto upgrade modules

$ npm install -g npm-check-updates
$ ncu --upgrade --upgradeAll
$ npm install --no-optional

Howto upgrade editor

$ cp ../simplemde-markdown-editor/dist/simplemde.min.js ./template/global/js/.
$ cp ../simplemde-markdown-editor/dist/simplemde.min.css ./template/global/css/.

Other Resources