Pomagranate
The open-source video sharing platform
Demo: https://pomagranate.glitch.me/watch?v=CX8pJq8pm
While trying to merge some changes I accidentally overwrote the dmeo database
What is Pomagranate?
These days video is dominated by closed-source platforms like YouTube, Vimeo, and Twitch. Pomagranate is a open-source video sharing app using peer-to-peer technology and multiple servers.
How do you store the videos and not run out of money. What is peer to peer?
We distribute the load by distributing chunks of data between servers. In a newer update Pomagranate will take advantage of clients connected to it to make things even more stable.
Won’t glitch prevent you from creating too much projects?
That’s why we need the help of the community. You can help out by hosting your own Pomagranate instance on glitch or heroku today. The more instances the better. However we ask that you please keep these instances updated because there will be some important updates coming soon.
What are the limitations of this approach
There are two limitations with this approach. First, a video may not always be available, second a video is unable to play if it reaches a point where a chunk cannot be found in the network.
Can you explain how it works a bit more
When someone asks for a video a request is sent to a Vine Server(also open-source) to find the chunks. The only information the Pomagranate server knows about a video is the hashes of it’s chunks. The Vine Server then relays messages like “Hey everyone, anyone got this chunk insert hash here” and the servers go on a race to send the chunks over. Nothing happens if a server sends over a chunk and loses the race to be the first one to send a chunk.
You said this was open-source
Yep here’s the the source for the video server and the source for the Vine server
Your spelling is wrong Pomagranate is spelled Pomegranate
That’s intentional so people don’t get confused whether they are talking about the fruit or the app
It doesn’t work?
Sorry about that, I might be testing new features and they can break things.