Real-Time Blood Data β’ Automated Collection β’ Google Sheets Integration β’ Smart Healthcare Automation
Reliable Automation β’ Structured Data β’ Real-World Impact
BloodSync is an Intelligent Blood Bank Data Automation Platform designed to automate the collection, processing, and synchronization of real-time blood availability data from the eRaktKosh portal.
Built using Node.js, Playwright, and Google Sheets API, the platform eliminates repetitive manual data collection by transforming unstructured web information into organized, reliable, and continuously updated datasets.
Developed in collaboration with Love Care Share Foundation, BloodSync demonstrates how intelligent automation can improve operational efficiency, increase data accessibility, and support healthcare initiatives through modern software engineering.
Blood banks continuously update inventory information, making manual data collection inefficient, repetitive, and prone to human error.
Organizations and volunteers require accurate and timely blood availability information to make informed decisions and improve operational workflows.
BloodSync addresses these challenges by creating an automated pipeline that collects, structures, validates, and synchronizes blood inventory data with minimal human intervention.
- Intelligent multi-page web scraping
- Automatic pagination handling
- Structured data extraction
- Reliable information processing
- Blood group availability tracking
- Blood component monitoring
- Live inventory synchronization
- Timestamp-based data freshness
- OAuth 2.0 authentication
- Automatic spreadsheet synchronization
- Centralized data management
- Cloud-based accessibility
- Scheduled execution
- Daily automated updates
- Minimal manual intervention
- Reliable data pipeline
- Modular automation workflow
- Configurable deployment
- Easy maintenance
- Extensible project structure
eRaktKosh Portal
β
βΌ
Playwright Automation Engine
β
Intelligent Data Extraction
β
βΌ
Data Processing & Validation
β
βΌ
Google Sheets API Integration
β
βΌ
Structured Healthcare Data
β
βΌ
Love Care Share Foundation
| Category | Technology |
|---|---|
| Runtime Environment | Node.js |
| Automation Framework | Playwright |
| Programming Language | JavaScript |
| Data Integration | Google Sheets API |
| Authentication | OAuth 2.0 |
| Environment Management | dotenv |
| Scheduling | Windows Task Scheduler |
| Version Control | Git & GitHub |
| Property | Details |
|---|---|
| Project Type | Data Automation Platform |
| Domain | Healthcare |
| Architecture | Automation Pipeline |
| Data Source | eRaktKosh Portal |
| Integration | Google Sheets API |
| Automation | Playwright |
| License | MIT |
| Status | Active Development |
BloodSync/
βββ auth_setup.js
βββ scraper.js
βββ run_scraper.bat
βββ package.json
βββ package-lock.json
βββ credentials.json # User Generated
βββ token.json # Auto Generated
βββ .env # User Configuration
βββ .gitignore
βββ README.md
βββ LICENSE
git clone https://github.com/tanmayyenpure/BloodSync.gitcd BloodSyncInstall project dependencies.
npm installInstall Playwright Chromium browser.
npx playwright install chromiumCreate a .env file in the project root and configure the following variables.
STATE=Your State
DISTRICT=Your District
GOOGLE_SHEET_ID=Your Google Sheet IDPlace your Google Cloud API credentials file in the project root.
credentials.json
Run the authentication setup once to authorize Google Sheets access.
node auth_setup.jsA browser window will open requesting Google account authorization.
After successful authentication, a token.json file will be generated automatically.
Start the data automation pipeline.
node scraper.jsThe application will:
- Connect to the eRaktKosh portal
- Extract blood availability information
- Process and validate collected data
- Synchronize records with Google Sheets
- Generate updated timestamps
The project is designed for unattended execution.
Execute the following file manually:
run_scraper.bat
or configure it with Windows Task Scheduler for fully automated daily synchronization.
eRaktKosh Portal
β
βΌ
Playwright Browser Automation
β
βΌ
Multi-Page Data Extraction
β
βΌ
Data Processing & Validation
β
βΌ
Google Sheets Synchronization
β
βΌ
Updated Blood Availability Records
BloodSync was developed as a real-world automation initiative in collaboration with Love Care Share Foundation.
The project demonstrates how intelligent automation can reduce repetitive manual processes, improve healthcare data accessibility, and provide reliable information through structured and continuously synchronized datasets.
BloodSync is more than a web scraper.
It is an automation platform designed to transform repetitive healthcare data collection into a reliable, scalable, and intelligent workflow.
- Real-Time Blood Availability Monitoring
- Automated Multi-Page Data Collection
- Centralized Google Sheets Integration
- Reliable & Structured Healthcare Data
- Minimal Manual Intervention
- Scalable Automation Pipeline
BloodSync is designed as a scalable healthcare automation platform with a vision of transforming blood inventory management through intelligent automation and modern data engineering.
- Intelligent Retry Mechanism
- Automatic Error Recovery
- Advanced Data Validation
- Smart Duplicate Detection
- Blood Availability Dashboard
- Historical Data Analysis
- Automated Report Generation
- Interactive Data Visualization
- Cloud Database Support
- Multi-State Data Synchronization
- REST API Integration
- Real-Time Notifications
- Blood Demand Prediction
- Smart Inventory Forecasting
- AI-Based Data Insights
- Intelligent Healthcare Analytics
BloodSync demonstrates how automation can simplify repetitive healthcare workflows by transforming manual data collection into an intelligent and reliable process.
By integrating browser automation, structured data processing, and cloud synchronization, the platform improves operational efficiency while ensuring timely access to critical blood availability information.
Contributions, ideas, and improvements are always welcome.
Create your own copy of the project.
git checkout -b feature/new-featuregit commit -m "feat: add new feature"git push origin feature/new-featureSubmit your changes for review and help improve BloodSync.
This project is licensed under the MIT License.
You are free to use, modify, and distribute this project in accordance with the license terms.
Tanmay Yenpure
https://github.com/tanmayyenpure
If you found BloodSync useful or interesting, consider giving this repository a Star β on GitHub.
Your support encourages continuous improvements and future open-source contributions.