Ruby Logo

Ruby CMS and blog engine

ButterCMS is an API-based CMS and blog engine that integrates with Ruby apps in minutes. Use ButterCMS with Rails, Sinatra, and other Ruby frameworks to build CMS-powered apps quickly. ButterCMS works great for blogs, dynamic pages, and more.

Setup in minutes

Add the ButterCMS Ruby client to your code:

gem 'buttercms-ruby'

Then test out some API calls in your application code:

require 'buttercms-ruby'

ButterCMS::api_token = "api_token_b22ab734"

# Get page content
p ButterCMS::Content.fetch(["home"])

# Get posts
p ButterCMS::Post.all(page: 1, page_size: 10)

Check out our open-source code for an example blog built with Sinatra and ButterCMS.

A simple API for content

  "data": {
    "homepage_title": "Ruby",
    "homepage_headline": "API-first CMS and blog engine for Ruby"

About Ruby

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

Get started now

Sign up with Google Sign up with Github