HelloZeroNet / HelloZeroNet/ZeroNet

Zeronet Youtube mirror.

Open
#1,842 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

The basic idea is for it to work as follows:
1. The user tries to access a Youtube video through the zite. This can be done by informing the video url in a form or through a url parameter in the zite.
2. The zite checks it's database to see if this video has been mirrored to IPFS already. If it has, serve the IPFS copy. If it hasn't, download the video from Youtube, play it to the user, save to IPFS and update the database.

I also intended to make a federated platform so each instance administrator could curate it's database. This would prevent spam.

The problem:
How to fetch the video from within the browser? Will I run into a CORS error by just using XHR?
I made some tests with node-ytdl-core and browserify but couldn't manage to use it from within the the zite, only within a normal site. And in the later case I had a CORS error.

Note: Everyone feel free to steal my idea. I don't want to do this but I might because I think it's important.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.