{"id":13597603,"url":"https://github.com/suhailkakar/Decentralized-YouTube","last_synced_at":"2025-04-10T01:31:03.155Z","repository":{"id":39491046,"uuid":"456379721","full_name":"suhailkakar/Decentralized-YouTube","owner":"suhailkakar","description":"An YouTube clone built with React, Solidty and Livepeer","archived":false,"fork":false,"pushed_at":"2024-01-10T06:16:24.000Z","size":2926,"stargazers_count":434,"open_issues_count":6,"forks_count":86,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-05T06:09:21.980Z","etag":null,"topics":["blockchain","dapp","ethereum","ipfs","react","solidity","web3","youtube","youtubeclone"],"latest_commit_sha":null,"homepage":"https://blog.suhailkakar.com/building-a-full-stack-web3-youtube-clone-with-next-ipfs-the-graph-solidity-and-livepeer","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suhailkakar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-07T06:09:52.000Z","updated_at":"2025-03-15T00:35:34.000Z","dependencies_parsed_at":"2024-01-14T06:04:51.017Z","dependency_job_id":"a2695d59-234f-4c06-a7f3-7b0d7bb77cb7","html_url":"https://github.com/suhailkakar/Decentralized-YouTube","commit_stats":{"total_commits":42,"total_committers":4,"mean_commits":10.5,"dds":0.5238095238095238,"last_synced_commit":"a536c4a796e63fbd54c14d0fca1bd512390b8030"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailkakar%2FDecentralized-YouTube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailkakar%2FDecentralized-YouTube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailkakar%2FDecentralized-YouTube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhailkakar%2FDecentralized-YouTube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suhailkakar","download_url":"https://codeload.github.com/suhailkakar/Decentralized-YouTube/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819947,"owners_count":21001394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","dapp","ethereum","ipfs","react","solidity","web3","youtube","youtubeclone"],"created_at":"2024-08-01T17:00:37.046Z","updated_at":"2025-04-10T01:30:58.117Z","avatar_url":"https://github.com/suhailkakar.png","language":"TypeScript","funding_links":[],"categories":["Developer Tools"],"sub_categories":["Demo Apps"],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/suhailkakar/Decentralized-YouTube\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/suhailkakar/Decentralized-YouTube/version-1/logo.png\" alt=\"Logo\" width=\"110\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n\u003ch3 align=\"center\"\u003eOurTube — It is YouTube but decentralized\u003c/h3\u003e\n\n\u003c/div\u003e\n\n## About The Project\n\n[![Ourtube][product-screenshot]](https://twitter.com/suhailkakar)\n\nOurTube 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.\n\nHere 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\n\n\u003e This is the version 2.0 of this applications, you can find the first verion [here](https://github.com/suhailkakar/Decentralized-YouTube/tree/version-1)\n\n### Built With\n\n- Frontend framework: Next.js\n- Smart contracts: Solidity\n- Ethereum web client library: Ethers.js\n- File storage: IPFS\n- Querying data: The Graph\n- CSS Framework: TailwindCSS\n- Ethereum development environment: Hardhat\n- Layer 2 blockchain: Polygon\n- Video Infrastructure: Livepeer\n\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Getting Started\n\nTo get this application up and and running on your local machine follow these simple steps.\n\n### Prerequisites\n\nYou need to have Node.js, NPM and hardhat installed on your computer, before running this project.\n\n### Installation\n\n1. Clone the repo\n   ```sh\n   git clone https://github.com/suhailkakar/Decentralized-YouTube\n   ```\n2. Install NPM packages\n\n   ```sh\n   npm install\n   ```\n\n   or\n\n   ```sh\n   yarn install\n   ```\n3. Create an `.env` file and get an API key from Livepeer studio, Web3 Storage and Imagekit. \n   ```sh\n   PRIVATE_KEY=\"\"\n   NEXT_PUBLIC_LIVEPEER_KEY=\"\"\n   NEXT_PUBLIC_WEB3_STORAGE_KEY=\n   NEXT_PUBLIC_IMAGEKIT_ID=\"\"\n   ```\n4. Compile the smart contract\n   ```sh\n   npx hardhat compile\n   ```\n5. Deploy the smart contract\n6. Get your contract address and paste in on `constants/index.ts`\n\n7. Deploy subgraph in `indexer` directory by following steps in `indexer/README.md` (optional, since it is already deployed in hosted service)\n\n8. Get subgraph query endpoint after deployment and update it in `constants/index.t`\n\n9. Run the app\n\n   ```sh\n   npm start\n   ```\n\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf 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.\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n### License\n\nThis project is an open source software licensed under the MIT License\n\n[product-screenshot]: https://radicle.community/uploads/default/original/2X/1/1275b4e842a315e9211c8905c16a34116493c301.jpeg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhailkakar%2FDecentralized-YouTube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuhailkakar%2FDecentralized-YouTube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhailkakar%2FDecentralized-YouTube/lists"}