diff --git a/gitlog.py b/gitlog.py index c0d6d95..2c01276 100644 --- a/gitlog.py +++ b/gitlog.py @@ -8,7 +8,7 @@ import mimetypes import html # --- Theme selection (choose one: "light1", "light2", "dark1", "dark2") --- -THEME = "dark2" # Change this to "light2", "dark1", or "dark2" as desired +THEME = "light1" # Change this to "light2", "dark1", or "dark2" as desired THEMES = { "light1": """ @@ -86,7 +86,7 @@ def HTML_TEMPLATE(content, theme=THEME): REPO_ROOT = os.path.abspath(".") LOG_FILE = os.path.join(REPO_ROOT, "gitlog.jsonl") -PORT = 8000 +PORT = 8481 def format_diff_to_html(diff_text: str) -> str: lines = diff_text.strip().splitlines() @@ -107,11 +107,11 @@ def format_diff_to_html(diff_text: str) -> str: if line.startswith('+++') or line.startswith('---'): html_lines.append(f'
© 2025 Snek ā Join our global community of developers, testers & AI enthusiasts.
+ + +