suhailkakar/Decentralized-YouTube
关于
使用 React、Solidty 和 Livepeer 构建的 YouTube 克隆项目。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文About The Project
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
This is the version 2.0 of this applications, you can find the first verion here
Built With
- 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
- Video Infrastructure: Livepeer
Getting Started
To get this application up and and running on your local machine follow these simple steps.
Prerequisites
You need to have Node.js, NPM and hardhat installed on your computer, before running this project.
Installation
Clone the repo
git clone https://github.com/suhailkakar/Decentralized-YouTubeInstall NPM packages
npm installor
yarn installCreate an
.envfile and get an API key from Livepeer studio, Web3 Storage and Imagekit.PRIVATE_KEY="" NEXT_PUBLIC_LIVEPEER_KEY="" NEXT_PUBLIC_WEB3_STORAGE_KEY= NEXT_PUBLIC_IMAGEKIT_ID=""Compile the smart contract
npx hardhat compileDeploy the smart contract
Get your contract address and paste in on
constants/index.tsDeploy subgraph in
indexerdirectory by following steps inindexer/README.md(optional, since it is already deployed in hosted service)Get subgraph query endpoint after deployment and update it in
constants/index.tRun the app
npm start
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is an open source software licensed under the MIT License
探索相关项目
加载中…
