Skip to content

Commit

Permalink
Link to CLI install pages from the stream page
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Apr 21, 2024
1 parent 63abf49 commit 1d929ff
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/asciinema_web/controllers/live_stream/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@

<h2>How to stream</h2>

<h3>asciinema CLI (3.0+):</h3>
<h3>
<a href="https://github.com/asciinema/asciinema/releases/tag/v3.0.0-rc.1">asciinema CLI 3.0</a>:
</h3>

<.input
name="rec-cmd-asciinema-streamer"
data-behavior="auto-select"
Expand All @@ -109,8 +112,10 @@
/>

<h3>
asciinema CLI (2.2+) + <a href="https://github.com/vi/websocat">websocat</a>:
<a href="https://docs.asciinema.org/manual/cli/installation/">asciinema CLI 2.2+</a>
+ <a href="https://github.com/vi/websocat">websocat</a>:
</h3>

<.input
name="rec-cmd-asciinema-websocat"
data-behavior="auto-select"
Expand All @@ -122,6 +127,7 @@
<a href="https://en.wikipedia.org/wiki/Script_(Unix)">script</a>
+ <a href="https://github.com/vi/websocat">websocat</a>:
</h3>

<pre><code># in shell 1
mkfifo live.pipe
websocat --binary <%= ws_producer_url(@stream) %> &lt;live.pipe
Expand Down

0 comments on commit 1d929ff

Please sign in to comment.