DEV Community

loading...
Cover image for Create direct download link from Github Files

Create direct download link from Github Files

Deep Bag
Here are some ideas to get you started: 🔭 I’m currently doing Engineering. ⚡ Fun fact: The usual programmers drink coffee while coding but I coding while listening to the song.
・1 min read

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
Enter fullscreen mode Exit fullscreen mode

TO

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

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

Discussion (0)