Replies: 2 comments
-
Could also be quite useful for github pages. |
Beta Was this translation helpful? Give feedback.
-
I'm thinking about implementing configurable recording targets for asciinema 3.0 (in the future). Pretty much what you described: possibility to record to a directory (with template filename), upload via HTTP, or a custom upload script, with default encoded in config file 👍 This would also solve problem some people have with asciinema recorder defaulting to upload to asciinema.org. With option to use your own shell script for upload you could do anything you like, including upload over ssh, regenerating index.html and whatnot. You could even call hugo/jekyll/gatsby in such a script to regenerate whole "portal". I think this would be a good start. I mentioned asciinema 3.0 - it's not planned yet, but major version bump would probably be a good idea for core behaviour change like not defaulting to asciinema.org (without initial consent/setup). |
Beta Was this translation helpful? Give feedback.
-
In the tildeverse, you are allocated a little space that you can use over ssh/sftp/rsync and can serve your own small static web site. A relevant use case for it is a txt-based federated social networking https://github.com/buckket/twtxt
Similarly, it would be desirable if anybody residing on an instance could publish their own asciinema recordings on their own small "portal" and if one had the option to discover the recordings all over the world stored on such instances.
Some very small improvements would be needed for this.
Create a config file entry to specify publishing targets
Implement mechanism through which the CLI could upload to our own publishing target as well
Specify follower account to user-agent header
Discovery interface
A "portal" view as a simple web page and using ncurses for the CLI.
Beta Was this translation helpful? Give feedback.
All reactions