Based off azedo/raindrop-io-github-starred-repos
- Node 18
GH_TOKEN
= a GitHub token with theread:user
scopeRAINDROP_TOKEN
= a Raindrop.io API token- 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 newly generated app and then click in
Create test token
- Grab that token
RAINDROP_COLLECTION_ID
= the ID of the collection you want to use to store the starred repos- 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
- Copy and rename the
.env.example
to.env
- Paste in the token values you generated before
- Run
npm build
and then:npm run cron
for hourly runsnpm start
for a single run
- Copy and rename the
.env.example
to.env
- Paste in the token values you generated before
- Run
docker compose up -d
- Fork this repository
- Set up the tokens you generated above and define them as Action secrets
- That (should) be it, the workflow will run every hour