https://github.com/lambdachad/chat
TCP chat in Elixir
https://github.com/lambdachad/chat
elixir irc tcp
Last synced: about 1 month ago
JSON representation
TCP chat in Elixir
- Host: GitHub
- URL: https://github.com/lambdachad/chat
- Owner: lambdachad
- Created: 2025-12-27T09:28:51.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-12-27T12:36:12.000Z (6 months ago)
- Last Synced: 2026-04-13T14:30:30.889Z (2 months ago)
- Topics: elixir, irc, tcp
- Language: Elixir
- Homepage: chat.myhren.ai:4000
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chat
Minimal chat server similar to IRC implemented in Elixir.
```
❯ mix chat.server
Compiling 1 file (.ex)
Generated chat app
Listening on port 4000
```
## Demo
### Server
```
❯ mix chat.server
Compiling 1 file (.ex)
Generated chat app
Listening on port 4000
User user_6026 has connected
User user_5680 has connected
```
### user_6026
```
❯ nc localhost 4000
Welcome to the chat! There are currently 0 other users online.
What's up guys!
User user_5680 has connected
user_5680: Hey there team
user_5680: Any updates?
Not yet, we need to update stuff
user_5680: Ok cool keep me updated
```
### user_5680
```
❯ nc localhost 4000
Welcome to the chat! There are currently 1 other user online.
Hey there team
Any updates?
user_6026: Not yet, we need to update stuff
Ok cool keep me updated
```