mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 19:58:03 +01:00
Add streaming examples to the README
This commit is contained in:
14
README.md
14
README.md
@@ -35,12 +35,24 @@ Notable features:
|
|||||||
server](https://docs.asciinema.org/manual/server/), e.g.
|
server](https://docs.asciinema.org/manual/server/), e.g.
|
||||||
[asciinema.org](https://asciinema.org), for easy recording hosting.
|
[asciinema.org](https://asciinema.org), for easy recording hosting.
|
||||||
|
|
||||||
Recording is as easy as running this command in your shell:
|
To record a session run this command in your shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
asciinema rec demo.cast
|
asciinema rec demo.cast
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To stream a session via built-in HTTP server run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
asciinema stream --serve
|
||||||
|
```
|
||||||
|
|
||||||
|
To stream a session via a relay (asciinema server) run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
asciinema stream --relay
|
||||||
|
```
|
||||||
|
|
||||||
Check out the [Getting started
|
Check out the [Getting started
|
||||||
guide](https://docs.asciinema.org/getting-started/) for installation and usage
|
guide](https://docs.asciinema.org/getting-started/) for installation and usage
|
||||||
overview.
|
overview.
|
||||||
|
|||||||
Reference in New Issue
Block a user