mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +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.
|
||||
[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
|
||||
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
|
||||
guide](https://docs.asciinema.org/getting-started/) for installation and usage
|
||||
overview.
|
||||
|
||||
Reference in New Issue
Block a user