Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bemxio/chatochka

A simple P2P online chat made with PeerJS
https://github.com/bemxio/chatochka

chat css html javascript p2p peerjs

Last synced: 4 days ago
JSON representation

A simple P2P online chat made with PeerJS

Awesome Lists containing this project

README

        

# Chatochka
Chatochka is a simple peer-to-peer chat website that allows two people to, well, chat with each other. It is made using ~~the classic HTML, CSS, and JavaScript trio~~ [Vite](https://vite.dev) (shoutouts to [NISZOgen](https://github.com/niszogen)), [PeerJS](https://peerjs.com) for the connection between the peers, [markdown-it](https://github.com/markdown-it/markdown-it) for rendering the messages and [DOMPurify](https://github.com/cure53/DOMPurify) for sanitizing them.

## Usage
Simply go to the [official link](https://chat.bemxio.xyz) or host the website yourself.

You'll be asked to enter your name. After that, Chatochka will give you a peer ID, share it with the person you want to chat with. To connect with you, they'll have to enter your peer ID in the input field and click the "here" button. If everything goes well, you'll both get a notification that you're connected and you'll be able to chat with each other.

## License
This project is licensed under the MIT License - see the [`LICENSE`](LICENSE) file for details.

Contributions are welcome! If you want to contribute, whether it's an issue you've encountered or a pull request with new features, feel free to do so.