Skip to main content

WordPress Killer? Welcome To Ghost (and How to Install it on a Raspberry Pi)

Keep blogging simple. Ghost is a new blogging platform built upon Node.js. Unlike WordPress, which has become a real behemoth of a CMS over the years and runs on outdated PHP/MySQL technology, Ghost promises to simplify things right back to where they began: pure, unadulterated blogging.

Main Features

Ghost began as a Kickstarter last year – “it’s just a blogging platform”, they pitched. When £200,000 ($320,000) was raised for the open source project, they knew they were onto something.
Ghost is about simplicity. It’s not a full-fledged CMS: it doesn’t even include comment functionality. It won’t transform your site into a jobs board or eCommerce shop – it’s literally just a blogging platform. It’s a beautiful blogging platform, but that’s all it is. If you want something that can be mutated into any your heart can dream of, look elsewhere.
So what makes Ghost different?
http://www.youtube.com/watch?v=4RkcPDHp6lo
  • Preview pane and markdown editor. One of the most striking features of Ghost is the simple editing screen, consisting of two panels: one to edit in markdown, and one to preview the result. It feels like WordPress’ full-screen edit mode, if you’ve ever used that. Image uploading works by drag and drop, not complex upload dialogs.
  • Responsive interface. Designed from the ground up to work responsively on tablets and mobile devices. And not just in a “we support mobile devices and touch events but doesn’t really work” kind of way, a la WordPress.
  • * Beautiful dashboard. Ghost promises a whole lot of useful stats right there when you log in. WordPress promises this too, but woefully under-delivers.
That’s it. That’s the feature list. I’ve *ed that last one, because the Dashboard doesn’t actually exist yet: it’s planned for release around Christmas. So for now, you basically just get an editor, and the actual blog. Here’s a screenshot of the promised Dashboard to tide you over.
dashboard

Hosted vs Self Hosted

Right now, Ghost is only available for testing in self hosted environments – i.e., “bring your own server”. Since it requires some complex server adjustments and root access,you can’t run this on shared hosting, either. At some point soon, they will begin to open up beta accounts for their hosted service – that is, a free blogging service much like WordPress.com. That’s not ready yet, however, meaning you’ll need a server of your own to try out Ghost.

Installing Ghost

I did initially plan to install this onto my Media Temple VPS production server, but so many things went wrong with that. This is understandable: both Node and Ghost are still in beta, after all, and my VPS runs an old version of CentOS. If you have a Raspberry Pi lying around, this is an ideal test platform to try out Ghost; alternatively, you can install Ghost on a free Amazon AWS instance, or just grab a ready-made BitNami virtual appliance.
You need to make an account at ghost.org before you can download the system. Go ahead and do so now. Once you’ve grabbed it, upload the complete ZIP file to your Pi via SFTP – I’m going to assume you know how to do that much.
Next, SSH to get started.
ssh pi@10.0.1.10 (or your RPi IP address)
sudo su
apt-get update
apt-get upgrade
At the time of writing, 0.10.20 is the latest version of Node – it may have been updated, so do check. Adjust filenames and folders as necessary.
curl -O www.nodejs.org/dist/v0.10.20/node-v0.10.20.tar.gz
tar -zxvf node-v0.10.20.tar.gz
cd node-v0.10.20
./configure 
make
make install
Beware – that first make command will take at least a few hours.
apt-get install sqlite3
git clone git://github.com/isaacs/npm.git
cd npm/scripts
chmod +x install.sh
./install.sh
At this point you have an updated system with Node.js and the Node Package Manager installed.
unzip -d ghost ghost-[press tab]
By pressing tab, you’re asking Bash to fill out the rest of the details of the file name, saving you the effort.
cd ghost
npm install
This will grab all the Node dependencies for Ghost. If you get errors about NPM not being found, try symlinking the binaries:
ln -s /usr/local/bin/npm /usr/bin/npm 
npm install
Lots of green is good. Any red, and the process has failed.
Lots of green is good. Any red, and the process has failed.
Now you’re ready to do some minor config changes.
cp config.example.js config.js
nano config.js
In this file, your want to edit all instance of host: ’127.0.0.1′ with your IP address, and port: ’2368′ with 80. Hit CTRL-X, Y to exit and save.
edit-host-port
Lastly, type:
npm start 
to run Ghost. You can now access Ghost from any local network browser with the IP of your Pi.
ghost-login
You’ll know it’s working because if you’ll see resources being served from the RPi.
rpi-debug
Though the initial user ID creation is extraordinarily slow – about a minute – the experience after that is blazingly fast. Behold the power of Node.js!

