Abstract
Decentralized You Tube is an open-source Blockchain & Cloud Computing project. An YouTube clone built with React, Solidty and Livepeer. OurTube is a YouTube Clone built on top of Polygon network and The Graph, that allows users to create, share and watch videos, without worrying about their privacy. It is built using TypeScript, React, Solidity, Web3, Ethereum. The complete source code is publicly available on GitHub under the MIT License, making it a useful reference for students building a Blockchain & Cloud Computing mini project or final-year project.
1. Introduction
OurTube is a YouTube Clone built on top of Polygon network and The Graph, that allows users to create, share and watch videos, without worrying about their privacy.
Here is a complete tutorial on how to build a similar project: https://blog.suhailkakar.com/building-a-full-stack-web3-youtube-clone-with-next-ipfs-the-graph-solidity-and-livepeer
2. Objective
An YouTube clone built with React, Solidty and Livepeer
This project demonstrates how TypeScript, React, Solidity can be applied to a real-world Blockchain & Cloud Computing problem.
4. Technology Stack
- Frontend framework: Next.js
- Smart contracts: Solidity
- Ethereum web client library: Ethers.js
- File storage: IPFS
- Querying data: The Graph
- CSS Framework: TailwindCSS
- Ethereum development environment: Hardhat
- Layer 2 blockchain: Polygon
5. System Requirements
General requirements for this technology stack — check the README for exact versions.
- Node.js (LTS) and npm / yarn / pnpm
- VS Code or any code editor
- Node.js and npm
- Hardhat / Truffle / Remix IDE
- MetaMask wallet with a test network
- Git (to clone the repository)
6. Installation & Setup
git clone https://github.com/suhailkakar/Decentralized-YouTube.git
cd Decentralized-YouTube- Clone the repo
- Install NPM packages
- Create an .env file and get an API key from Livepeer studio, Web3 Storage and Imagekit.
- Compile the smart contract
- Deploy the smart contract
- Get your contract address and paste in on constants/index.ts
- Deploy subgraph in indexer directory by following steps in indexer/README.md (optional, since it is already deployed in hosted service)
- Get subgraph query endpoint after deployment and update it in constants/index.t
git clone https://github.com/suhailkakar/Decentralized-YouTubenpm installyarn installPRIVATE_KEY=""
NEXT_PUBLIC_LIVEPEER_KEY=""
NEXT_PUBLIC_WEB3_STORAGE_KEY=
NEXT_PUBLIC_IMAGEKIT_ID=""Full setup instructions are in the project README.
7. Future Enhancements
Suggested extensions you can add to make this your own project.
- Add a CI/CD pipeline with GitHub Actions
- Deploy to a public test network or cloud free tier
- Add monitoring and cost alerts
8. Viva / Review Questions
Common questions examiners ask for projects in this domain.
- Why does this problem need a blockchain or cloud-native design?
- Explain the smart contract / infrastructure components and how they interact.
- How are gas costs or cloud costs kept under control?
- How is the system secured (keys, IAM, access control)?
- How would the solution scale to many more users?
9. Source Code & License
This project is developed by suhailkakar and published on GitHub under the MIT License. Please follow the license terms and credit the original author when you use or modify this code.
Want to build this as your internship project?
Work on a Blockchain & Cloud Computing project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.
Apply for Blockchain & Cloud Computing Internship