DEV Community

Cover image for Create direct download link from Github Files
Deep Bag
Deep Bag

Posted on

Create direct download link from Github Files

You can create direct download link from github files like pdf, zip etc. You can use this link for web development.

Create Direct Download link

  1. Go to Your repository and create a new branch Alt Text
  2. Upload your file in gh-pages branch ( Deep Bag CV pdf ) Alt Text
  3. Click and and your file and copy URL Alt Text
  4. Change You URL ```

https://github.com/deepbag/git-cloud-storage/blob/gh-pages/Deep%20Bag%20CV.pdf

`TO`
Enter fullscreen mode Exit fullscreen mode

https://deepbag.github.io/git-cloud-storage/Deep%20Bag%20CV.pdf

Yehhh! You can use this link in your web development for direct download link. `<a href="downloadURL" target="_blank" />`




Enter fullscreen mode Exit fullscreen mode

Top comments (2)

Collapse
 
i_am_daim profile image
d-aim

Alternatively, you can use downgit.github.io/#/home

Collapse
 
philiphow profile image
Philip How

@i_am_daim Google Chrome has marked this as a dangerous site (incorrectly, I believe), but do you have an alternative?