From 329f2bfea60e1106ec19c4080c2d1cd4ea5925ff Mon Sep 17 00:00:00 2001 From: Eduardo_Figueroa Date: Tue, 9 Sep 2025 09:36:58 -0700 Subject: [PATCH] Renaming everything to RosterHash. --- README.md | 10 +++++----- app.py | 10 +++++----- compose.yaml | 4 ++-- gametime_logo.png => rosterhash_logo.png | Bin static/manifest.json | 6 +++--- static/sw.js | 16 ++++++++-------- templates/base.html | 12 ++++++------ templates/dashboard.html | 2 +- templates/index.html | 6 +++--- 9 files changed, 33 insertions(+), 33 deletions(-) rename gametime_logo.png => rosterhash_logo.png (100%) diff --git a/README.md b/README.md index 067c6b7..15ef90f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -#
GameTime Logo
+#
RosterHash Logo
-# 🏈 GameTime +# 🏈 RosterHash **Your Fantasy Football Command Center** @@ -14,11 +14,11 @@
-## What is GameTime? +## What is RosterHash? -GameTime is your all-in-one fantasy football dashboard that connects to your Sleeper account to give you an overview of every league, every player, over a calendar view. +RosterHash is your all-in-one fantasy football dashboard that connects to your Sleeper account to give you an overview of every league, every player, over a calendar view. -You can check it out here: [gametime.edfig.dev](https://gametime.edfig.dev) +You can check it out here: [rosterhash.edfig.dev](https://rosterhash.edfig.dev) ### Features diff --git a/app.py b/app.py index 4e6ffac..8f24678 100644 --- a/app.py +++ b/app.py @@ -10,7 +10,7 @@ from config import Config # Force unbuffered output for Docker logs os.environ['PYTHONUNBUFFERED'] = '1' -print("=== GameTime Starting ===", flush=True) +print("=== RosterHash Starting ===", flush=True) print(f"=== Version: {Config.VERSION} ===", flush=True) app = Flask(__name__) @@ -367,17 +367,17 @@ def refresh_data(username, week): return jsonify({'error': str(e)}), 500 # Static file routes -@app.route('/gametime_logo.png') +@app.route('/rosterhash_logo.png') def logo(): """Serve the logo file""" - return send_file('gametime_logo.png', mimetype='image/png') + return send_file('rosterhash_logo.png', mimetype='image/png') @app.route('/favicon.ico') def favicon(): """Serve the favicon""" - return send_file('gametime_logo.png', mimetype='image/png') + return send_file('rosterhash_logo.png', mimetype='image/png') if __name__ == '__main__': print("DEBUG: Starting Flask app on 0.0.0.0:5000", flush=True) - print(f"DEBUG: GameTime {app.config['VERSION']} ready!", flush=True) + print(f"DEBUG: RosterHash {app.config['VERSION']} ready!", flush=True) app.run(host='0.0.0.0', port=5000, debug=True) diff --git a/compose.yaml b/compose.yaml index 7203c7b..458f05a 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,6 +1,6 @@ services: - gametime: - image: gametime:latest + rosterhash: + image: rosterhash:latest ports: - "5000:5000" restart: unless-stopped diff --git a/gametime_logo.png b/rosterhash_logo.png similarity index 100% rename from gametime_logo.png rename to rosterhash_logo.png diff --git a/static/manifest.json b/static/manifest.json index 470e50d..9a5dcc5 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -1,6 +1,6 @@ { - "name": "GameTime - Fantasy Football Dashboard", - "short_name": "GameTime", + "name": "RosterHash - Fantasy Football Dashboard", + "short_name": "RosterHash", "description": "View your Sleeper fantasy football leagues and player schedules", "start_url": "/", "display": "standalone", @@ -9,7 +9,7 @@ "orientation": "portrait-primary", "icons": [ { - "src": "/gametime_logo.png", + "src": "/rosterhash_logo.png", "sizes": "any", "type": "image/png", "purpose": "any maskable" diff --git a/static/sw.js b/static/sw.js index d481f6d..25547fd 100644 --- a/static/sw.js +++ b/static/sw.js @@ -1,20 +1,20 @@ -// GameTime Service Worker -const CACHE_NAME = 'gametime-v1.0.0'; +// RosterHash Service Worker +const CACHE_NAME = 'rosterhash-v1.0.0'; const STATIC_CACHE = [ '/', '/static/style.css', '/static/manifest.json', - '/gametime_logo.png', + '/rosterhash_logo.png', '/favicon.ico' ]; // Install event - cache static resources self.addEventListener('install', event => { - console.log('GameTime SW: Installing...'); + console.log('RosterHash SW: Installing...'); event.waitUntil( caches.open(CACHE_NAME) .then(cache => { - console.log('GameTime SW: Caching static resources'); + console.log('RosterHash SW: Caching static resources'); return cache.addAll(STATIC_CACHE); }) .then(() => self.skipWaiting()) @@ -23,13 +23,13 @@ self.addEventListener('install', event => { // Activate event - clean up old caches self.addEventListener('activate', event => { - console.log('GameTime SW: Activating...'); + console.log('RosterHash SW: Activating...'); event.waitUntil( caches.keys().then(cacheNames => { return Promise.all( cacheNames.map(cacheName => { if (cacheName !== CACHE_NAME) { - console.log('GameTime SW: Deleting old cache:', cacheName); + console.log('RosterHash SW: Deleting old cache:', cacheName); return caches.delete(cacheName); } }) @@ -57,7 +57,7 @@ self.addEventListener('fetch', event => { return new Response(` - GameTime - Offline + RosterHash - Offline diff --git a/templates/base.html b/templates/base.html index 8377252..5a7a02f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,10 +3,10 @@ - {% block title %}GameTime{% endblock %} + {% block title %}RosterHash{% endblock %} - + @@ -56,7 +56,7 @@