~cyborg/michelangelo

A minimal Tumblr web client, only for viewing photos/videos.
add .gitignore
optimize PHP best practices
update LICENSE

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~cyborg/michelangelo
read/write
git@git.sr.ht:~cyborg/michelangelo

You can also use your local clone with git send-email.

#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.