Giter VIP home page Giter VIP logo

natachat's Introduction

NataChat

一个简单的,支持 AES 加密通信的 HTML+Python 匿名在线聊天室,直接启动main.py即可

English | 中文

代码比较基础,新手小白作品,大佬勿喷

前端使用了MDUI,后端仅作消息转发,使用Python编写

演示站点:https://natachat.zyghit.cn/


Server端启动指令:

python main.py

Server端Python版本: Python3.10以上版本

注意: 使用前请使用 pip install 安装下列模块依赖:

asyncio
websockets
wheel
prompt_toolkit
logging
pycryptodome
pyDes
split

或使用此指令:

pip3 install asyncio websockets wheel prompt_toolkit logging pycryptodome pyDes split


关于客户端:

代码库内的index.html即客户端,仅包含在线客户端的使用,有更多需要可自行开发

网页客户端默认语言为英文,可自行翻译或提交 issue 让我搞个中文版


欢迎大佬协助编写本库,如果觉得有意思麻烦给个star呗!

部署时需要注意: 如果网页配置了ssl证书,那么后端Server也应当配置SSL证书以便于通过wss链接,否则可能会出现问题。

natachat's People

Contributors

yunmoan avatar ravizhan avatar

Stargazers

Zhiyong (Justin) He avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.