Compare commits

...

2 Commits
test2 ... main

Author SHA1 Message Date
Tracker-Friendly 5f1f51ead0 Make icon actually correct 2024-05-20 20:21:57 +01:00
Tracker-Friendly 374850ef2c Linux App Store indeed! 2024-03-09 16:17:10 +00:00
8 changed files with 78 additions and 30 deletions

View File

@ -27,9 +27,11 @@
</div>
<div id="appGrid" class="appGrid">
<a class="featuredApp" src="/"><img></a>
<div id="iOSAppInfo" class="hidden">
<div id="AppInfo" class="hidden">
<h3>Featured apps for your device</h3>
<a href="https://altstore.io/">AltStore</a> is required in order to install apps on iOS</p>
<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>
</div>
<div id="unknownAppInfo" class="hidden">
<h3>No apps are available for your device</h3>

View File

@ -2,7 +2,7 @@
"name": "Burgerstore",
"subtitle": "The app store for everything",
"description": "Welcome to the Burgerstore for iOS",
"iconURL": "https://store.hectabit.org/assets/img/burgerstore.png",
"iconURL": "https://store.hectabit.org/static/img/burgerstore.png",
"website": "https://store.hectabit.org",
"tintColor": "#0096FF",
"featuredApps": [],
@ -12,11 +12,10 @@
"bundleIdentifier": "org.hectabit.burgernotes",
"developerName": "HectaBit",
"subtitle": "A simple note-taking service!",
"iconURL": "https://centrifuge.hectabit.org/HectaBit/Burgernotes-iOS/raw/branch/main/Burgernotes/Assets.xcassets/org.hectabit.burgernotes.imageset/1024x.png",
"iconURL": "https://store.hectabit.org/static/img/org.hectabit.burgernotes.png",
"tintColor": "#FFFFFF",
"category": "utilities",
"screenshots": [],
"avaliblePlatforms": "iOS, Linux & Web",
"versions": [
{
"version": "b1.0.0",
@ -26,20 +25,6 @@
"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": {}
},
@ -48,17 +33,16 @@
"bundleIdentifier": "lol.cta.burgertunes",
"developerName": "cta",
"subtitle": "Experimental music player",
"iconURL": "https://files.colon3.lol/2Rsu2zfS.burgertunesicon.svg",
"iconURL": "https://store.hectabit.org/static/img/lol.cta.burgertunes.png",
"tintColor": "#f1b739",
"category": "entertainment",
"screenshots": [],
"avaliblePlatforms": "iOS",
"versions": [
{
"version": "b1.0.0",
"buildVersion": "1",
"date": "2024-02-29",
"downloadURL": "https://files.colon3.lol/Zv2L2RKc.burgertunes.ipa",
"date": "2024-03-29",
"downloadURL": "https://store.hectabit.org/static/ipa/lol.cta.burgertunes-b1.0.0.ipa",
"minOSVersion": "13.4"
}
],
@ -66,5 +50,27 @@
"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": []
}

View File

@ -38,7 +38,7 @@ body {
.appGrid .app p {
display: inline;
font-size: 18px;
margin-right: 20px;
margin-right: 80px;
transform: translateY(1px);
}
.appGrid .app .title {

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

View File

@ -1,4 +1,5 @@
let appGrid = document.getElementById("appGrid")
let AppInfo = document.getElementById("AppInfo")
let iOSAppInfo = document.getElementById("iOSAppInfo")
let unknownAppInfo = document.getElementById("unknownAppInfo")
@ -19,6 +20,7 @@ if (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPad
}
// show iOS app info
AppInfo.classList.remove("hidden")
iOSAppInfo.classList.remove("hidden")
// Load AltStore repository
@ -53,6 +55,44 @@ if (navigator.userAgent.includes("iPhone") || navigator.userAgent.includes("iPad
}
});
}
// 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)
}
});
}
// Unknown device
else {
unknownAppInfo.classList.remove("hidden")