https://github.com/asciinema/publish-to-ipfs
Script to publish locally saved asciicast to IPFS
https://github.com/asciinema/publish-to-ipfs
Last synced: 2 months ago
JSON representation
Script to publish locally saved asciicast to IPFS
- Host: GitHub
- URL: https://github.com/asciinema/publish-to-ipfs
- Owner: asciinema
- Created: 2017-11-29T08:22:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T22:38:36.000Z (over 7 years ago)
- Last Synced: 2025-03-29T05:34:45.761Z (3 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 18
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
>> Downloading asciinema-player 2.6.0...
>> Copying index.html...
>> Copying hello-ipfs.cast...
>> Publishing directory to IPFS...
https://gateway.ipfs.io/ipfs/QmNe7FsYaHc9SaDEAEXbaagAzNw9cH7YbzN4xV7jV1MCzK## Demo
[](https://asciinema.org/a/1RdOYnYtFebN6Xv7dv3thdBlt)