mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 16:05:52 +03:00
[GH-ISSUE #55] Save recordings offline? #654
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#654
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PragTob on GitHub (Mar 11, 2014).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/55
I'd like to know if it's a desirable feature to save recordings offline - e.g. record console and then save the relevant files offline. They could then be used to play on websites other than asciinema.org (given an extracted player).
One of the problems with this so far is that the python script just does some basic recording. Then there is a whole lot of post processing going on in the asciinema.org webapp (Ruby).
I already extracted (and adjusted/unrailsified) the relevant ruby parts and implemented basic saving in the python script. You can see what I've done on the save-files-locally branch of my fork.
Of course for this to be cool and sustainable the ruby post processing bits would have to go into a gem which can then be used by both offline people and the website could depend on it.
This together with an assets gem of the player (which is not too hard to extract) could enable people to record and show their own recordings without going through the website :)
I guess this somehow relates to #21
What do you think?
Thanks for your awesome work on this technology!
@daixtr commented on GitHub (Mar 11, 2014):
excuse me, as i have not delve deep into the python/ruby code of this. But
if the saved file format follows more or less that the same as of ttyrec
(maybe asciinema added some headers prior to this repeating blocks) then, a
console player written in C can be easily made to do the replay.
On the other hand, I tried to follow the server install steps of
asciinema.org into a RedHat, but I'm stuck on some issues.Here's a fragment:
/usr/local/rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
checking for libxml/parser.h... no
libxml2 is missing. please visit
http://nokogiri.org/tutorials/installing_nokogiri.html for help with
installing dependencies.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You
may
need configuration options.
I don't have the liberty the choose an Ubuntu, so I knew that RedHat would
have pains to make it work.. Can it be done? Any guides?
On Wed, Mar 12, 2014 at 12:56 AM, Tobias Pfeiffer
notifications@github.comwrote:
@miroswan commented on GitHub (Nov 15, 2014):
+1
@ku1ik commented on GitHub (Dec 19, 2014):
This is now discussed in #70.
@ku1ik commented on GitHub (Feb 27, 2015):
It's implemented in #80.
@PragTob commented on GitHub (Mar 1, 2015):
Well, then we can close this ;)
@PragTob commented on GitHub (Mar 1, 2015):
Well, then we can close this ;)
@ku1ik commented on GitHub (Mar 2, 2015):
We have 1.0.0.rc1 with #80 merged: https://github.com/asciinema/asciinema-cli/releases/tag/v1.0.0.rc1