| # Contributing to HuggingClaw |
|
|
| Thanks for your interest in contributing! π¦ |
|
|
| ## How to Contribute |
|
|
| ### Bug Reports |
| - Open an issue with a clear description |
| - Include your HF Space logs if possible |
| - Mention which LLM provider you're using |
|
|
| ### Feature Requests |
| - Open an issue with the `enhancement` label |
| - Describe the use case β why is this needed? |
|
|
| ### Pull Requests |
| 1. Fork the repo |
| 2. Create a feature branch: `git checkout -b feature/my-feature` |
| 3. Make your changes |
| 4. Test locally with Docker: `docker build -t huggingclaw . && docker run -p 7861:7861 --env-file .env huggingclaw` |
| 5. Commit with a clear message |
| 6. Push and open a PR |
|
|
| ### Code Style |
| - Shell scripts: use `set -e`, quote variables, comment non-obvious logic |
| - Keep it simple β this project should stay easy to understand |
| - No unnecessary dependencies |
|
|
| ### Testing |
| - If touching routing or Docker startup, verify both `/app/` (OpenClaw UI) and `/terminal/` (JupyterLab terminal). |
| - Test with at least one LLM provider (Anthropic, OpenAI, or Google) |
| - Test with and without Telegram enabled |
| - Test with and without workspace backup enabled |
| - Verify dashboard setup and auto-sync work |
|
|
| ## Development Setup |
|
|
| ```bash |
| cp .env.example .env |
| # Fill in your values |
| docker build -t huggingclaw . |
| docker run -p 7861:7861 --env-file .env huggingclaw |
| ``` |
|
|
| ## Questions? |
|
|
| Open an issue or start a discussion. We're friendly! π€ |
|
|