diff --git a/apps.json b/apps.json index 0637a08..40e2557 100644 --- a/apps.json +++ b/apps.json @@ -1 +1,62 @@ -[] \ No newline at end of file +[ + { + "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" + } +] \ No newline at end of file diff --git a/apps/apps.json b/apps/apps.json index 0637a08..40e2557 100644 --- a/apps/apps.json +++ b/apps/apps.json @@ -1 +1,62 @@ -[] \ No newline at end of file +[ + { + "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" + } +] \ No newline at end of file diff --git a/lib/manage.py b/lib/manage.py index 885c89e..d91454d 100644 --- a/lib/manage.py +++ b/lib/manage.py @@ -10,13 +10,13 @@ import json from lib.validate import findAndValidateApps 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(): apps = findAndValidateApps(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: 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")