https://github.com/wintercore/haskek-shitchat
Simple WebSockets Haskell chat server
https://github.com/wintercore/haskek-shitchat
chat haskell websockets
Last synced: 12 months ago
JSON representation
Simple WebSockets Haskell chat server
- Host: GitHub
- URL: https://github.com/wintercore/haskek-shitchat
- Owner: WinterCore
- License: mit
- Created: 2021-03-13T05:30:44.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-13T06:59:58.000Z (about 5 years ago)
- Last Synced: 2025-04-09T01:45:14.743Z (about 1 year ago)
- Topics: chat, haskell, websockets
- Language: Haskell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Websocket Chat Server in Haskell
## How to run locally
- Install [Haskell & Cabal](https://www.haskell.org/platform/)
- Clone this repo by running `https://github.com/WinterCore/haskek-shitchat.git`
- Change your current working directory to the project's `cd haskek-shitchat`
- Run `cabal run haskek-shitchat 0.0.0.0 3000`
- Connect to it by using a WebSockets client (something like `https://github.com/vi/websocat`) by using this address `ws://127.0.0.1:3000`
- Enjoy
### TODO
- Impelment basic chat (allow users to pick their username upon connection)
- Store the messages in some type of database
- Add a REST API for fetching messages.
- Add authentication?
- Add support for uploading files