Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of 1.26.4, which is no longer the latest release. See the latest release.

Contributing to Gitea

Thank you for your interest in contributing to Gitea! This guide will help you understand how to contribute to the project effectively.

Before you start contributing, please read our Hacking on Gitea guide to set up your development environment.

We have specific guidelines for different types of contributions:

If you’re working on backend code (Go), please follow our Guidelines for Backend Development. This includes:

  • Package design and dependencies
  • Database operations and migrations
  • Testing strategies
  • Code organization

For frontend contributions (JavaScript, CSS, Vue), refer to our Guidelines for Frontend Development. This covers:

  • Framework usage (Vue3, Fomantic-UI)
  • Code style and best practices
  • Accessibility requirements
  • TypeScript usage

When refactoring existing code, follow our Guidelines for Refactoring to ensure:

  • Clear refactoring objectives
  • Proper review process
  • Maintaining backward compatibility
  • Incremental improvements

To contribute translations or localization improvements, see our Localization Guide which explains:

  • How to contribute translations via Crowdin
  • Supported languages
  • Translation workflow

Please be respectful and constructive in all interactions with the community. We are committed to providing a welcoming and inclusive environment for all contributors.

If you need help with your contribution:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes following the relevant guidelines
  4. Write tests for your changes
  5. Ensure all tests pass
  6. Submit a pull request

For more details, see our CONTRIBUTING.md in the main repository.

Thank you for helping make Gitea better!