img-url-2-gyazo-url converts image urls to gyazo urls in any type of file. This is very useful for situations like moving blogs. About Gyazo, please see https://gyazo.com.
git clone [email protected]:mountainboooy/img-url-2-gyazo-url.git
cd img-url-2-gyazo-url
npm install
- Add your Gyazo Access token to
config.js
. To create your access token, please check here - Add your original file path to
config.js
.
module.exports = {
filePath: 'ORIGINAL_FILE_PATH',
gyazoAccessToken: 'YOUR_GYAZO_ACCESS_TOKEN',
}
- Simply type
node src/index.js
- Then, converted file will appear in same directory where the original file is located.