Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bemxio/chatochka
- Owner: bemxio
- License: mit
- Created: 2024-09-17T14:08:52.000Z (3 months ago)
- Default Branch: vite
- Last Pushed: 2024-11-11T17:38:08.000Z (about 1 month ago)
- Last Synced: 2024-11-11T18:20:14.435Z (about 1 month ago)
- Topics: chat, css, html, javascript, p2p, peerjs
- Language: JavaScript
- Homepage: https://chat.bemxio.xyz/
- Size: 47.9 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.