Skip to content

recloudstream/recloudstream.github.io

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 15, 2022

Information for users List of repositories Information for extension developers

<script> async function fetchDl() { const r = await fetch("https://api.github.com/repos/recloudstream/cloudstream/releases"); const data = await r.json(); for (const entry of data) { if (entry.prerelease) continue; var apk = null; for (const asset of entry.assets) { if (asset.content_type != "application/vnd.android.package-archive") continue; apk = asset; } if (!apk) continue; const btn = document.createElement("a"); btn.classList.add("btn"); btn.classList.add("btn-green"); btn.href = apk.browser_download_url; btn.appendChild( document.createTextNode(`Download ${entry.tag_name}`) ); const mainDl = document.getElementById("main-dl"); mainDl.innerHTML = ''; mainDl.appendChild(btn); return; } } fetchDl(); </script>