Skip to content

Repository files navigation

Introductions

This is the chatting website I've made.

Github copilot has helped me for completing some of the codes.

How to deploy in your own device

sources in /src

build.py

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()

build.bat

@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

Updating queues

  • Fixing possible bugs
  • Merge two types
  • Add a link to "issues"
  • Replace Gitee by Github
  • Markdown support
  • Largify the buttons

About

My chatting website!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages