Contributing to Pika-pika
Thank you for your interest in contributing to Pika-pika!
Development Setup
Local Machine (No Hardware)
You can develop the UI and logic on your local machine using the demo mode.
- Install uv: If you don't have it, install uv.
- Setup:
make sync - Run Dev Server:
make dev - Access Demo: Open
http://localhost:8000/demo
Project Structure
pika/: Main Python package.app.py: FastAPI application.datalogger.py: Core sampling and logging logic.mini_display.py: LCD display logic.static/: Frontend assets (JS, CSS, Images).templates/: HTML templates.docs/: Documentation (MkDocs).scripts/: Utility and installation scripts.
Standards
- Code Style: We use
rufffor linting and formatting. - Type Hints: Please use Python type hints where possible.
- Tests: (Coming soon) We aim for high coverage on core logic.
Pull Request Process
- Fork the repository.
- Create a feature branch.
- Commit your changes with descriptive messages.
- Submit a Pull Request to the
mainbranch.
Documentation
When adding features, please update the relevant files in docs/ and verify with make docs-serve.