Skip to content
/ motif Public
forked from imgix/motif

A simple Rails app to create responsive social images

Notifications You must be signed in to change notification settings

oaleynik/motif

 
 

Repository files navigation

Motif

Motif is a service to create and serve responsive social images, fit to drop into any og:image or twitter:image meta tag.

Motif uses imgix for the image compositing, and PhantomJS for discovering information about the URL entered.

You can see a version of Motif running at https://motif.imgix.com.

It is built with Rails 5 and vue.js.

Running Locally

You'll need:

  • Node
  • Ruby 2.3.0
    • rvm users can run rvm install 2.3.0
  • Bower
    • npm install -g bower
  • Heroku Toolbelt

Then, just run:

  • bundle install
  • bin/rails db:setup
  • bower install
  • heroku local

Deploying to Heroku

You will need to add 2 custom buildpacks if you would like to deploy to Heroku:

To do so with a new app:

From there, it's just a simple:

  • git push heroku master

About

A simple Rails app to create responsive social images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 49.2%
  • JavaScript 21.3%
  • HTML 16.0%
  • CSS 13.5%