{"id":26380285,"url":"https://github.com/killercavin/cancer-beat","last_synced_at":"2025-03-17T05:19:36.846Z","repository":{"id":254765905,"uuid":"847475122","full_name":"Killercavin/cancer-beat","owner":"Killercavin","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-25T23:23:45.000Z","size":319,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-26T01:02:34.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Killercavin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-08-25T23:17:16.000Z","updated_at":"2024-08-26T01:02:35.804Z","dependencies_parsed_at":"2024-08-26T01:16:59.976Z","dependency_job_id":null,"html_url":"https://github.com/Killercavin/cancer-beat","commit_stats":null,"previous_names":["killercavin/cancer-beat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fcancer-beat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fcancer-beat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fcancer-beat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Killercavin%2Fcancer-beat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Killercavin","download_url":"https://codeload.github.com/Killercavin/cancer-beat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976383,"owners_count":20377691,"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":[],"created_at":"2025-03-17T05:19:36.265Z","updated_at":"2025-03-17T05:19:36.837Z","avatar_url":"https://github.com/Killercavin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://www.imghippo.com/i/ZK4zy1722288141.jpg\" title=\"Project Screenshot\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://i.imghippo.com/files/ZK4zy1722288141.jpg\" width=\"100%\" alt=\"Project Screenshot\"/\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cdiv\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-JavaScript-black?style=for-the-badge\u0026logoColor=white\u0026logo=javascript\u0026color=F7DF1E\" alt=\"javascript\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Gemini AI-black?style=for-the-badge\u0026logoColor=white\u0026logo=gemini\u0026color=412991\" alt=\"gemini ai\" /\u003e\n  \u003c/div\u003e\n  \u003ch3 align=\"center\"\u003eAI Cancer Care (BeatCancer: AI Assistant to Craft Personalized Cancer Care)\u003c/h3\u003e\n  \u003cdiv align=\"center\"\u003e\n    Welcome to the AI Cancer Care project, a revolutionary AI assistant designed to provide personalized cancer care by analyzing patient data, guidelines, and medical records. Our goal is to identify screening gaps and create tailored treatment plans to improve patient outcomes.\n  \u003c/div\u003e\n\u003c/div\u003e\n\n## 📋 Table of Contents\n\n1. 🤖 [Introduction](#introduction)\n2. 🔋 [Features](#features)\n3. 🏆 [Inspiration](#inspiration)\n4. ⚙️ [Setup and Deployment](#setup-and-deployment)\n5. 🚀 [Usage](#usage)\n6. 🌠 [Gemini AI Integration](#gemini-ai-integration)\n7. 🤝 [Contributing](#contributing)\n8. 📜 [License](#license)\n\n## 🤖 Introduction\n\nAI Cancer Care provides an easy and efficient way to craft personalized cancer care using AI. It interacts with the Gemini AI to analyze and generate detailed treatment plans based on patient data and medical records.\n\n## 🔋 Features\n\n- **Personalized Treatment Plans**: Analyzes patient data, medical records, and guidelines to identify gaps in cancer screening and follow-up care, crafting tailored treatment plans for individual patients.\n- **Secure Data Sharing**: Shares sensitive data securely using encryption and cryptographic features, protecting patient information while facilitating necessary data access for healthcare providers.\n\n## 🏆 Inspiration\n\nThis project is deeply personal to me. My grandmother recently passed away from cancer, and witnessing her struggle firsthand inspired me to create a solution that could help others in similar situations. She often faced difficulties in coordinating her care and keeping track of her treatment plan, which sometimes led to missed appointments and delayed treatments. I wanted to build an application that could alleviate these challenges for other patients and their families.\n\n## ⚙️ Setup and Deployment\n\n### Prerequisites\n\n- Node.js and npm installed\n\n### Steps\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/Killercavin/cancer-beat.git\n   cd cancer-beat\n   ```\n\n2. **Install Dependencies**\n\n   ```bash\n   npm install\n   ```\n\n3. **Setup Environment Variables**\n\n   Create a `.env` file in the root directory with the following content:\n\n   ```plaintext\n   VITE_GEMINI_API_KEY='Gemini api key here'\n   ```\n\n4. **Build the Project**\n\n   ```bash\n   npm run build\n   ```\n\n## 🚀 Usage\n\n1. **Upload Reports**: Patients or healthcare providers can upload medical reports directly into the system.\n2. **View Treatment Plan**: The AI assistant generates a detailed treatment plan based on the uploaded data and identified gaps.\n3. **Track Progress**: Patients can monitor their progress, completed screenings, and upcoming appointments through a user-friendly dashboard.\n\n## 🌠 Gemini AI Integration\n\nIncorporating Gemini AI into our system provides additional layers of analysis and generative capabilities:\n\n- **Detailed Image Analysis**: Gemini AI can process medical images uploaded by patients or healthcare providers, offering advanced diagnostic insights.\n- **Advanced Natural Language Processing**: Enhances the accuracy of treatment plans and patient data analysis.\n- **Scalable AI Infrastructure**: Leveraging Gemini AI's robust infrastructure allows for real-time data processing and analysis.\n\n### Example of Using Gemini AI:\n\n```javascript\nimport { GoogleGenerativeAI } from \"@google/generative-ai\";\n\nconst genAI = new GoogleGenerativeAI(process.env.VITE_GEMINI_API_KEY);\n\nconst readFileAsBase64 = (file) =\u003e {\n  return new Promise((resolve, reject) =\u003e {\n    const reader = new FileReader();\n    reader.onload = () =\u003e resolve(reader.result.split(\",\")[1]);\n    reader.onerror = reject;\n    reader.readAsDataURL(file);\n  });\n};\n\nconst handleFileUpload = async (file, filetype) =\u003e {\n  const base64Data = await readFileAsBase64(file);\n  const imageParts = [\n    {\n      inlineData: {\n        data: base64Data,\n        mimeType: filetype,\n      },\n    },\n  ];\n\n  const model = genAI.getGenerativeModel({ model: \"gemini-1.5-pro\" });\n  const prompt = \"Analyze this medical image and provide insights.\";\n\n  const result = await model.generateContent([prompt, ...imageParts]);\n  const response = await result.response;\n  console.log(response.text());\n};\n```\n\n## 🤝 Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.\n\n## 📜 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillercavin%2Fcancer-beat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillercavin%2Fcancer-beat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillercavin%2Fcancer-beat/lists"}