{"id":24795916,"url":"https://github.com/moroii69/proofly","last_synced_at":"2026-01-04T14:06:05.079Z","repository":{"id":270057388,"uuid":"907609055","full_name":"moroii69/proofly","owner":"moroii69","description":"Health management web application offering personalized insights and real-time monitoring for proactive health maintenance.","archived":false,"fork":false,"pushed_at":"2025-01-28T15:41:26.000Z","size":2602,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T16:34:36.254Z","etag":null,"topics":["firebase","nextjs","radix-ui","typescript"],"latest_commit_sha":null,"homepage":"https://www.proofly.xyz/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moroii69.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-12-24T01:43:13.000Z","updated_at":"2025-01-28T15:41:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"91da55bf-855e-4a6e-b982-58e174d29443","html_url":"https://github.com/moroii69/proofly","commit_stats":null,"previous_names":["moroii69/proofly"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moroii69%2Fproofly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moroii69%2Fproofly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moroii69%2Fproofly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moroii69%2Fproofly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moroii69","download_url":"https://codeload.github.com/moroii69/proofly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236279862,"owners_count":19123447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["firebase","nextjs","radix-ui","typescript"],"created_at":"2025-01-30T00:30:02.285Z","updated_at":"2025-10-12T21:31:57.336Z","avatar_url":"https://github.com/moroii69.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proofly\n\n![Version](https://img.shields.io/badge/version-1.2.4-blue)\n![Python](https://img.shields.io/badge/python-3.8%2B-blue)\n![License](https://img.shields.io/badge/license-MIT-green)\n![Build](https://img.shields.io/badge/build-passing-brightgreen)\n\n## Overview\n\n**Predict, Prevent, Protect.**\n\nEmpowering individuals to manage chronic conditions with personalized health insights. Begin your journey toward better health today.\n\n## Web Application\n\n### Key Features\n\n- **Health Predictions**  \n  Leverage machine learning to predict potential health risks—anticipate and act before disaster strikes. It's proactive care, made simple.\n\n- **Real-time Monitoring**  \n  Imagine a personal health assistant tracking your vitals, 24/7. Instant feedback on your daily metrics for continuous optimization.\n\n- **Data Security**  \n  Rest assured, your health data is encrypted with military-grade security. Only authorized personnel have access to your information.\n\n### Dashboard Overview\n\n| Feature | Description |\n|-----------------------|--------------------------------------------------------------|\n| **Health Score** | Dynamically generated based on recent metrics to give you an at-a-glance health status. *No data available yet. Start adding metrics.* |\n| **Risk Level** | Real-time assessment of your current risk for various conditions based on tracked data. *No data available yet.* |\n| **Next Check-up** | Set reminders and manage your check-up schedule seamlessly. *Feature coming soon.* |\n| **Health Predictions** | Your health metrics will directly impact your personalized health predictions. *Add metrics to begin.* |\n| **Recent Metrics** | Quickly view the latest health metrics you've entered. *No metrics available yet. Start tracking today.* |\n| **Add New Health Metric** | Easily track various health metrics including blood glucose, blood pressure, heart rate, and more. *Add your first metric now.* |\n\n### Tech Stack\n\n| Category | Technologies / Tools |\n|-----------------------|---------------------------------------------------------|\n| **Frontend** | React.js, Next.js (14.2.18) |\n| **Backend \u0026 Security** | Node.js, Express.js, reCAPTCHA, HSTS, Firebase |\n| **UI/UX Frameworks** | Tailwind CSS, Radix UI, shadcn/ui, Lucide (icons) |\n| **Build Tools** | Webpack, Vercel (deployment platform) |\n| **Data Handling** | WebSockets (for real-time updates), GraphQL (data querying) |\n| **Performance** | Priority Hints (performance optimization) |\n| **Machine Learning** | TensorFlow, Firebase ML, Scikit-learn |\n\n### Future Roadmap\n\n- [ ] **Reminders for Check-ups and Medications**  \n  Automated reminders to ensure timely follow-ups and medication adherence.\n- [x] **Multi-device Health Data Sync**  \n  Sync your health data across multiple devices seamlessly for a unified experience.\n- [x] **Advanced Analytics Dashboard**  \n  Visualize and analyze trends in your health metrics with advanced analytics and predictive graphs.\n- [x] **AI-driven Health Insights**  \n  Receive tailored recommendations based on predictive models for a proactive health management strategy.\n\n### Live Demo\n\nExplore the live version of the app here:  \n[proofly](https://proofly.xyz/)\n\n## Python Package\n\n### Installation\n\nInstall Proofly using pip:\n\n```bash\npip install proofly\n```\n\n### Prerequisites\n\n- Python 3.8 or higher\n- pip package manager\n- Virtual environment (recommended)\n\n### Basic Usage\n\n```python\nfrom proofly import HealthAnalyzer\nfrom proofly.models import DiabetesMetrics\nfrom datetime import datetime\n\n# Initialize the analyzer with custom configuration\nanalyzer = HealthAnalyzer(\n    config={\n        \"logging_level\": \"INFO\",\n        \"cache_enabled\": True,\n        \"validation_mode\": \"strict\"\n    }\n)\n\n# Create metrics using the type-safe model\nmetrics = DiabetesMetrics(\n    blood_glucose=120,\n    hba1c=6.5,\n    blood_pressure=130,\n    timestamp=datetime.now()\n)\n\n# Analyze metrics and get predictions\nprediction = analyzer.predict_risk(metrics)\nprint(f\"Risk Level: {prediction.risk_level}\")\nprint(f\"Confidence Score: {prediction.confidence}\")\n\n# Get personalized recommendations\nrecommendations = analyzer.get_recommendations(metrics)\nfor rec in recommendations:\n    print(f\"- {rec.description}\")\n```\n\n### API Reference\n\n#### Core Classes\n\n##### HealthAnalyzer\nMain analysis engine for processing health metrics and generating insights.\n```python\nclass HealthAnalyzer:\n    def predict_risk(self, metrics: BaseMetrics) -\u003e AnalysisResult:\n        \"\"\"Predict health risks based on provided metrics.\"\"\"\n        \n    def get_recommendations(self, metrics: BaseMetrics) -\u003e List[Recommendation]:\n        \"\"\"Generate personalized health recommendations.\"\"\"\n```\n\n##### MetricConfig\nConfiguration management for analysis settings.\n```python\nclass MetricConfig:\n    \"\"\"Handles analyzer configuration and validation settings.\"\"\"\n```\n\n##### AnalysisResult\nContainer for analysis results and predictions.\n```python\nclass AnalysisResult:\n    \"\"\"Stores and manages analysis outcomes.\"\"\"\n```\n\n##### ReportGenerator\nUtility for generating health reports and summaries.\n```python\nclass ReportGenerator:\n    \"\"\"Creates detailed health reports from analysis results.\"\"\"\n```\n\n#### Health Metric Models\n\n- **DiabetesMetrics**: Blood glucose, HbA1c, blood pressure monitoring\n- **HypertensionMetrics**: Blood pressure and heart rate tracking\n- **COPDMetrics**: Respiratory function and symptoms\n- **CKDMetrics**: Kidney function markers\n- **CHFMetrics**: Heart failure indicators\n\n#### Utility Classes\n\n##### TrendAnalyzer\n```python\nclass TrendAnalyzer:\n    \"\"\"Analyzes temporal patterns in health metrics.\"\"\"\n```\n\n##### RiskCalculator\n```python\nclass RiskCalculator:\n    \"\"\"Calculates health risk scores and probabilities.\"\"\"\n```\n\n##### RecommendationEngine\n```python\nclass RecommendationEngine:\n    \"\"\"Generates personalized health recommendations.\"\"\"\n```\n\n##### DataValidator\n```python\nclass DataValidator:\n    \"\"\"Validates and sanitizes input health data.\"\"\"\n```\n\n### Advanced Configuration\n\n```python\nconfig = {\n    \"logging_level\": \"DEBUG\",  # DEBUG, INFO, WARNING, ERROR\n    \"cache_enabled\": True,     # Enable result caching\n    \"cache_ttl\": 3600,        # Cache timeout in seconds\n    \"validation_mode\": \"strict\",  # strict or lenient\n    \"prediction_threshold\": 0.85,  # Confidence threshold\n    \"api_timeout\": 30         # API request timeout in seconds\n}\n\nanalyzer = HealthAnalyzer(config=config)\n```\n\n### Error Handling\n\n```python\nfrom proofly.exceptions import ValidationError, AnalysisError\n\ntry:\n    metrics = DiabetesMetrics(blood_glucose=500)  # Invalid value\nexcept ValidationError as e:\n    print(f\"Validation failed: {e}\")\n\ntry:\n    prediction = analyzer.predict_risk(metrics)\nexcept AnalysisError as e:\n    print(f\"Analysis failed: {e}\")\n```\n\n### Version Compatibility\n\n| Python Version | Proofly Version | Support Status |\n|----------------|-----------------|----------------|\n| 3.8 | 1.0.0+ | Supported |\n| 3.9 | 1.0.0+ | Supported |\n| 3.10 | 1.1.0+ | Supported |\n| 3.11 | 1.1.2+ | Supported |\n\n## Contributing\n\nThis is a personal project. If you have suggestions or would like to contribute, feel free to open an issue or submit a pull request.\n\n## Documentation\n\nFor complete documentation, visit:\n[proofly documentation](https://docs.proofly.xyz/)\n\n## Support\n\n- Issues: [GitHub Issues](https://github.com/moroii69/proofly/issues)\n- Email: [Contact Us Directly](mailto:support@proofly.xyz)\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoroii69%2Fproofly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoroii69%2Fproofly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoroii69%2Fproofly/lists"}