This commit is contained in:
Aaron Dewes 2021-10-13 14:36:12 +01:00
parent 4a2adf2072
commit b2ea75c425
3 changed files with 127 additions and 5 deletions

View File

@ -1 +1,62 @@
[] [
{
"id": "thunderhub",
"name": "ThunderHub",
"repo": "https://github.com/apotdevin/thunderhub",
"version": "0.12.30"
},
{
"id": "squeaknode",
"name": "Squeaknode",
"repo": "https://github.com/yzernik/squeaknode",
"version": "0.1.160"
},
{
"id": "specter-desktop",
"name": "Specter Desktop",
"repo": "https://github.com/cryptoadvance/specter-desktop",
"version": "1.6.0"
},
{
"id": "krystal-bull",
"name": "Krystal Bull",
"repo": "https://github.com/bitcoin-s/krystal-bull",
"version": "1.7.0-212-d9126650"
},
{
"id": "mempool",
"name": "Mempool",
"repo": "https://github.com/mempool/mempool",
"version": "2.2.2"
},
{
"id": "sphinx-relay",
"name": "Sphinx Relay",
"repo": "https://github.com/stakwork/sphinx-relay",
"version": "2.2.1"
},
{
"id": "vaultwarden",
"name": "Vaultwarden",
"repo": "https://github.com/dani-garcia/vaultwarden",
"version": "1.22.2"
},
{
"id": "bluewallet",
"name": "BlueWallet Lightning",
"repo": "https://github.com/BlueWallet/LndHub",
"version": "1.4.1"
},
{
"id": "node-red",
"name": "Node-RED",
"repo": "https://github.com/node-red/node-red",
"version": "2.0.6"
},
{
"id": "lnmarkets",
"name": "LN Markets",
"repo": "https://github.com/lnmarkets/umbrel",
"version": "1.0.0"
}
]

View File

@ -1 +1,62 @@
[] [
{
"id": "thunderhub",
"name": "ThunderHub",
"repo": "https://github.com/apotdevin/thunderhub",
"version": "0.12.30"
},
{
"id": "squeaknode",
"name": "Squeaknode",
"repo": "https://github.com/yzernik/squeaknode",
"version": "0.1.160"
},
{
"id": "specter-desktop",
"name": "Specter Desktop",
"repo": "https://github.com/cryptoadvance/specter-desktop",
"version": "1.6.0"
},
{
"id": "krystal-bull",
"name": "Krystal Bull",
"repo": "https://github.com/bitcoin-s/krystal-bull",
"version": "1.7.0-212-d9126650"
},
{
"id": "mempool",
"name": "Mempool",
"repo": "https://github.com/mempool/mempool",
"version": "2.2.2"
},
{
"id": "sphinx-relay",
"name": "Sphinx Relay",
"repo": "https://github.com/stakwork/sphinx-relay",
"version": "2.2.1"
},
{
"id": "vaultwarden",
"name": "Vaultwarden",
"repo": "https://github.com/dani-garcia/vaultwarden",
"version": "1.22.2"
},
{
"id": "bluewallet",
"name": "BlueWallet Lightning",
"repo": "https://github.com/BlueWallet/LndHub",
"version": "1.4.1"
},
{
"id": "node-red",
"name": "Node-RED",
"repo": "https://github.com/node-red/node-red",
"version": "2.0.6"
},
{
"id": "lnmarkets",
"name": "LN Markets",
"repo": "https://github.com/lnmarkets/umbrel",
"version": "1.0.0"
}
]

View File

@ -10,13 +10,13 @@ import json
from lib.validate import findAndValidateApps from lib.validate import findAndValidateApps
from lib.metadata import getSimpleAppRegistry from lib.metadata import getSimpleAppRegistry
appsDir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..") appsDir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "apps")
def update(): def update():
apps = findAndValidateApps(appsDir) apps = findAndValidateApps(appsDir)
simpleRegistry = getSimpleAppRegistry(apps, appsDir) simpleRegistry = getSimpleAppRegistry(apps, appsDir)
with open(os.path.join(appsDir, "..", "apps.json"), "w") as f:
json.dump(simpleRegistry, f, indent=4, sort_keys=True)
with open(os.path.join(appsDir, "apps.json"), "w") as f: with open(os.path.join(appsDir, "apps.json"), "w") as f:
json.dump(simpleRegistry, f, indent=4, sort_keys=True) json.dump(simpleRegistry, f, indent=4, sort_keys=True)
with open(os.path.join(appsDir, "apps", "apps.json"), "w") as f:
json.dump(simpleRegistry, f, indent=4, sort_keys=True)
print("Wrote information to apps.json") print("Wrote information to apps.json")