When you link a Github repository to a page or post and disable licensing you can use the following shortcodes to generate download buttons and download links.
Using a download button or link on the page that you’ve configured Premia
[premia_download_button]
[premia_download_link]
Using a download button or link on other pages
Both of these can also be used with a post id:
[premia_download_button id=*]
[premia_download_link id=*]
Below you’ll find a examples for the demo plugin: