# Gitea 客户端 把自托管 Gitea(`https://git.hanfuit.com`)封装成 Windows 桌面客户端。 ## 功能 - 独立窗口应用(无浏览器地址栏/标签栏) - 直接加载自托管 Gitea 仓库页面 - 窗口标题「灵宝仙尊代码仓库」,默认 1280×800 ## 技术栈 - Python + pywebview(桌面窗口) - PyInstaller(打包 exe) ## 使用 双击 `dist/Gitea客户端.exe` 即可运行。 ## 自定义 修改 `main.py` 顶部的变量: ```python GITEA_URL = "https://git.hanfuit.com" # 仓库地址 WINDOW_TITLE = "灵宝仙尊代码仓库" # 窗口标题 WIDTH = 1280 # 窗口宽度 HEIGHT = 800 # 窗口高度 ``` ## 重新打包 ```bash python -m PyInstaller --noconfirm --clean "Gitea客户端.spec" ``` 产物在 `dist/Gitea客户端.exe`。