View on GitHub


A simple node.js online container for your ideas, concepts and documentations using markdown

Download this project as a .zip file Download this project as a tar.gz file


ideamark is an online container for your ideas, concepts and documentations based on this-blog a simple blogging engine by Dusko Jordanovski written in node.js. All documents are written with Markdown markup.



To use it, you will have to make 2 installations, one on your server and one on your local machine:

npm install ideamark


Setting up

Before you start it, you need to edit the settings.json file in the root directory. Your local and remote installation must have the same settings for these options:

remoteUrl:    ""
remotePort:   80
password:     "icanhazcheezburger"
contentDirs:  ["posts", "templates", "static"]

You need to get these to be the same on your server and local installation. Everything else is configurable later. The remoteUrl and remotePort are the public URL and port of your blog. The password is used to authenticate you when you publish posts.

You can start your server by running

node server.js -s 

on your server.


To upload posts, images and templates start adding them in one of the contentDirs that you defined. Normally your posts would go in the posts directory, templates in the templates directory, but **ideamark* uses only the file extension to make difference between posts and other files. Any file with the .md extension will be treated like a post.

After you're done publish your changes by running

node server.js -p 

on your local machine.


Here's an overview of the configuration options in the settings.json file:

port:        The port for the node server to listen to (if you use a proxy)
remotePort:  The public port for your blog (should be 80)
remoteUrl:   The public URL of your blog
password:    Authentication password - needs to be the same
contentDirs: Dirs scanned for content changes before publishing
gaCode:      Google Analytics key, empty string to not use Google Analytics
postsUrl:    Url path for posts (with leading slash)
tagsUrl:     Url path for tags (with leading slash)
statusUrl:   Url path for statuses
adminUrl:    Url path for publishing (passworded, with leading slash)
errorLog:    Error log filename 
watchFiles:  Activates the file watcher to live-update your instance
useCaching:  Activates caching for files (will be deactivated if `watchFiles` is set to `true`)
maxExcerpts: Maximum number of posts shown on a tag/home page
pagination:  Maximum number of pagination links
languages:   List of languages - ["en", "mk"]
langinfo:    Hash of language names - {"en": "English", "de": "Deutsch"}
strings:     A hash of stranslation strings for each language

Appart from the settings.json file, you can also configure your posts individually by using headers. A post filename should look like this:

This is my first

It has to have the md extension for it to be treated like a post. The ".en" part tells This Blog the language of the post. If it's ommitted, the first language in your languages settings will be used. To have the same post on another language, just do this:

This is my first  # English Version
This is my first  # German Version

Posts are further configured by using headers. All posts must start with a set of HTTP-like headers. Headers must be the first thing in the post file and are over when the first instance of 2 consecutive newlines is found

Here's an example post file:

Language:     en                    # This is found in the filename 
Title:        My First Post         # This appears as the title (<h1>)
Date:         2011-12-19            # Must be a date in the ISO format
Description:  Nothing special       # META description
Tags:         Blog, Node.js         # Post tags
Status:       inprogress            # use inprogress, finished or approved as a valid status for your documents

Notice the 2 new lines. This is the beginning of the post. We ommit the
title because it will be automatically added for us from the headers.

This part is the post excerpt. Notice the 5 dashes in-between double 
linebreaks (\n\n-----\n\n). That's the excerpt delimiter. Everything before
those dashes will appear in the list on the homepage/tag pages. If you
ommit those dashes, the whole post will appear on the homepage along with
other posts.


This is the continuation of the post. This will be visible only on the
post page.

Supported file extensions are .md and .markdown.


ideamark is lincensed under the MIT license.

Continuous Integration status

This project is tested with Travis CI.

Build Status

Upcoming Features