Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve lesson media using Cloudflare's ipfs gateway #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

garrison
Copy link
Contributor

@garrison garrison commented Jul 1, 2020

One alternative to having a giant github repository with all the lesson media would be to host the lesson media on ipfs. Specifically, each lesson could contain a hash to a directory containing all of its media elements. Then each lesson could be edited independent of coordinating changes with the lesson media repository.

Here I do something much simpler and take the first step toward experimenting with this, i.e. serving all lesson media from a single hash over an ipfs/web gateway.

@render
Copy link

render bot commented Jul 1, 2020

@garrison
Copy link
Contributor Author

garrison commented Jul 1, 2020

I meant to mention: this hash was obtained by running

$ git clone https://github.com/wikiotics/wikiotics.github.io.git wikiotics-media
$ ipfs add -r wikiotics-media/

on a virtual machine with the ipfs daemon running.

The primary point of having this pull request open is so we can test its performance/reliability on the Render preview.

Base automatically changed from migration to master July 10, 2020 21:25
garrison pushed a commit that referenced this pull request Jul 10, 2020
Automated import from Ductus
https://github.com/wikiotics/migration-from-ductus

urn:sha384:jWDlFw22kIwrHYzH74BtDA_gw_DTimaAEXWMmQUeS5CNP1vKI0mgs7k8KlmQ2n5s

Parent: urn:sha384:Z1mJrZwiZPPtkFR22pj53DdHOe8BmVpa_gXn1GPqLz6yIeav60hi9C7VRwKhDWeV
@garrison garrison added the media storage Issues dealing with the storage of lesson media label Jul 11, 2020
@garrison
Copy link
Contributor Author

garrison commented Aug 9, 2020

As should be clear from my write-up in #15, I really want to use ipfs. But I just don't find it reliable, at all. Looking through my notes, I just recalled a critical article from a year ago, and my experiences to date have been similar. Less of a concern, but I've also not consistently been able to get answers to my questions on their forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
media storage Issues dealing with the storage of lesson media
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant