Compare commits
No commits in common. "main" and "test1" have entirely different histories.
|
@ -27,11 +27,9 @@
|
|||
</div>
|
||||
<div id="appGrid" class="appGrid">
|
||||
<a class="featuredApp" src="/"><img></a>
|
||||
<div id="AppInfo" class="hidden">
|
||||
<div id="iOSAppInfo" class="hidden">
|
||||
<h3>Featured apps for your device</h3>
|
||||
<div id="iOSAppInfo" class="hidden">
|
||||
<p><a href="https://altstore.io/">AltStore</a> or <a href="https://github.com/TheResonanceTeam/TrollApps">TrollApps</a> is required in order to install apps on iOS</p>
|
||||
</div>
|
||||
<a href="https://altstore.io/">AltStore</a> is required in order to install apps on iOS</p>
|
||||
</div>
|
||||
<div id="unknownAppInfo" class="hidden">
|
||||
<h3>No apps are available for your device</h3>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "Burgerstore",
|
||||
"subtitle": "The app store for everything",
|
||||
"description": "Welcome to the Burgerstore for iOS",
|
||||
"iconURL": "https://store.hectabit.org/static/img/burgerstore.png",
|
||||
"iconURL": "https://store.hectabit.org/assets/img/burgerstore.png",
|
||||
"website": "https://store.hectabit.org",
|
||||
"tintColor": "#0096FF",
|
||||
"featuredApps": [],
|
||||
|
@ -12,10 +12,11 @@
|
|||
"bundleIdentifier": "org.hectabit.burgernotes",
|
||||
"developerName": "HectaBit",
|
||||
"subtitle": "A simple note-taking service!",
|
||||
"iconURL": "https://store.hectabit.org/static/img/org.hectabit.burgernotes.png",
|
||||
"iconURL": "https://centrifuge.hectabit.org/HectaBit/Burgernotes-iOS/raw/branch/main/Burgernotes/Assets.xcassets/org.hectabit.burgernotes.imageset/1024x.png",
|
||||
"tintColor": "#FFFFFF",
|
||||
"category": "utilities",
|
||||
"screenshots": [],
|
||||
"avaliblePlatforms": "iOS, Linux & Web",
|
||||
"versions": [
|
||||
{
|
||||
"version": "b1.0.0",
|
||||
|
@ -25,6 +26,20 @@
|
|||
"minOSVersion": "15.0"
|
||||
}
|
||||
],
|
||||
"versionstore": [
|
||||
{
|
||||
"platform": "web",
|
||||
"version": "1.0.0",
|
||||
"buildVersion": "1",
|
||||
"downloadUrl": "https://notes.hectabit.org"
|
||||
},
|
||||
{
|
||||
"platform": "linux",
|
||||
"version": "1.0.0",
|
||||
"buildVersion": "1",
|
||||
"downloadUrl": "https://dl.flathub.org/repo/appstream/org.hectabit.Burgernotes.flatpakref"
|
||||
}
|
||||
],
|
||||
"appPermissions": {},
|
||||
"patreon": {}
|
||||
},
|
||||
|
@ -33,16 +48,17 @@
|
|||
"bundleIdentifier": "lol.cta.burgertunes",
|
||||
"developerName": "cta",
|
||||
"subtitle": "Experimental music player",
|
||||
"iconURL": "https://store.hectabit.org/static/img/lol.cta.burgertunes.png",
|
||||
"iconURL": "https://files.colon3.lol/2Rsu2zfS.burgertunesicon.svg",
|
||||
"tintColor": "#f1b739",
|
||||
"category": "entertainment",
|
||||
"screenshots": [],
|
||||
"avaliblePlatforms": "iOS",
|
||||
"versions": [
|
||||
{
|
||||
"version": "b1.0.0",
|
||||
"buildVersion": "1",
|
||||
"date": "2024-03-29",
|
||||
"downloadURL": "https://store.hectabit.org/static/ipa/lol.cta.burgertunes-b1.0.0.ipa",
|
||||
"date": "2024-02-29",
|
||||
"downloadURL": "https://files.colon3.lol/Zv2L2RKc.burgertunes.ipa",
|
||||
"minOSVersion": "13.4"
|
||||
}
|
||||
],
|
||||
|
@ -50,27 +66,5 @@
|
|||
"patreon": {}
|
||||
}
|
||||
],
|
||||
"linuxapps": [
|
||||
{
|
||||
"name": "Burgernotes",
|
||||
"bundleIdentifier": "org.hectabit.burgernotes",
|
||||
"developerName": "HectaBit",
|
||||
"subtitle": "A simple note-taking service!",
|
||||
"iconURL": "https://store.hectabit.org/static/img/org.hectabit.burgernotes.png",
|
||||
"tintColor": "#FFFFFF",
|
||||
"category": "utilities",
|
||||
"screenshots": [],
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"buildVersion": "1",
|
||||
"date": "2024-03-29",
|
||||
"downloadURL": "https://dl.flathub.org/repo/appstream/org.hectabit.Burgernotes.flatpakref"
|
||||
}
|
||||
],
|
||||
"appPermissions": {},
|
||||
"patreon": {}
|
||||
}
|
||||
],
|
||||
"news": []
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ body {
|
|||
.appGrid .app p {
|
||||
display: inline;
|
||||
font-size: 18px;
|
||||
margin-right: 80px;
|
||||
margin-right: 20px;
|
||||
transform: translateY(1px);
|
||||
}
|
||||
.appGrid .app .title {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 44 KiB |
Binary file not shown.
Before Width: | Height: | Size: 42 KiB |
Binary file not shown.
Before Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
@ -1,5 +1,4 @@
|
|||
let appGrid = document.getElementById("appGrid")
|
||||
let AppInfo = document.getElementById("AppInfo")
|
||||
let iOSAppInfo = document.getElementById("iOSAppInfo")
|
||||
let unknownAppInfo = document.getElementById("unknownAppInfo")
|
||||
|
||||
|
@ -20,73 +19,34 @@ if (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPad
|
|||
}
|
||||
|
||||
// show iOS app info
|
||||
AppInfo.classList.remove("hidden")
|
||||
iOSAppInfo.classList.remove("hidden")
|
||||
|
||||
|
||||
// Load AltStore repository
|
||||
getStore("repo/store.json").then((data) => {
|
||||
console.log(data["title"])
|
||||
console.log(data["apps"])
|
||||
for (index in data["apps"]) {
|
||||
let application = data["apps"][index]
|
||||
|
||||
|
||||
// UI stuff
|
||||
let appDiv = document.createElement("div")
|
||||
appDiv.classList.add("app")
|
||||
appGrid.append(appDiv)
|
||||
|
||||
|
||||
let appImage = document.createElement("img")
|
||||
appImage.src = application["iconURL"]
|
||||
appDiv.append(appImage)
|
||||
|
||||
|
||||
let appTitle = document.createElement("p")
|
||||
appTitle.classList.add("title")
|
||||
appTitle.innerText = application["name"]
|
||||
appDiv.append(appTitle)
|
||||
|
||||
|
||||
let appInfo = document.createElement("p")
|
||||
appInfo.classList.add("w300")
|
||||
appInfo.innerText = application["developerName"] + " | " + application["subtitle"]
|
||||
appDiv.append(appInfo)
|
||||
|
||||
let appButton = document.createElement("button")
|
||||
appButton.innerText = "Get"
|
||||
appDiv.append(appButton)
|
||||
}
|
||||
});
|
||||
}
|
||||
// Check for Linux
|
||||
if (navigator.userAgent.includes("Linux")) {
|
||||
|
||||
// show app info
|
||||
AppInfo.classList.remove("hidden")
|
||||
|
||||
// Load BurgerStore repository
|
||||
getStore("repo/store.json").then((data) => {
|
||||
console.log(data["title"])
|
||||
console.log(data["apps"])
|
||||
for (index in data["linuxapps"]) {
|
||||
let application = data["linuxapps"][index]
|
||||
|
||||
// UI stuff
|
||||
let appDiv = document.createElement("div")
|
||||
appDiv.classList.add("app")
|
||||
appGrid.append(appDiv)
|
||||
|
||||
let appImage = document.createElement("img")
|
||||
appImage.src = application["iconURL"]
|
||||
appDiv.append(appImage)
|
||||
|
||||
let appTitle = document.createElement("p")
|
||||
appTitle.classList.add("title")
|
||||
appTitle.innerText = application["name"]
|
||||
appDiv.append(appTitle)
|
||||
|
||||
let appInfo = document.createElement("p")
|
||||
appInfo.classList.add("w300")
|
||||
appInfo.innerText = application["developerName"] + " | " + application["subtitle"]
|
||||
appDiv.append(appInfo)
|
||||
|
||||
|
||||
let appButton = document.createElement("button")
|
||||
appButton.innerText = "Get"
|
||||
appDiv.append(appButton)
|
||||
|
|
Reference in New Issue