Skip to content

Commit 0daadbd

Browse files
authored
Add files via upload
1 parent d4084e5 commit 0daadbd

1 file changed

Lines changed: 177 additions & 0 deletions

File tree

README.md

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# PrescribePro Rx
2+
3+
> A free, offline-capable digital prescription management web app for registered MBBS doctors — built as a single HTML file, no installation required.
4+
5+
![PrescribePro Rx](https://img.shields.io/badge/Status-Active-success?style=flat-square) ![License](https://img.shields.io/badge/License-Free%20for%20Doctors-blue?style=flat-square) ![Platform](https://img.shields.io/badge/Platform-Web%20%7C%20Mobile%20%7C%20Tablet-lightgrey?style=flat-square)
6+
7+
---
8+
9+
## What is PrescribePro Rx?
10+
11+
PrescribePro Rx is a lightweight, single-file web application that lets doctors write, manage, and export professional prescriptions entirely in the browser — without installing any software. It works on desktop, tablet, and mobile, and stores all data locally on your device with optional Google Drive backup.
12+
13+
Designed with the needs of Bangladeshi doctors in mind, but free for any registered MBBS doctor anywhere in the world.
14+
15+
---
16+
17+
## Features
18+
19+
### Patient Management
20+
- Add, edit, and search patient profiles
21+
- Store name, age, gender, weight, blood group, contact number, and known allergies/conditions
22+
- Instant search across your patient list
23+
24+
### Prescription Writing
25+
- Clean, structured prescription form with chief complaints, history, clinical findings, investigations, and advice
26+
- Add multiple medications with drug name, dose, route, frequency, duration, and doctor's comments
27+
- Built-in drug name autocomplete from a curated drug database
28+
- Follow-up scheduling and special notes fields
29+
- Safe data entry — accidental taps outside the form will never close or lose your work
30+
31+
### Prescription Pad Design
32+
- Fully customisable letterhead with doctor's name, qualifications, designation, hospital, registration number, phone, chamber address, and hours
33+
- Header alignment options (left / centre / right)
34+
- Adjustable left-column width and accent colour
35+
- Toggle individual sections on/off (History, Findings, Investigation, Advice, Follow-up)
36+
- Live preview as you design
37+
38+
### PDF & Export
39+
- One-click PDF generation via jsPDF + html2canvas
40+
- Save prescription as a high-quality image
41+
- Print directly from the browser
42+
43+
### Google Drive Backup
44+
- Sign in with Google to enable cloud backup
45+
- All data backed up to your private Google Drive (App Data folder — invisible to other apps)
46+
- Restore your full prescription history on any device after signing in
47+
- Per-account data isolation — each doctor's data is stored separately
48+
49+
### Dashboard
50+
- Summary statistics: total patients, total prescriptions, today's count, this month's count
51+
- Recent prescriptions at a glance
52+
53+
### Privacy & Security
54+
- All data stored locally in your browser's `localStorage`, keyed to your Google account email
55+
- No server, no database, no third-party data collection
56+
- Google Drive sync uses `drive.appdata` scope only — your data is never exposed to other apps or people
57+
58+
---
59+
60+
## How to Use
61+
62+
### Option 1 — Use directly (recommended)
63+
Open `index.html` in any modern browser. No server needed.
64+
65+
### Option 2 — Host on GitHub Pages
66+
1. Fork this repository
67+
2. Go to **Settings → Pages**
68+
3. Set source to the `main` branch, `/ (root)` folder
69+
4. Your app will be live at `https://yourusername.github.io/your-repo-name`
70+
71+
### Option 3 — Host anywhere
72+
Upload `index.html` to any static hosting service (Netlify, Vercel, Cloudflare Pages, cPanel, etc.).
73+
74+
---
75+
76+
## Getting Started
77+
78+
1. Open the app and click **Sign in with Google**
79+
2. Go to **Profile** and fill in your doctor details (name, qualifications, BMDC registration, chamber address, etc.)
80+
3. Go to **Pad Design** and customise your prescription letterhead
81+
4. Add your first patient under **Patients → + New Patient**
82+
5. Open the patient card and click **New Prescription**
83+
6. Fill in the prescription form, click **Preview & Generate PDF**, then **Save & Close**
84+
85+
Your data is saved automatically to your browser. Click the Drive sync button in the top bar to back up to Google Drive.
86+
87+
---
88+
89+
## Tech Stack
90+
91+
| Layer | Technology |
92+
|---|---|
93+
| UI & Logic | Vanilla HTML, CSS, JavaScript (single file) |
94+
| PDF Generation | [jsPDF](https://github.com/parallax/jsPDF) + [html2canvas](https://html2canvas.hertzen.com/) |
95+
| Authentication | Google Identity Services (GSI) |
96+
| Cloud Backup | Google Drive REST API (`drive.appdata` scope) |
97+
| Local Storage | Browser `localStorage` |
98+
| Fonts | Crimson Pro, DM Sans, DM Mono (Google Fonts) |
99+
100+
No frameworks. No build tools. No npm. Just one file.
101+
102+
---
103+
104+
## Compatibility
105+
106+
| Browser | Support |
107+
|---|---|
108+
| Chrome / Edge (desktop) | ✅ Full |
109+
| Firefox (desktop) | ✅ Full |
110+
| Safari (desktop) | ✅ Full |
111+
| Chrome (Android) | ✅ Full |
112+
| Safari (iOS) | ✅ Full |
113+
114+
Works offline after first load (except Google Drive sync, which requires internet).
115+
116+
---
117+
118+
## License & Usage Policy
119+
120+
This project is released **free of charge for all registered MBBS doctors worldwide** as a *Sadaqah Jariyah* (ongoing charitable contribution).
121+
122+
**Please do not sell this software or any part of it to any registered doctor.**
123+
124+
For bug reports or feature suggestions, email: **emranahmed.bd@gmail.com**
125+
126+
---
127+
128+
## About the Author
129+
130+
**Dr. Gazi Md Emran Ahmed, MBBS (DU)**
131+
Bangladesh
132+
133+
Built with the help of various AI tools. If you find any errors or have suggestions, please open an issue on this repository or reach out by email.
134+
135+
> *"Please pray for me, my family, and for all Muslims across the world."*
136+
137+
---
138+
139+
## Screenshots
140+
141+
**Login**
142+
143+
![Login Screen](screenshots/login.jpg)
144+
145+
---
146+
147+
**Write Prescription**
148+
149+
![Write Prescription](screenshots/write-prescription.jpg)
150+
151+
---
152+
153+
**New Patient Form**
154+
155+
![New Patient](screenshots/new-patient.jpg)
156+
157+
---
158+
159+
**Prescription Pad Design**
160+
161+
![Pad Design](screenshots/pad-design.jpg)
162+
163+
---
164+
165+
**Doctor Profile**
166+
167+
![Doctor Profile](screenshots/doctor-profile.jpg)
168+
169+
---
170+
171+
## Contributing
172+
173+
This is a personal project shared freely with the medical community. Pull requests that fix bugs or improve compatibility are welcome. Please do not submit pull requests that add monetisation, paywalls, or tracking of any kind.
174+
175+
---
176+
177+
*Made with care for the medical community. May it be of benefit.*

0 commit comments

Comments
 (0)