A decentralized platform to upload, verify, and store research papers securely using blockchain (via IPFS & Pinata) with built-in AI-based plagiarism detection.
- π Decentralized Storage: Upload papers to IPFS via Pinata
- π€ AI Plagiarism Detection: Automatically checks paper originality
- πΌ Web3 Wallet Integration: Connect using MetaMask
- π§ Smart Search & Filter: Query papers by author, title, tags
- π Research Transparency: Publicly accessible, tamper-proof records
- β‘ Vite + React + TypeScript: Blazing fast frontend stack
| Tech | Purpose |
|---|---|
| Vite | Frontend bundler |
| React | UI framework |
| TypeScript | Type safety |
| Pinata/IPFS | Decentralized file storage |
| OpenAI API | AI plagiarism detection |
git clone https://github.com/your-username/HashPapers.git
cd HashPapers
2. Install dependencies
npm install
3. Configure environment
Create .env file in the root:
VITE_PINATA_API_KEY=your_pinata_key
VITE_PINATA_SECRET_API_KEY=your_pinata_secret
VITE_OPENAI_API_KEY=your_openai_key
4. Run locally
npm run dev
---
π§ͺ How It Works
1. Upload Paper β Sent to IPFS via Pinata API
2. Run AI Plagiarism Check β Uses OpenAI or HuggingFace models
3. Store Metadata β Onchain hash + metadata stored
4. Explore Papers β Search, view, and verify paper originality
---
π Project Structure
src/
βββ components/
β βββ ui/ # UI components (e.g., Toaster, Button)
β βββ layout/ # App layout
β βββ providers/ # Context providers (e.g., Web3)
βββ routes/ # App routes
βββ utils/ # Helper functions (upload to Pinata, etc.)
βββ App.tsx # Main app entry
βββ main.tsx # Root render file
---
π‘ Security & Trust
π Papers stored via IPFS: immutable & decentralized
π Hash stored on blockchain: verifiable & tamper-proof
π§ AI plagiarism check: provides trust and transparency
---
π License
MIT Β© 2025 HashPapers Team
---
π€ Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
---
π¬ Contact
Made with β€ at a hackathon.