This is a cron job that moves your favourited tweets to your pinboard account
Nodejs v16.13.1
-
Generate your Twitter API and Pinboard API credentials.
-
Create a
.env
file by referencing.env.sample
file and paste in your keys. -
Install all the dependencies
npm i
Create a new rules.json
based on rules.sample.json
.
cp rules.sample.json rules.json
Add rules based on your needs. Once that is done, you can start the app.
To develop the app locally,
npm run dev
To run the app as application without wanting to reload any dev changes,
npm run start
If you want to deploy using pm2
,
npm run deploy
If you want to deploy using any other node process managers, please modify the deploy
script.
You can check docs/
for the exploring the pinboard API (for bookmarking + unbookmarking) and sample json response from services that this app uses.
MIT