16 Apr 2024 |
s1341 | develop branch v3.0.0-beta.3 | 08:02:56 |
jcromero | jcromero@missandei:~/src/asciinema$ target/debug/asciinema -V
asciinema 3.0.0-beta.3
jcromero@missandei:~/src/asciinema$ target/debug/asciinema stream --help
Stream a terminal session
Usage: asciinema stream [OPTIONS]
Options:
-I, --input Enable input capture
-c, --command <COMMAND> Command to stream [default: $SHELL]
-l, --listen-addr <LISTEN_ADDR> HTTP server listen address [default: 127.0.0.1:8080]
--tty-size <COLSxROWS> Override terminal size for the session
--log-file <LOG_FILE> Log file path
--server-url <SERVER_URL> asciinema server URL
-q, --quiet Quiet mode, i.e. suppress diagnostic messages
-h, --help Print help
jcromero@missandei:~/src/asciinema$ target/debug/asciinema stream -s 0.0.0.0:8765 -c tmux
error: unexpected argument '-s' found
Usage: asciinema stream [OPTIONS]
For more information, try '--help'.
| 08:04:30 |
jcromero | Ahhhh | 08:05:24 |
jcromero | Sorry for the noise | 08:05:27 |
jcromero | Trying debug version, not release one | 08:05:37 |
jcromero | And the built was not updated | 08:05:59 |
jcromero | Working fine | 08:06:46 |
ku1ik | you can forget about tst then, I’ll archive the repo | 08:12:25 |
jcromero | Yes, deleting my local repo, indeed | 08:12:42 |
jcromero | ku1ik: Is the STREAM-ID for forwarding through asciinema.org already published somewhere? | 08:42:00 |
ku1ik | ah, I knew it's not going to be long until someone asks about that :) | 08:42:36 |
jcromero | Hehe | 08:42:47 |
ku1ik | so this ID is just the unique token from the stream URL page | 08:43:00 |
jcromero | Don't worry, I have it (if you remember) 😉 | 08:43:22 |
ku1ik | ah, no, not the secret producer one I sent you earlier. just the one you see in the browser URL bar | 08:43:58 |
ku1ik | the public one | 08:44:04 |
jcromero | Ahhh | 08:44:08 |
ku1ik | if you don't specify it then the server uses your default stream. by default every user has one stream, but you could have more, and in that case you would want to specify to which you want to stream | 08:45:16 |
ku1ik | say, you use one to live stream htop from your server, infinitely, and you use another one for teaching | 08:45:48 |
ku1ik | currently there's no way to create additional stream from the UI, I can create those upon request manually | 08:46:29 |
jcromero | Hmmmmm, I'm not seeing then the token you are talking about | 08:46:45 |
jcromero | In my profile page? | 08:46:58 |
ku1ik | when you run asciinema stream -r it will print the URL to view the stream - this is the URL which has this stream id | 08:47:48 |
jcromero | OK, now I'm seeing it | 08:48:14 |
ku1ik | the ID is not a number but a random token, just like with uploaded recordings | 08:48:33 |
jcromero | It's really easy now. A lot easier than tst | 08:48:51 |
ku1ik | thanks | 08:49:23 |
ku1ik | yeah, tst was just a proof of concept, and not user-friendly | 08:49:28 |
ku1ik | * currently there's no way to create additional streams from the UI, I can create those upon request manually | 08:50:15 |
jcromero | Now, I only have to wait my IP to be unbanned in asciinema.org because of my failed tries | 08:50:27 |