moved core app config (name, version) out of settings and into app/app_settings.py added ability to brand SneakyScope to any name added caching of cert information from crt.sh (cache enable and lenght is configurable in settings.yaml) streamlined header/footer loading to be more correct
13 lines
387 B
Python
13 lines
387 B
Python
from dataclasses import dataclass
|
|
from datetime import datetime
|
|
|
|
this_year = datetime.strftime(datetime.now(),"%Y")
|
|
|
|
@dataclass
|
|
class AppSettings:
|
|
name: str = "SneakyScope"
|
|
tagline: str = "A selfhosted URL Sandbox"
|
|
url: str = "https://git.sneakygeek.net/ptarrant/SneakyScope"
|
|
copyright: str = f"© 2025 - {this_year}"
|
|
version_major: int = 1
|
|
version_minor: int = 0 |