Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhzs/gitlab-node-download
Download Gitlab Repository Projects using NodeJS
https://github.com/rhzs/gitlab-node-download
downloader gitlab nodejs project
Last synced: about 1 month ago
JSON representation
Download Gitlab Repository Projects using NodeJS
- Host: GitHub
- URL: https://github.com/rhzs/gitlab-node-download
- Owner: rhzs
- Created: 2017-11-18T05:11:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-18T05:18:54.000Z (about 7 years ago)
- Last Synced: 2024-11-07T04:41:08.763Z (3 months ago)
- Topics: downloader, gitlab, nodejs, project
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Gitlab Download
Download Gitlab Repository using Gitlab Private Tokens
### Requirements
1. NodeJS v8.9.1 or latest LTS
## Installation
```shell
$ npm i
```### How to use
```
$ GITLAB_PRIVATE_TOKEN=YOUR_PRIVATE_TOKEN NODE_DEBUG=request GITLAB_REPO_URL=YOUR_GITLAB_REPO_URL node index.js
```## Environments
- `GITLAB_PRIVATE_TOKEN`: Private token https://docs.gitlab.com/ce/user/profile/personal_access_tokens.html
- `NODE_DEBUG`: Set this to `request` if you want to see the request coming. See https://github.com/request/request#debugging
- `GITLAB_REPO_URL`: Your gitlab private host `https`
- `DEST_DIR`: Directory destination, default to `download` folder
- `OUT_EXTENSION`: Desired extension, supported extensions `tar`, `zip`, `.tar.bz2`
- `DOWNLOAD_CONCURRENCY`: Number of concurrent requests to download repository, default to `1`## Author
2017-2018 (c) Rheza Satria
---
Made with :love: in JKT