Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Commit

Permalink
add screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Aug 28, 2017
1 parent 42b6793 commit 3a81e17
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $ streamhut -help
-f, --file <filepath> file to send
```

Listening on a channel
**Listening on a channel**

```bash
$ streamhut listen -h streamhut.net -c yo
Expand All @@ -97,7 +97,7 @@ hello

```

Posting text data to a channel
**Posting text data to a channel**

```bash
$ streamhut post -h streamhut.net -c yo -t "hello"
Expand All @@ -107,7 +107,7 @@ hello

```

Posting file data to a channel
**Posting file data to a channel**

```bash
$ streamhut post -h streamhut.net -c yo -f hello.txt
Expand All @@ -117,12 +117,15 @@ hello.txt

```

Pipe realtime stdout to streamhut using [`netcat`](https://en.wikipedia.org/wiki/Netcat)
**Pipe realtime stdout to streamhut xterm using [`netcat`](https://en.wikipedia.org/wiki/Netcat)**

```bash
while true; do date; sleep 1; done | nc 127.0.0.1 8957
$ while true; do date; sleep 1; done | nc streamhut.net 1337
Streaming to: https://streamhut.net/dsa
```

<img src="./screenshots/netcat.gif" width="500">

## Development

Watch and build client scripts
Expand Down
Binary file added screenshots/netcat.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3a81e17

Please sign in to comment.