starry-raindrop
starry-raindrop copied to clipboard
Sync GitHub starred repos to a Raindrop.io collection
Sync GitHub starred repos to a Raindrop.io collection
Based off azedo/raindrop-io-github-starred-repos
Requirements
- Node 18
Instructions
- Copy and rename the
.env.example
to.env
; - Generate a personal token for github and add it to the
.env
file https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token; - Generate an authentication token in the raindrop.io app:
- Go to -> https://app.raindrop.io/settings/integrations;
- Then click
+ Create a new app
under theFor Developers
section; - Now, click on the name of your fresh generated app and then click in
Create test token
; - Finally copy this
test token
in the.env
file;
- Open the Raindrop.io app in a browser, browse to the collection you want to use and grab its id from the URL
-
https://app.raindrop.io/my/26677018
->26677018
is the collection ID - Add it to the
.env
file
-
-
npm install
-
npm start
- Tada! The script will
- Fetch your starred repos
- Look if for already existing bookmarks in Raindrop
- Add the missing bookmarks