Thanks for your interest in contributing! This project is open to contributions of all kinds - bug reports, feature requests, documentation improvements, and code.
- Report a Bug
- Propose a Feature
- Security Issues - Please don't open public issues for vulnerabilities
- Roadmap and planning workflow
- Python 3.11+
- Docker (optional, for testing)
Follow Development and Testing for hash-locked dependency installation, an isolated test data directory, Node tooling, and the required checks. Python 3.11 is the minimum; the production container uses Python 3.15. Browser assets are already vendored, so no frontend build is needed to start the application.
| Path | Purpose |
|---|---|
app/ |
Flask application, authenticated Socket.IO handlers, SSH/SFTP and storage services |
static/, templates/ |
Vanilla JavaScript, CSS, vendored browser assets and Jinja templates |
config.py, start.py |
Configuration and application entry point |
tests/ |
Python, JavaScript, browser and disposable-server integration tests |
scripts/ |
Dependency locks, vendor updates, CI and release checks |
docs/wiki/ |
Versioned user and operator documentation |
site/ |
Public project website |
Before opening an issue:
- Check if the issue already exists
- Try the latest version
- Collect relevant info (browser, OS, error messages, logs)
Include in your bug report:
- What you expected to happen
- What actually happened
- Steps to reproduce
- Environment details (browser, OS, Docker version if applicable)
Start a Discussion for feature ideas. Please include:
- Clear description of the feature
- Use case - why is this useful?
- Possible implementation approach (optional)
- Check existing issues/PRs - Someone might already be working on it
- Open an issue first for larger changes - Let's discuss the approach
- Small PRs are better - Easier to review and merge
For substantial work, state the user problem, expected outcome and acceptance criteria
in the linked issue/proposal. Include the reason for the chosen approach, validation,
compatibility/security impact and remaining rollout checks in the PR. A new or changed
setting, port or volume in docker-compose.yml also updates the Unraid template
unraid/webssh.xml in the same PR; tests/test_unraid_template.py enforces this. Maintainers assign
accepted work to a release milestone; merging does not itself publish a release.
See the planning and release workflow for the lightweight cycle.
- Fork the repository
- Create a feature branch from
maingit checkout -b feature/your-feature-name
- Make your changes
- Test your changes locally
- Commit with clear messages
- Push to your fork
- Open a Pull Request
Python:
- Follow PEP 8
- Use meaningful variable names
- Keep functions focused and small
- Lean code: no unnecessary comments, docstrings only where logic is non-obvious
JavaScript:
- Vanilla JS only (no frameworks - intentional architecture decision)
- Use consistent indentation (4 spaces)
- Prefer
constoverlet, avoidvar
General:
- No trailing whitespace
- Files end with a newline
- Keep lines under 100 characters when reasonable
Write clear commit messages:
Add SFTP directory creation support
- Implement mkdir operation in sftp_handler.py
- Add socket event handler for create_directory
- Update file manager UI with create folder button
Fixes #42
Format:
- First line: Brief summary (imperative mood, max 50 chars)
- Blank line
- Body: Explain what and why (wrap at 72 chars)
- Reference issues if applicable
This project handles SSH credentials. When contributing, please:
- Never log passwords or private keys
- Validate and sanitize all user input
- Check session ownership before operations
- Use parameterized queries (SQLAlchemy handles this)
- Clear sensitive data from memory when done
- Consider path traversal in file operations
If your change touches authentication, encryption, or session handling, please note this in your PR for extra review attention.
Everything committed here is published. Do not commit local development instructions, tool configuration, private notes, development captures, temporary test output, workstation paths, credentials, or unreferenced media. Keep reusable product and operator documentation in the public documentation areas.
Run the same repository guard used by CI before submitting:
python scripts/check_repository_hygiene.py
The guard inspects tracked files directly, so force-adding an ignored file does
not bypass it. Changes that add a forbidden path, an internal-instruction marker,
a workstation-specific tool path, or an unreferenced file under assets/ fail
the required dispatch-integrity check.
On pull requests the same check also rejects coding-assistant attribution in the PR title, description, branch name and every commit of the PR: tool identities as author or committer, co-author or session trailers, session links and "generated by" footers. Check your commits before pushing:
python scripts/check_repository_hygiene.py --commits origin/main..HEAD
The description is checked when the PR is opened or updated with new commits; editing it alone does not rerun the check.
Before submitting:
- Manual testing - Verify your changes work as expected
- Test edge cases - Empty inputs, special characters, large files
- Check different browsers - Chrome, Firefox, Safari at minimum
- Test with Docker - Ensure containerized deployment works
docker build -t webssh:test . docker run -p 5000:5000 -e SECRET_KEY=$(openssl rand -hex 32) -e CORS_ORIGINS=http://localhost:5000 webssh:test
Documentation improvements are always welcome:
- Fix typos or unclear explanations
- Add examples
- Improve README
- Add inline code comments
Areas where contributions are especially welcome:
- Automated tests (pytest, playwright)
- Internationalization (new language translations)
- Accessibility improvements
- Performance optimizations
- Additional themes
- Documentation
Be respectful and constructive. We're all here to build something useful.
- Be welcoming to newcomers
- Accept constructive criticism gracefully
- Focus on what's best for the project
- Show empathy towards others
Reach out via issues or directly at [email protected]
By contributing, you agree that your contributions will be licensed under Apache License 2.0. See LICENSE for the terms and Licensing for historical and third-party notices.