{"id":29093454,"url":"https://github.com/yobslob/safebit","last_synced_at":"2026-02-02T06:32:42.363Z","repository":{"id":299322553,"uuid":"1002649966","full_name":"yobslob/Safebit","owner":"yobslob","description":"SafeBit is a Web3-based file-sharing DApp built using React and Solidity. It lets users upload files and securely share access to them via the blockchain. Everything runs on smart contracts and IPFS (no centralized server needed).","archived":false,"fork":false,"pushed_at":"2025-06-19T23:02:24.000Z","size":1562,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T17:15:15.013Z","etag":null,"topics":["ethersjs","hardhat","ipfs","reactjs","solidity","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/yobslob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-15T22:59:54.000Z","updated_at":"2025-06-19T23:02:27.000Z","dependencies_parsed_at":"2025-06-16T00:39:31.128Z","dependency_job_id":"248e59bd-3eca-4dfb-ac4b-eb813aaebdbb","html_url":"https://github.com/yobslob/Safebit","commit_stats":null,"previous_names":["yobslob/safebit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yobslob/Safebit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobslob%2FSafebit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobslob%2FSafebit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobslob%2FSafebit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobslob%2FSafebit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yobslob","download_url":"https://codeload.github.com/yobslob/Safebit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yobslob%2FSafebit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29007141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ethersjs","hardhat","ipfs","reactjs","solidity","tailwindcss"],"created_at":"2025-06-28T08:30:53.776Z","updated_at":"2026-02-02T06:32:42.334Z","avatar_url":"https://github.com/yobslob.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SafeBit\n\nSafeBit is a Web3-based file-sharing DApp built using React and Solidity.\u003cbr\u003e It lets users upload files and securely share access to them via the blockchain.\u003cbr\u003e Everything runs on smart contracts and IPFS (no centralized server needed).\n\n## About\n\nThis is a college-level project made for learning and demonstration purposes. It allows users to:\n\n- Connect their MetaMask wallet\n- Upload files to IPFS\n- Store and share access via smart contracts\n- View personal and shared files\n- Use a simple and modern UI with React and TailwindCSS\n\nCurrently, only local-host is supported. Working on deploying it on polygon.\n\n\u003e You’ll need MetaMask installed and connected to a testnet like Goerli.\n\nHere’s a preview of the dApp:  \n![Login Page](frontend/src/assets/loginPage.png)\n![Dashboard](frontend/src/assets/dashboard.png)\n\u003cbr\u003e\n\n## Tech Stack\n\n### Frontend\n- React\n- Vite\n- TailwindCSS\n- Ethers.js\n\n### Backend \n- Solidity Smart Contract (`Upload.sol`)\n- Hardhat for deployment\n- IPFS (via Lighthouse(NFT.storage) As well as Pinata)\n\n## Pre-requisites\n```bash\nInitialize metamask account with hardhat testnet\nThen Initialize a .env file with API token and secret\n```\n\n## Installation\n\n```bash\nnpm install\n```\n\n#### To deploy the smart contract (in Hardhat):\n\n```bash\nnpx hardhat run scripts/deploy.js --network localhost\n```\n```bash\nnpx hardhat node\n```\n\n## Local Development\nTo run the frontend:\n\n```bash\nnpm run dev\n```\n\n### Notes\n- You need to configure .env with your Pinata API keys and contract addresses.\n- For testing, use Hardhat local network or Goerli.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyobslob%2Fsafebit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyobslob%2Fsafebit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyobslob%2Fsafebit/lists"}