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.json
undersrc/assets/config
with 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 thedist
directory. -
Create the directory
tumblr-reader
in the www root of your apache server and place the generated files from thedist
directory there. -
Enable
AllowOverride
in your apache configuration and place a.htaccess
file in thetumblr-reader
directory 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.