Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

docs: Add browser example for streaming files #1223

Merged
merged 1 commit into from
Feb 19, 2018

Conversation

achingbrain
Copy link
Member

Addresses #1053 by adding an example of how to use the streaming interface to add files sequentially and obtain the hash of the directory containing the files.

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HAAWT 🔥 Thanks @achingbrain :)

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daviddias
Copy link
Member

@achingbrain while at it, wanna try creating an example that shows how to use https://github.com/jhiesey/videostream to create a video stream from js-ipfs?

@achingbrain
Copy link
Member Author

Sure, maybe on a different PR though 😉

@daviddias
Copy link
Member

@achingbrain yeah, absolutely. Just add this example to the index as suggested above and it is good to merge :)

@mitra42
Copy link

mitra42 commented Feb 17, 2018

Its something like that videostream example that we are looking for. What's missing is how to create a function such as in the https://github.com/jhiesey/videostream Readme that takes an opts structure with start and end, and retrieves those bytes from a IPFS stream.

@achingbrain
Copy link
Member Author

Make sure to list it https://github.com/ipfs/js-ipfs/tree/master/examples#tutorials

Done!

@daviddias
Copy link
Member

thank you :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants