Firstly, thank you for your interest in contributing to Gopeed. This guide will help you better participate in the development of Gopeed.
This project only has one main branch, namely the main branch. If you want to participate in the
development of Gopeed, please fork this project first, and then develop in your fork project. After
development is completed, submit a PR to this project and merge it into the main branch.
It is recommended to develop and debug through the web. First, start the backend service, and start
it by the command line go run cmd/api/main.go, the default port of the service is 9999, and then
start the front-end flutter project in debug mode to run.
The internationalization files of Gopeed are located in the ui/flutter/lib/i18n/langs directory.
You only need to add the corresponding language file in this directory.
Please refer to en_us.dart for translation.
words prefixed with @ are not meant to be translated.
Don't forget to rundart format ./ui/flutterbefore you commit to keep your code in standard dart format
Turn on build_runner watcher if you want to edit api/models:
flutter pub run build_runner watch