https://github.com/pierredemailly/github-organization-bookmarks
Generate bookmarks including all repositories in a GitHub organization
https://github.com/pierredemailly/github-organization-bookmarks
Last synced: 2 months ago
JSON representation
Generate bookmarks including all repositories in a GitHub organization
- Host: GitHub
- URL: https://github.com/pierredemailly/github-organization-bookmarks
- Owner: PierreDemailly
- License: mit
- Created: 2023-06-24T22:59:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-19T15:31:43.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T09:44:19.818Z (4 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# github-organization-bookmarks

[](https://github.com/PierreDemailly/github-organization-bookmarks/graphs/commit-activity)
[](https://github.com/PierreDemailly/github-organization-bookmarks/blob/main/LICENSE)Generate bookmarks including all repositories in a GitHub organization.
## Requirements
- [Node.js](https://nodejs.org/en/) v16 or higher## Getting Started
Go anywhere you want the bookmarks to be generated:
```bash
cd
mkdir myAwesomeBookmarks
cd myAwesomeBookmarks
```Run the script, it will generate a `html` file.
For instance, if you want to generate bookmarks for all repositories within **NodeSecure** organization:```bash
npx github-organization-bookmarks NodeSecure
```It will generate a `NodeSecure.html` file at `~/myAwesomeBookmarks` (or in the directory you ran the tool).
Go to [Chrome bookmarks](chrome://bookmarks/) and import the generated html file.
> **Note** Generated bookmarks should be compatible with most browsers.
> **Note** The tool fetch maximum 100 repositories
## Authentication
If you have access to private repositories in the GitHub organization (i.e, you are owner), you'll need to use a GitHub token to authenticate yourself.
Create a `.env`
```bash
touch .env
```Add this following ENV variable
```bash
# GitHub access token
GITHUB_TOKEN=your_token
```You can create a GitHub token [here](https://github.com/settings/tokens)
## Bookmark icons
Bookmarks are generated without icon for technical reason, your browser will automatically add it if you already visited the repositories.
Else, you can `Open all` your bookmark folder to open each repository, it will then add icons automatically.