How inder-26/verichain works
Project type and purpose
• VeriChain is a full-stack, web-based document verification system.
• Purpose: accept document images via a web UI, extract text with AI/OCR, hash the extracted data, and store/verify that hash on a blockchain for immutable, tamper-proof verification.
File structure
• app.py: Flask server entry point
• requirements.txt / .env: Python dependencies and configuration
• document_verification.db: local SQLite database for metadata/logs
• static/: CSS (Tailwind, Bootstrap, custom main.css), favicon
• templates/: Flask HTML pages (index, upload, verify, result)
• uploads/: persistent storage for raw document images
• README.md: describes the AI-OCR (Gemini API) and NeoX blockchain integration
README for additional insights
• Architecture is implied: Browser ↔ Flask backend ↔ Gemini OCR API + NeoX blockchain ↔ local DB
• Technologies: Python/Flask, HTML5, Tailwind, Bootstrap, JavaScript, Gemini API, NeoX blockchain, SHA-256 hashing
Elements
• Notes on edges: annotate protocols (HTTP, REST, JSON), data formats (image, text, hash)