4 Commits

Author SHA1 Message Date
0c17c4ad9b feat: Add option to set host and port on main.py entry
All checks were successful
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 2m52s
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 2m56s
Tests and Linting / Tests-Linting (3.11) (push) Successful in 3m3s
Tests and Linting / Tests-Linting (3.10) (push) Successful in 3m5s
Tests and Linting / Tests-Linting (3.13) (push) Successful in 3m6s
2025-09-10 16:18:46 +10:00
938fff8791 fix: Update wording of xPub
All checks were successful
Tests and Linting / Tests-Linting (3.10) (push) Successful in 36s
Tests and Linting / Tests-Linting (3.13) (push) Successful in 33s
Tests and Linting / Tests-Linting (3.11) (push) Successful in 37s
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 47s
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 54s
2025-09-09 23:36:38 +10:00
155662d2b1 fix: Move Bootstrap design to lfs
All checks were successful
Tests and Linting / Tests-Linting (3.10) (push) Successful in 35s
Tests and Linting / Tests-Linting (3.13) (push) Successful in 35s
Tests and Linting / Tests-Linting (3.11) (push) Successful in 42s
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 52s
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 59s
2025-09-09 23:21:57 +10:00
97569faf0e Merge pull request 'Add alerts to dashboard' (#7) from feat/notices into main
All checks were successful
Tests and Linting / Tests-Linting (3.10) (push) Successful in 34s
Tests and Linting / Tests-Linting (3.11) (push) Successful in 36s
Tests and Linting / Tests-Linting (3.13) (push) Successful in 35s
Build Docker / Build Images (map[dockerfile:Dockerfile tag_suffix: target:default]) (push) Successful in 50s
Build Docker / Build Images (map[dockerfile:Dockerfile.hsd tag_suffix:-hsd target:hsd]) (push) Successful in 51s
Reviewed-on: #7
2025-09-09 22:51:03 +10:00
4 changed files with 20 additions and 4 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
*.bsdesign filter=lfs diff=lfs merge=lfs -text

Binary file not shown.

21
main.py
View File

@@ -2026,12 +2026,27 @@ def page_not_found(e):
#endregion
if __name__ == '__main__':
#TODO add parsing to allow for custom port and host
host = '127.0.0.1'
port = 5000
# Check if --host is in the command line arguments
if "--host" in sys.argv:
host_index = sys.argv.index("--host") + 1
if host_index < len(sys.argv):
host = sys.argv[host_index]
# Check if --port is in the command line arguments
if "--port" in sys.argv:
port_index = sys.argv.index("--port") + 1
if port_index < len(sys.argv):
try:
port = int(sys.argv[port_index])
except ValueError:
pass
# Check to see if --debug is in the command line arguments
if "--debug" in sys.argv:
app.run(debug=True)
app.run(debug=True, host=host, port=port)
else:
app.run()
app.run(host=host, port=port)
def tests():
assert blocks_to_time(6) == "1 hrs"

View File

@@ -110,7 +110,7 @@
<ul class="list-group">
<li class="list-group-item">
<div><a class="btn btn-primary stick-right" role="button" href="/settings/xpub">xPub</a>
<h3>xPub Key</h3><span>Get your xPub key</span>
<h3>xPub Key</h3><span>View your Extended Public (xPub) key</span>
</div>
</li>
<li class="list-group-item">