Impressions

You’re thrown straight into a content overview, with a single post example to learn the basics of markdown. I wasn’t a big fan of markdown before using Ghost – I’d rather just type in plain text, then use the WordPress visual editor to jazz things up later. Once you’ve learnt the syntax it’s fairly simple, however, and I find appealing now. I especially love the ability to add screenshots later:  just put a placeholder to remind yourself, then drag and drop into the editor at a later point. How long have we wished for drag and drop uploads in WordPress?
editor
And that’s about it. You can view your blog removing the /ghost of the URL (or click the top left icon if you set the IP as the production URL). The default theme is pretty boring, but there’s already a marketplace to buy more.
I’m clearly sensationalising by saying Ghost is a WordPress killer: Node itself is still beta, as is Ghost, and the process of getting either installed on a production server is far from easy as of now. Still, Ghost does offer a compelling alternative for anyone who doesn’t want to deal with the complexity of WordPress for simple blogging. Such is the way with any popular system: as it grows, features are added, code complexity increases, the original mission is lost, and at some point a bright new competitor arrives offering something fresh. Ghost is that start up, and you should expect big things from it. For now, though, it certainly won’t be killing any WordPress.

Popular posts from this blog

How To Hide Text In Microsoft Word 2007, Reveal It & Protect It

Sometimes what we hide is more important than what we reveal. Especially, documents with sensitive information, some things are supposed to be ‘for some eyes only’. Such scenarios are quite common, even for the more un-secretive among us. You want to show someone a letter composed in MS Word, but want to keep some of the content private; or it’s an official letter with some part of it having critical data. As important as these two are, the most common use could involve a normal printing job. Many a time we have to print different versions of a document, one copy for one set of eyes and others for other sets. Rather than creating multiple copies and therefore multiple printing jobs, what if we could just do it from the same document?  That too, without the hassle of repeated cut and paste. We can, with a simple feature in MS Word – it’s just called Hidden and let me show you how to use it to hide text in Microsoft Word 2007. It’s a simple single click process. Open the document

Clip & Convert Your Video Faster With Quicktime X & The New Handbrake 64-bit [Mac]

Recently a friend of mine asked for my help to find a video of a good presentation to be shown to one of his classes. He also requested for it to be iPod friendly as he would also distribute the video to his students. Three things came to my mind: Steve Jobs, Quicktime and Handbrake . Mr. Jobs is well known for his great presentations which are often used as references. I have several Apple Keynotes videos. For my friend, I decided to choose the one that introduced MacBook Air – the one that never fails to deliver the wow effect to the non-techie audience. It’s a part of January 2008 Macworld Keynote. First step: The Cutting To get only a specific part of the Keynote, I clipped the 1+ hour video into about 20 minutes using Quicktime X (which comes with Snow Leopard). I opened the movie using Quicktime X and chose Trim from the Edit menu ( Command + T ). Then I chose the start and end of my clip by moving both edges of the trimming bar to the desired position. To increase th

Ex-Skypers Launch Virtual Whiteboard Deekit

Although seriously long in the tooth and being disrupted by a plethora of startups, for many years Skype has existed as an almost ubiquitous app in any remote team’s toolkit. So it seems apt that a new startup founded by a team of ex-Skype employees is set to tackle another aspect of online collaboration. Deekit, which exits private beta today, is a virtual and collaborative whiteboard to help remote teams work smarter. The Tallinn, Estonia-based startup is headed up by founder and CEO, Kaili Kleemeier, who was previously a Head of Operations at Skype. She and three colleagues quit the Internet calling giant in 2012 and spent a year researching ideas in the remote team space. They ended up focusing on creating a new virtual whiteboard, born out of Kleemeier’s experience collaborating with technical teams remotely, specifically helping Skype deal with incident management. “Working with remote teams has been a challenge in many ways – cultural differences, language differences, a