A chrome extension, made to complement tumblr posts, that finds and displays reblogs with comments and replies.
Denote does rely on node.js and npm to build, so this section assumes you have both already installed on your system.
git clone https://github.com/sourrust/denote.git
cd denote
npm install
Depending on what you want to work on, the watch
tasks will come in
handy to lint JavaScript or transpile less files. The safest choice is
to use gulp watch
to watch for both.
To see how to contribute, see the CONTRIBUTING.md file.
One part of this extension uses the Tumblr API to pull in the full
contents of a post that was clicked. With the reliance on the API calls,
you will need to add in your own api key to actually get this feature
working locally without it 401-ing on you. Where you put the api key is
in the file js/.secret-api.js
. This file will act as a normal commonjs
module and be used during API calls.
The module for this is pretty simple, it only have one key entry:
module.exports = {
key: "Enter api key here..."
};
API keys are not to be put into the repository, which is why the file is
ignored in .gitignore. However, just a small side note, when I
release the extension to the chrome web store, my api key will be
package in there; If you wish to go though the steps to get it, I don't
compress the code in the packaged extension, so it will be some where in
the generated popup.js
file.