Your CLI Node.js app for generating bookmarks from GitHub and Bitbucket repositories.
- Fetch GitHub and Bitbucket repositories using their CLI tools.
- Generate an
index.html
bookmark file. - Customizable with JSON metadata and custom templates.
- Standalone executable for Windows 10+ and Linux.
- Node.js
- GitHub CLI (gh)
- Bitbucket CLI
Clone the repository and install dependencies:
git clone https://github.com/LarryBattle/bookmark_builder.git
cd bookmark_builder
npm install
Run the script with:
node create_bookmarks.js --project_id PROJECT_ID --templates=github,bitbucket
For a standalone executable:
./create_bookmarks --project_id PROJECT_ID --templates=github,bitbucket
First, install pkg
globally:
npm install -g pkg
Then run the following command in your project directory:
pkg create_bookmarks.js --targets node18-win-x64,node18-linux-x64
This will generate executable files for Windows 10+ and Linux.
To use a custom template, pass the path to the custom template JavaScript file using the --custom_template
option.
./create_bookmarks --project_id PROJECT_ID --custom_template=path/to/your/file.js
Please read CONTRIBUTING.md (TODO) for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details