~cyborg/michelangelo

michelangelo/README.md -rw-r--r-- 1.1 KiB
ca785f38cyborg add .gitignore 7 months ago

#Michelangelo - A Tumblr Web Client

A quick and easy web client for Tumblr written in PHP to display pictures and videos in a pleasing gallery.

#Environment

View the website here.

#Installation

  1. To create a Tumblr application and get your consumer key/secret pair, create an app on the Tumblr site.
  2. Set your environment variables in an .htaccess file. For example,
# Environment Variables
SetEnv CONSUMER_KEY "<your-consumer-key>"
SetEnv CONSUMER_SECRET "<your-consumer-secret>"
  1. Add logic to your .htaccess file to ensure all URLs are processed by index.php.
# Handle all paths and pages
# FallbackResource /index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
  1. Git clone this repository into the web directory where you want the client to be served.
  2. Done! You (and your users) can now login. The site will automatically redirect you to the Tumblr login page if you are not already authenticated.