Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmalikov/hach
useful Haskell Chat with no future
https://github.com/dmalikov/hach
Last synced: 22 days ago
JSON representation
useful Haskell Chat with no future
- Host: GitHub
- URL: https://github.com/dmalikov/hach
- Owner: dmalikov
- License: mit
- Created: 2012-02-14T16:05:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-30T07:42:39.000Z (over 10 years ago)
- Last Synced: 2024-09-17T09:39:12.401Z (about 2 months ago)
- Language: Haskell
- Homepage:
- Size: 383 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HaCh #
[![Build Status](https://secure.travis-ci.org/dmalikov/HaCh.png?branch=master)](http://travis-ci.org/dmalikov/HaCh)
## What is it? ##
**HaCh** is a simple **Ch**at written in **Ha**skell. It consists of 3 separate programs:* `hach-server`
* `hach-client`
* `hach-nclient`
It uses [`Chan`s]() via sockets for message broadcasting and [vty](http://hackage.haskell.org/package/vty) terminal GUI library for a client interface.
## What it was written for? ##
It was written as an example of solving the following specification:Write a command-line program to send a message from one client to another
using the server. The client should be able to send messages with some specific
code, server should resend these messages like a messages from a third person.## How to install? ##
`cabal install`
By default this will install 3 executables files in `~/.cabal/bin/` dir. Prefix could be set by `--prefix` option.
## How to use? ##
Run `hach-client` on the server side.
Run `hach-client -s SERVER_IP -n NICK` to join chat via simple console client or `hach-nclient -s SERVER_IP -n NICK` for [`vty`](http://hackage.haskell.org/package/vty)-client.