GitHub direct download links

As a maintainer at SlackBuilds.org, I would like to have a handy place to store some “problematic” sources and some other files. Once upon a time, I used SourceForge, but I wanted to have it at Slackalaxy’s GitHub repo. Uploading tarballs is fine, however what should be the download link to put in, for example, a *.info file?

My sources repo:

https://github.com/slackalaxy/sources

The direct download address for the files there is like this:

https://raw.githubusercontent.com/slackalaxy/sources/main/

For example, I host the sources of bpp1.9-utils, available at SBo. Let’s say I want to download bpp-utils-1.5.0.tar.gz. The link in has this address in bpp1.9-utils.info:

https://raw.githubusercontent.com/slackalaxy/sources/main/bpp-utils-1.5.0.tar.gz

That’s it! Now I need to figure it out for GitLab!



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s