News for hackers. Stuff that matters.
Re:Asciinema: Record and share your terminal sessions, the s... by nabla9 on Saturday November 04, 2023 @07:47AM (#38140161)
> When you run asciinema rec in your terminal the recording starts, capturing all output that is being printed to your terminal while you’re issuing the shell commands. When the recording finishes (by hitting Ctrl-D or typing exit) then the captured output is uploaded to asciinema.org website and prepared for playback on the web.

Instead installing keylogger, I can use `script` command that comes with linux/unix. .

Re:Asciinema: Record and share your terminal sessions, the s... by phanimahesh on Saturday November 04, 2023 @07:53AM (#38140188)
There's a local only mode. Uploads to asciinema.org are optional.
Re:Asciinema: Record and share your terminal sessions, the s... by nabla9 on Saturday November 04, 2023 @08:07AM (#38140277)
Crazy dark pattern for a command line utility.

If you miss filename, recording goes to some server.

Re:Asciinema: Record and share your terminal sessions, the s... by layer8 on Saturday November 04, 2023 @08:23AM (#38140384)
Yep, recording and upload should really be two separate commands by default.
Re:Asciinema: Record and share your terminal sessions, the s... by ku1ik on Sunday November 05, 2023 @03:23AM (#38149317)
Thanks. This behavior dates back to 2011, and while there 2 separate commands you can use today (asciinema rec <filename> + asciinema upload <filename>) the demo on the homepage and the docs may be giving wrong impression. This will be definitely improved in the upcoming 3.0.
Re:Asciinema: Record and share your terminal sessions, the s... by wlamartin on Saturday November 04, 2023 @09:01AM (#38140657)
When recording finishes you are given the option to upload or save to local file.
Re:Asciinema: Record and share your terminal sessions, the s... by ku1ik on Sunday November 05, 2023 @03:19AM (#38149305)
There’s no bad intention here, and there’s upload confirmation prompt in versions prior to 2.4, while in 2.4+ you make explicit choice (save, upload, discard). In upcoming 3.0 we will probably decouple upload from record command completely.
Re:Asciinema: Record and share your terminal sessions, the s... by layer8 on Saturday November 04, 2023 @08:13AM (#38140323)
This should be prominently mentioned on the “How it works” page [0], or even better, also on the main page, because it isn’t clear at all that local recording or upload to a custom server is supported. If not for the above comment, I would have dismissed the tool as unsuitable after browsing the site a bit.

[0] https://asciinema.org/docs/how-it-works

Re:Asciinema: Record and share your terminal sessions, the s... by ku1ik on Sunday November 05, 2023 @03:38AM (#38149378)
Thanks for mentioning this. This aspect of the docs does disservice to how people perceive the tool, and it’s something I’m going to fix right away.
Re:Asciinema: Record and share your terminal sessions, the s... by ku1ik on Sunday November 05, 2023 @03:35AM (#38149362)
There’s confirmation prompt before uploading, where you can decide to upload or save locally. This part of the docs (and the demo on the frontpage) need updating as they give wrong idea in the intentions here. I’ll make sure this is clear. Thanks.