Thank you for your interest in contributing to GitDock. This document explains how to set up the project, our code style, and how to submit changes.
Be respectful and constructive. We aim to keep the community welcoming and focused on building a useful tool for developers.
- Node.js v18 or later
- Git v2.30+
- GitHub CLI (gh) v2.0+ (for API and auth)
- SSH (OpenSSH) for Git operations
git clone https://github.com/gitdock-dev/gitdock.git
cd gitdock
npm install
npm startThe dashboard will be available at http://127.0.0.1:3847. To run with auto-reload during development:
npm run devTo work on the multi-machine Hub:
cd hub
cp .env.example .env
# Set HUB_SECRET (min 32 chars) and optionally HUB_DB_KEY
npm install
npm startHub runs at http://localhost:3848 by default.
- Language: All code and comments in English.
- Backend: Vanilla Node.js and Express. No TypeScript or extra frameworks in the core app.
- Frontend: Vanilla HTML, CSS, and JavaScript. No React, Vue, or other frameworks in the dashboard or landing page.
- Formatting: Use consistent indentation (spaces). Keep lines readable (avoid very long lines).
- Security: Do not add arbitrary command execution, and do not expose sensitive data. Paths and inputs must be validated and sanitized.
- Fork the repository and create a branch from
main(e.g.feat/your-featureorfix/issue-description). - Make your changes and test locally (
npm startand, if relevant, the Hub). - Commit with clear messages (e.g.
feat: add X,fix: resolve Y). - Push to your fork and open a Pull Request against
gitdock-dev/gitdockmain. - Describe what you changed and why. Reference any related issues.
- Use Issues for bugs, feature ideas, or documentation improvements.
- Search existing issues first to avoid duplicates.
- For bugs, include steps to reproduce, your OS, and Node version when relevant.
- Open an issue with the "question" label, or contact the maintainers via the email on the project homepage.
Thank you for contributing.