Merge branch 'main' of hectabit.org:HectaBit/burgerstore
This commit is contained in:
commit
344ba0efd0
14
index.html
14
index.html
|
@ -10,22 +10,20 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<!--
|
||||
<div class="menuBar">
|
||||
<p class="w900">burgerstore</p>
|
||||
<div class="linkCon">
|
||||
<a href="publish.html">Publish</a>
|
||||
<a href="about.html">About</a>
|
||||
<a href="/" class="w900">burgerstore</a>
|
||||
<div class="textcenter">
|
||||
<a href="/publish">Publish</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
<noscript>
|
||||
<p style="width: 100%; background-color: #fffaa0; margin: 0; height: 30px;">This page might require JavaScript
|
||||
to work properly</h1>
|
||||
</noscript>
|
||||
<br>
|
||||
<div class="introductionDiv">
|
||||
<h1 class="w700">burgerstore</h1>
|
||||
<p>The everything App Store: download your favourite apps for Linux and iOS.</p>
|
||||
<h1 class="w700">Burgerstore</h1>
|
||||
<p>The everything App Store</p>
|
||||
</div>
|
||||
<div id="appGrid" class="appGrid">
|
||||
<a class="featuredApp" src="/"><img></a>
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Burgerstore</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="static/css/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="menuBar">
|
||||
<a href="/" class="w900">burgerstore</a>
|
||||
<div class="textcenter">
|
||||
<a href="/publish">Publish</a>
|
||||
</div>
|
||||
<div class="textcenter">
|
||||
<a href="/about">About</a>
|
||||
</div>
|
||||
</div>
|
||||
<noscript><p style="width: 100%; background-color: #fffaa0; margin: 0; height: 30px;">This page might require JavaScript to work properly</h1></noscript>
|
||||
<br>
|
||||
<div class="introductionDiv">
|
||||
<h1 class="w700">Burgerstore</h1>
|
||||
<p>The everything App Store</p>
|
||||
</div>
|
||||
<div id="appGrid" class="appGrid">
|
||||
<a class="featuredApp" src="/"><img></a>
|
||||
</div>
|
||||
<script src="static/js/main.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,73 @@
|
|||
import json
|
||||
from datetime import datetime
|
||||
|
||||
def add_new_app(json_file):
|
||||
with open(json_file, 'r') as file:
|
||||
data = json.load(file)
|
||||
|
||||
new_app_data = {}
|
||||
|
||||
new_app_data['name'] = input("Enter the name of the app: ")
|
||||
new_app_data['bundleIdentifier'] = input("Enter the bundle identifier of the app: ")
|
||||
new_app_data['developerName'] = input("Enter the developer name: ")
|
||||
new_app_data['subtitle'] = input("Enter the subtitle: ")
|
||||
new_app_data['iconURL'] = input("Enter the icon URL: ")
|
||||
new_app_data['tintColor'] = input("Enter the tint color (in hex format): ")
|
||||
new_app_data['category'] = input("Enter the category: ")
|
||||
|
||||
new_app_data['versions'] = []
|
||||
new_app_data['versionstore'] = []
|
||||
|
||||
is_ios = input("Are you making this app for iOS? (yes/no): ").lower()
|
||||
if is_ios == "yes":
|
||||
version_data = {}
|
||||
version_data['version'] = input("Enter the version number: ")
|
||||
version_data['buildVersion'] = input("Enter the build version: ")
|
||||
version_data['date'] = datetime.now().strftime("%Y-%m-%d")
|
||||
version_data['downloadURL'] = input("Enter the download URL for iOS version: ")
|
||||
version_data['minOSVersion'] = input("Enter the minimum iOS version required: ")
|
||||
new_app_data['versions'].append(version_data)
|
||||
|
||||
is_linux = input("Are you making this app for Linux? (yes/no): ").lower()
|
||||
if is_linux == "yes":
|
||||
if 'versionstore' not in new_app_data:
|
||||
new_app_data['versionstore'] = []
|
||||
versionstore_data = {}
|
||||
versionstore_data['platform'] = 'linux'
|
||||
versionstore_data['version'] = input("Enter the version number for Linux: ")
|
||||
versionstore_data['buildVersion'] = input("Enter the build version for Linux: ")
|
||||
versionstore_data['downloadUrl'] = input("Enter the download URL for Linux version: ")
|
||||
new_app_data['versionstore'].append(versionstore_data)
|
||||
|
||||
is_web = input("Are you making this app for Web? (yes/no): ").lower()
|
||||
if is_web == "yes":
|
||||
if 'versionstore' not in new_app_data:
|
||||
new_app_data['versionstore'] = []
|
||||
versionstore_data = {}
|
||||
versionstore_data['platform'] = 'web'
|
||||
versionstore_data['version'] = input("Enter the version number for Web: ")
|
||||
versionstore_data['buildVersion'] = input("Enter the build version for Web: ")
|
||||
versionstore_data['downloadUrl'] = input("Enter the download URL for Web version: ")
|
||||
new_app_data['versionstore'].append(versionstore_data)
|
||||
|
||||
is_android = input("Are you making this app for Android? (yes/no): ").lower()
|
||||
if is_android == "yes":
|
||||
if 'versionstore' not in new_app_data:
|
||||
new_app_data['versionstore'] = []
|
||||
versionstore_data = {}
|
||||
versionstore_data['platform'] = 'android'
|
||||
versionstore_data['version'] = input("Enter the version number for Android: ")
|
||||
versionstore_data['buildVersion'] = input("Enter the build version for Android: ")
|
||||
versionstore_data['downloadUrl'] = input("Enter the download URL for Android version: ")
|
||||
new_app_data['versionstore'].append(versionstore_data)
|
||||
|
||||
data['apps'].append(new_app_data)
|
||||
|
||||
with open(json_file, 'w') as file:
|
||||
json.dump(data, file, indent=2)
|
||||
|
||||
print("New app added successfully!")
|
||||
|
||||
# Example usage:
|
||||
json_file_path = "./store.json"
|
||||
add_new_app(json_file_path)
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"name": "Burgerstore",
|
||||
"subtitle": "The app store for everything",
|
||||
"description": "Welcome to the Burgerstore for iOS",
|
||||
"iconURL": "https://store.hectabit.org/assets/img/burgerstore.png",
|
||||
"website": "https://store.hectabit.org",
|
||||
"tintColor": "#0096FF",
|
||||
"featuredApps": [
|
||||
"org.hectabit.burgernotes"
|
||||
],
|
||||
"apps": [
|
||||
{
|
||||
"name": "Burgernotes",
|
||||
"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",
|
||||
"tintColor": "#FFFFFF",
|
||||
"category": "utilities",
|
||||
"screenshots": [],
|
||||
"versions": [
|
||||
{
|
||||
"version": "b1.0.0",
|
||||
"buildVersion": "1",
|
||||
"date": "2024-02-29",
|
||||
"downloadURL": "https://centrifuge.hectabit.org/HectaBit/Burgernotes-iOS/releases/download/b1.0.0/Burgernotes.ipa",
|
||||
"minOSVersion": "15.0"
|
||||
}
|
||||
],
|
||||
"appPermissions": {},
|
||||
"patreon": {}
|
||||
},
|
||||
{
|
||||
"name": "Burgertunes",
|
||||
"bundleIdentifier": "lol.cta.burgertunes",
|
||||
"developerName": "cta",
|
||||
"subtitle": "Experimental music player",
|
||||
"iconURL": "https://files.colon3.lol/2Rsu2zfS.burgertunesicon.svg",
|
||||
"tintColor": "#f1b739",
|
||||
"category": "entertainment",
|
||||
"screenshots": [],
|
||||
"versions": [
|
||||
{
|
||||
"version": "b1.0.0",
|
||||
"buildVersion": "1",
|
||||
"date": "2024-02-29",
|
||||
"downloadURL": "https://files.colon3.lol/Zv2L2RKc.burgertunes.ipa",
|
||||
"minOSVersion": "13.4"
|
||||
}
|
||||
],
|
||||
"appPermissions": {},
|
||||
"patreon": {}
|
||||
}
|
||||
],
|
||||
"news": []
|
||||
}
|
|
@ -5,9 +5,7 @@
|
|||
"iconURL": "https://store.hectabit.org/assets/img/burgerstore.png",
|
||||
"website": "https://store.hectabit.org",
|
||||
"tintColor": "#0096FF",
|
||||
"featuredApps": [
|
||||
"org.hectabit.burgernotes"
|
||||
],
|
||||
"featuredApps": [],
|
||||
"apps": [
|
||||
{
|
||||
"name": "Burgernotes",
|
||||
|
@ -18,6 +16,7 @@
|
|||
"tintColor": "#FFFFFF",
|
||||
"category": "utilities",
|
||||
"screenshots": [],
|
||||
"avaliblePlatforms": "iOS, Linux & Web",
|
||||
"versions": [
|
||||
{
|
||||
"version": "b1.0.0",
|
||||
|
@ -27,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": {}
|
||||
},
|
||||
|
@ -39,6 +52,7 @@
|
|||
"tintColor": "#f1b739",
|
||||
"category": "entertainment",
|
||||
"screenshots": [],
|
||||
"avaliblePlatforms": "iOS",
|
||||
"versions": [
|
||||
{
|
||||
"version": "b1.0.0",
|
||||
|
|
|
@ -10,6 +10,7 @@ body {
|
|||
margin-left: 45px;
|
||||
margin-right: 45px;
|
||||
font-size: 18px;
|
||||
margin-top: 70px;
|
||||
}
|
||||
|
||||
.appGrid {
|
||||
|
@ -23,6 +24,8 @@ body {
|
|||
border-radius: 12px;
|
||||
background-color: rgb(244, 244, 244);
|
||||
margin-bottom: 7.5px;
|
||||
display: flex;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
.appGrid .app img {
|
||||
display: inline;
|
||||
|
@ -33,33 +36,59 @@ body {
|
|||
background-color: #fff;
|
||||
}
|
||||
.appGrid .app p {
|
||||
position: absolute;
|
||||
display: inline;
|
||||
font-size: 18px;
|
||||
transform: translate(7.5px, 13.5px);
|
||||
margin-right: 20px;
|
||||
transform: translateY(1px);
|
||||
}
|
||||
.appGrid .app .title {
|
||||
position: absolute;
|
||||
transform: translate(7.5px, -12.5px);
|
||||
transform: translateY(-2px);
|
||||
font-size: 20px;
|
||||
margin-left: 20px;
|
||||
margin-right: 10px;
|
||||
display: inline;
|
||||
}
|
||||
.appGrid .app button {
|
||||
position: absolute;
|
||||
color: white;
|
||||
padding: 12px;
|
||||
padding-left: 22.5px;
|
||||
padding-right: 22.5px;
|
||||
background-color: #157efb;
|
||||
border: none;
|
||||
background-color: rgb(21, 126, 251);
|
||||
border-radius: 12px;
|
||||
right: 52.5px;
|
||||
transform: translate(0px, 10px);
|
||||
border: medium;
|
||||
position: absolute;
|
||||
right: 45px;
|
||||
color: white;
|
||||
padding: 21px;
|
||||
}
|
||||
|
||||
.menuBar {
|
||||
display: flex;
|
||||
background-color :rgb(244, 244, 244);
|
||||
position: fixed;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
border-radius: 20px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.menuBar a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
padding: 15px;
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.menuBar a:hover {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
/* useful stuff */
|
||||
|
||||
.textcenter {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
Reference in New Issue