{"id":23006879,"url":"https://github.com/paschal533/vidhub","last_synced_at":"2026-05-16T11:32:13.088Z","repository":{"id":116063655,"uuid":"583479316","full_name":"paschal533/Vidhub","owner":"paschal533","description":"Vidhub is a decentralized social media, video-sharing app that allows users to create, watch, like, comment, buy and share videos shot on mobile devices or webcams. The video will be minted as NFT and posted, and can be bought by another user. Users are also rewarded with 0.025 of our VID token each time they post a video.","archived":false,"fork":false,"pushed_at":"2023-01-08T20:50:40.000Z","size":14703,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T15:14:17.891Z","etag":null,"topics":["blockchain","ipfs","livepeer","web3","web3storage"],"latest_commit_sha":null,"homepage":"https://vidhub.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paschal533.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-12-29T22:46:08.000Z","updated_at":"2024-03-11T17:43:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"d02f8a32-cd67-4316-ab2b-f2bae18f932f","html_url":"https://github.com/paschal533/Vidhub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paschal533/Vidhub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paschal533%2FVidhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paschal533%2FVidhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paschal533%2FVidhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paschal533%2FVidhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paschal533","download_url":"https://codeload.github.com/paschal533/Vidhub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paschal533%2FVidhub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708035,"owners_count":26031932,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ipfs","livepeer","web3","web3storage"],"created_at":"2024-12-15T08:13:50.903Z","updated_at":"2025-10-07T01:48:03.797Z","avatar_url":"https://github.com/paschal533.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vidhub\n\nVidhub is a decentralized social media, video-sharing app that allows users to create, watch, like, comment, buy and share videos shot on mobile devices or webcams. The video will be minted as NFT and posted, and can be bought by another user. Users are also rewarded with 0.025 of our VID token each time they post a video.\n\n![screenshot](./assets//Screenshot%20(81).png)\n\n![screenshot](./assets//Screenshot%20(80).png)\n\n# 🛠 Technology Stack \u0026 Tools\n\n- Solidity (Writing Smart Contract)\n- Javascript (NextJs \u0026 Unit Testing)\n- Ethers JS (Blockchain Interaction)\n- Hardhat (Smart Contract Development Framework)\n- Livepeer (Video storage \u0026\u0026 player)\n- Web3.storage - IPFS (NFT File Storage)\n- Polygon Mumbai (Blockchain network)\n\n# ⛓ Blockchain Protocol used\n\n- ERC-20 standard\n- ERC-721 standard\n\n# ⚙ Requirements For Initial Setup\n- Install NodeJS, should work with any node version below 18.12.1\n- Install Hardhat in your terminal. You can check to see if you have hardhat by running `npx hardhat`. To install hardhat, run `npm install --save-dev hardhat`.\n\n# 🚀 Quick Start\n\n📄 Clone or fork Vidhub:\n\n```\nhttps://github.com/paschal533/Vidhub.git\n```\n💿 Install all dependencies:\n\n```\n$ cd vidhub\n$ npm install\n```\n\n# 🎗 Add enviroment varibles\n\nRename the file `env.local.example` to `env.local`\n\nAdd all the required enviroment varibles in the file\n\n```\nNEXT_PUBLIC_SANITY_TOKEN = \nNEXT_PUBLIC_GOOGLE_API_TOKEN= \nNEXT_PUBLIC_BASE_URL= http://localhost:3000\nNEXT_PUBLIC_CONTRACT_ADDRESS= 0x7ec205F8573E16678fE130A132a0956eEc79E9B2\nNEXT_PUBLIC_API_KEY = //Your Livepeer API Key\nNEXT_PUBLIC_INFURA_IPFS_PROJECT_ID=\nNEXT_PUBLIC_INFURA_IPFS_PROJECT_SECRET=\n```\n\n# 🚴‍♂️ Run your App:\n\n```\nnpm run dev\n```\n\n- Note :- This app was deploy to Polygon Mumbai testnet, so you need to connect your Metamask wallet to  Polygon Mumbai testnet before you can Interact with the app.\n\n# 📄 interacting with the Smart-contract\n\nRename the file `env.example` to `env`\n\nAdd all the required enviroment varibles in the file\n\n```\nAPI_KEY =     //PolygonScan API_KEY\nPrivateKey =  // Metamask PrivateKey\nProjectID =   // Infura ProjectID\n```\n\n# 🛠 Test the Smart-contract:\n\n```\nnpx hardhat test\n```\n\n# 🎗 Compile the Smart-contract:\n\n```\nnpx hardhat compile\n```\n# 🔗 Deploy the Smart-contract:\n\n```\nnpx hardhat run --network mumbai scripts/deploy.js\n```\n\n# 📄 Smart-contract address\n\n```\n0x7ec205F8573E16678fE130A132a0956eEc79E9B2\n```\n\n# 📄 VID token Smart-contract address\n\n```\n0x3dDac85FA891cA51BF339f1df791AA002ec08A8A\n```\n\n# 📜 Mumbai Testnet Explorer\n\n```\nhttps://mumbai.polygonscan.com/address/0x7ec205F8573E16678fE130A132a0956eEc79E9B2\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaschal533%2Fvidhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaschal533%2Fvidhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaschal533%2Fvidhub/lists"}