-
Create a public or private repo to store your links.
-
Generate a repo specific token through settings > developer settings > personal access tokens > fine-grained tokens. Give it access to your repo and permissions to the scope "Issues".
- Modify the
bookmarklet.js
file with repo url.
-
Create a .env file in the root of the project and add the token as a variable like
GH_TOKEN=your_token_here
. -
Run make to create a new
tokenized_bookmarklet.js
file.
- Manually insert the token and your repo url in
bookmarklet.js
.
-
Copy the source code from the file with the token. (Either
tokenized_bookmarklet.js
orbookmarklet.js
depending on the option you chose). -
Create a new bookmark in your browser and paste the code in the URL field.
-
Click the bookmarklet when you are on a page you want to bookmark!