This is the chatting website I've made.
Github copilot has helped me for completing some of the codes.
sources in /src
import webview
import os
import ctypes
html_path = os.path.join(os.path.dirname(__file__), 'src', 'index.html')
webview.create_window("zyc's chatting website (exe ver.)", html_path)
if os.name == 'nt':
try:
SW_HIDE = 0
hwnd = ctypes.windll.kernel32.GetConsoleWindow()
if hwnd:
ctypes.windll.user32.ShowWindow(hwnd, SW_HIDE)
except Exception:
pass
webview.start()@echo off
pyinstaller --onefile --add-data "chat;chat" build.py
rd /s /q build
del /f /q build.spec
move .\dist\build.exe .\
rd /s /q dist- Fixing possible bugs
- Merge two types
- Add a link to "issues"
- Replace Gitee by Github
- Markdown support
- Largify the buttons