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
Using a download button or link on other pages
Both of these can also be used with a post id:
Below you’ll find a examples for the demo plugin: