Skip to content

asciinema/publish-to-ipfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

publish-to-ipfs

This script publishes given asciicast as a standalone HTML page to IPFS.

It publishes a directory which contains:

  • static index.html
  • asciinema-player (js+css)
  • asciicast file (from path given as the argument to the script)

Usage

$ publish.sh <path-to-asciicast>

>> Downloading asciinema-player 2.6.0...
>> Copying index.html...
>> Copying hello-ipfs.cast...
>> Publishing directory to IPFS...
https://gateway.ipfs.io/ipfs/QmNe7FsYaHc9SaDEAEXbaagAzNw9cH7YbzN4xV7jV1MCzK

Demo

asciicast

About

Script to publish locally saved asciicast to IPFS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published