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
- Frontend: Electron application using HTML/CSS/JavaScript
- Backend: Python Flask server interfacing with Ollama
- Documentation: Jekyll-based documentation (this site)
Getting Started
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/offlinedoctor.git
- Install dependencies:
# Frontend dependencies npm install # Backend dependencies cd backend pip install -r requirements.txt
Development Setup
- Make sure you have Ollama installed and running
- Start the backend server:
cd backend python server.py
- Start the Electron app:
npm start
Making Changes
- Create a new branch for your changes:
git checkout -b feature/your-feature-name
- Make your changes
- Test your changes thoroughly
- Commit with a descriptive message:
git commit -m "feat: add new feature"
- Push to your fork:
git push origin feature/your-feature-name
- Create a Pull Request
Code Style
- Follow the existing code style
- Use meaningful variable and function names
- Include comments for complex logic
- Write tests for new features
- Keep commits atomic and well-described
Need Help?
- Check out the Documentation
- Create an Issue
- Join our Community
License
By contributing to Offline Doctor, you agree that your contributions will be licensed under the MIT License.