gittar icon indicating copy to clipboard operation
gittar copied to clipboard

:guitar: Download and/or Extract git repositories (GitHub, GitLab, BitBucket). Cross-platform and Offline-first!

Results 7 gittar issues
Sort by recently updated
recently updated
newest added

Use proxy to download repo archives, when ENV `https_proxy` `HTTPS_PROXY` or `http_proxy` `HTTP_PROXY` is set.

Should add a new `target` option for the `gittar.fetch` method. It should be a function that receives all the components from the [`parser`](https://github.com/lukeed/gittar/blob/master/lib/index.js#L53) (`{ site, repo, type }`) so that...

enhancement

Fix a 404 when calling `gittar.fetch('https://github.com/lukeed/mri').then(console.log);` where the URL would be constructed incorrectly (`https://github.com///github.com/lukeed/mri/archive/master.tar.gz`) due to the hostname already existing

Users should be able to choose the name of gittar's directory in `~/`. Instead of `.gittar` users can choose any name. ### Example #### gittar.fetch ```js gittar.fetch('lukeed/polka', { name: 'custom'...

Run a quick check to see if the latest remote ref on `` is newer than what we have locally. Only if it's more recent, begin downloading the archive. Requires...

enhancement
maybe

Might be its own module // decorator 🤔 - [ ] Use `private:` prefix or `private:true` - [ ] Spawn a `git clone` process - [ ] Sidestep `.git` dir...

enhancement
maybe

Specifically for local/file-based errors. Right now: - `fetch` (local) Not-Found rejects with `undefined` - `extract` Not-Found rejects with `undefined` Not good -- but at least it triggers `catch` 😅 Would...

enhancement