https://github.com/pierredemailly/gitlab-bookmarks
Generate bookmarks for all projects in your GitLab groups
https://github.com/pierredemailly/gitlab-bookmarks
Last synced: 2 months ago
JSON representation
Generate bookmarks for all projects in your GitLab groups
- Host: GitHub
- URL: https://github.com/pierredemailly/gitlab-bookmarks
- Owner: PierreDemailly
- License: mit
- Created: 2023-07-02T10:06:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-06T15:26:53.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T09:44:21.452Z (4 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# gitlab-bookmarks

[](https://github.com/PierreDemailly/gitlab-bookmarks/graphs/commit-activity)
[](https://github.com/PierreDemailly/gitlab-bookmarks/blob/main/LICENSE)Generate bookmarks including all projects in your GitLab groups.
## 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 tool
```bash
npx gitlab-bookmarks
```It will generate a `.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 20 projects
## Authentication
If may wanna authenticate to the API to have access to private groups/projects and don't be annoyed by **rate limits**
Create a `.env`
```bash
touch .env
```Add this following ENV variable
```bash
# GitHub access token
GITLAB_TOKEN=your_token
```
You can create a GitLab token [here](https://gitlab.com/-/profile/personal_access_tokens)