https://github.com/hugojosefson/unix-socket-chat
Experiment with using a unix socket and Deno.
https://github.com/hugojosefson/unix-socket-chat
Last synced: 3 months ago
JSON representation
Experiment with using a unix socket and Deno.
- Host: GitHub
- URL: https://github.com/hugojosefson/unix-socket-chat
- Owner: hugojosefson
- Created: 2023-12-21T22:37:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T16:30:59.000Z (8 months ago)
- Last Synced: 2025-01-31T17:48:17.442Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# unix-socket-chat
Experiment with using a unix socket and Deno.
## Usage
The server:
```sh
./src/cli.ts
```Alternatively:
```sh
deno run --reload --allow-write=./sock --allow-read=./sock --allow-run=lsof https://raw.githubusercontent.com/hugojosefson/unix-socket-chat/refs/heads/main/src/cli.ts
```The clients:
```sh
nc -U ./sock
```## License
MIT