2023-09-20 20:10:38 +02:00
<!DOCTYPE html>
< html >
< head >
< link rel = "stylesheet" href = "css/water.css" >
< link rel = "shortcut icon" type = "image/x-icon" href = "gfx/icon.png" >
< meta charset = "utf-8" / >
2024-09-16 16:41:37 +02:00
< title > openCom Companion Repository< / title >
2023-09-20 20:10:38 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< / head >
< body >
< span class = "logo" > Software< / span >
2024-12-10 21:18:52 +01:00
< p > < center > < span class = "menu" > < a href = "index.html" > Start< / a > | < a href = "pkgs.html" > Software< / a > | < a href = "flasher.html" > RNode Flasher< / a > | < a href = "guides.html" > Guides< / a > < / span > < / center > < / p > < hr > < br / >
2023-09-20 20:10:38 +02:00
Welcome to the < b > Software Library< / b > !< br / > < br / > From here, you can download installable Python Wheel packages of Reticulum and various other auxillary programs and utilities.
< ul id = "filelist" >
2024-12-10 20:24:09 +01:00
< / ul > < br / >
2023-09-20 20:10:38 +02:00
< hr >
< p > < center > < / p >
< / body > < / html >
< script type = "text/javascript" >
var getJSON = function(url, callback) {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.responseType = 'json';
xhr.onload = function() {
var status = xhr.status;
if (status === 200) {
callback(null, xhr.response);
} else {
callback(status, xhr.response);
}
};
xhr.send();
};
var got_data = function(err, data) {
if (err !== null) {
alert('Could not load filelist: ' + err);
} else {
console.log(data);
for (e in data) {
url = "/pkg/"+data[e];
name = data[e];
// create a new div element
const listitem = document.createElement("li");
const anc = document.createElement("a")
const content = document.createTextNode(name);
listitem.appendChild(anc)
anc.href = url;
anc.appendChild(content)
const flist = document.getElementById("filelist");
flist.appendChild(listitem);
}
}
}
getJSON("/pkglist", got_data);
//got_data(null, test_json);
< / script >