Sign inSign up

jasonlang0338/fetch-github-folder

By jasonlang0338

•Updated over 1 year ago

Image
0

338

jasonlang0338/fetch-github-folder repository overview

⁠What is this for?

This script lets you fetch just a single example folder or any folder you want to test from a GitHub repository.
Previously, you had to clone or download the whole repo, open the entire project, switch to the desired folder, and then delete all the files you didn’t need.
With this script, that entire process is automated.

⁠How to use

⁠1. Image pull
docker pull <your-dockerhub-username>/fetch-github-folder:latest
⁠2. RUN docker image
docker run --rm -it \
  -v "$PWD":/usr/src/app \
  -w /usr/src/app \
  <your-dockerhub-username>/fetch-github-folder:latest
⁠3. Text github page url

e.g.

https://github.com/vercel/next.js/tree/canary/examples/with-facebook-pixel

Tag summary

Content type

Image

Digest

sha256:a485b8154…

Size

6.9 MB

Last updated

over 1 year ago

docker pull jasonlang0338/fetch-github-folder