This app is a simple browser based feed reader for tumblr blogs, built on the tumblr api and using angular.
-
Play / pause current video, audio; load gif:
p -
Next part of post / next post:
n -
Previous part of post / previous post:
m -
Next post:
j -
Previous post:
k -
Next blog:
shift + j -
Previous blog:
shift + k
-
Generate a tumblr api key as described here.
-
Create a file named
config.jsonundersrc/assets/configwith the following content (replace placeholders with the key you just generated):
{
"consumerKey": "Your consumer key here",
"secretKey": "Your secret key here"
}
This project uses the angular-cli so you have to install that before continuing.
To run the app locally for development, clone the repository, install the dependencies with npm install and
start the development server with ng serve. The app is then available in the browser under localhost:4200.
-
Build the app using
ng build --prod- the generated files will appear in thedistdirectory. -
Create the directory
tumblr-readerin the www root of your apache server and place the generated files from thedistdirectory there. -
Enable
AllowOverridein your apache configuration and place a.htaccessfile in thetumblr-readerdirectory with the following content:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.html [QA,L]
</IfModule>
This project is licensed under the MIT license. See the LICENSE file for details.