Contributing to Offline Doctor

Thank you for your interest in contributing to Offline Doctor! This guide will help you get started with contributing to the project.

Repository

The project is hosted on GitHub at github.com/lpolish/offlinedoctor.

Project Structure

Getting Started

  1. Fork the repository
  2. Clone your fork:
    git clone https://github.com/YOUR_USERNAME/offlinedoctor.git
    
  3. Install dependencies:
    # Frontend dependencies
    npm install
       
    # Backend dependencies
    cd backend
    pip install -r requirements.txt
    

Development Setup

  1. Make sure you have Ollama installed and running
  2. Start the backend server:
    cd backend
    python server.py
    
  3. Start the Electron app:
    npm start
    

Making Changes

  1. Create a new branch for your changes:
    git checkout -b feature/your-feature-name
    
  2. Make your changes
  3. Test your changes thoroughly
  4. Commit with a descriptive message:
    git commit -m "feat: add new feature"
    
  5. Push to your fork:
    git push origin feature/your-feature-name
    
  6. Create a Pull Request

Code Style

Need Help?

License

By contributing to Offline Doctor, you agree that your contributions will be licensed under the MIT License.