In-line Comments

Looking to add in-line, Medium style, comments to your blog? Ouija is the solution for you.

It's created and powered by GoInstant and fairly simple to setup. At this time, it's still not officially ready for production (but I'm using it already and quite happy with it).

Here's how to get it working:

  • Create a free account on GoInstant here. You'll then be taken to this dashboard:

  • Create a new app by clicking on the "Create App" button in the middle right section of the screen. You can name it anything you'd like:

You'll need this new App's unique "connect url" that displayed right below it's title when create.

  • Then select the gear icon next to your app name and click on "Authentication":

  • Turn on Twitter authentication:

Now you're ready to actually setup Ouija!

  • Paste the Ouija CSS into the <head>section of your theme's default.hb

That's this line here:

<link rel="stylesheet" href="http://cdn.goinstant.net/external/ouija/latest/ouija.min.css"/>
  • Now, before you copy and paste the code below, replace YOURACCOUNT/YOURAPP with your GoInstant account number that we found earlier. Add the Ouija snippet before your closing </body> tag.
{{#with post}}
<script>
  window.ouija_connect_url = 'https://goinstant.net/YOURACCOUNT/YOURAPP';
  window.ouija_identifier = {{id}};
</script>
<script src="https://cdn.goinstant.net/v1/platform.min.js"></script>
<script src="http://cdn.goinstant.net/external/ouija/latest/ouija.min.js"></script>
{{/with}}

Restart Ghost and you're up and running!