Contributions to this project are welcome, and you do not need to have any development skills to contribute. Below are a few examples of what you can provide to the community.
Issues are used for bug reports and feature requests. Take care to read this guideline before creating a new issue. If you have questions, you need support or you want to contact the developers it's preferable to create a discussion.
To test the application, work-in-progress snapshots are published quite frequently, see releases. Try to always use the most recent snapshot, and report the issues you may get through.
TuxGuitar is available in many languages, but yours may be missing. We also regularly add new features and, therefore, new text strings to translate. Finally, not all translations are exhaustive. There's always work to do.
Translation files are available:
- here for the main application (desktop and Android);
- here for the macOS specific translations;
- there for plugins: tuner, batch file converter, jack and pdf export.
Other translation files specific to Android are present, these are derived from the files above.
The easiest way to update one translation is probably to open the English "messages.properties" file and the corresponding file for your language side by side. Those files can be edited with any standard text editor. Every line starting with a "#" character will be ignored and the corresponding message will be displayed in English. To translate a string: add the translated text after the "=" sign, remove the leading "# " and you're done.
To submit an updated translation, use the standard GitHub process. For small fixes you can as well drop an updated (zipped) file in a discussion.
TuxGuitar provides Android and desktop applications:
- files specific to Android application are located in the android folder;
- files specific to desktop applications are located in the desktop folder;
- files common to Android and desktop applications are located in the common folder.
Desktop application is available in different flavors:
- platform: FreeBSD, Linux (.tar.gz), Linux (.deb), macOS, Windows (standalone version), Windows (installable version);
- UI framework: SWT, JavaFX.
Note: only the SWT variants are included in the official releases, JavaFX variants support is not guaranteed.
Application is essentially developed in Java, however, some native modules can also include parts developed in another language (e.g. C). The application is built using Maven. For detailed build instructions please refer to INSTALL.md file.
For each {platform, UI framework} couple, one Maven project is defined in a pom.xml file. All Maven projects are located in the desktop/build-scripts folder. Each pom file defines all the successive build steps.
Note: it should be possible to build TuxGuitar also on some other architectures, but only x86_64 architecture is supported in this repo.
Refer to IDEs for instructions to set up a development environment.
If you want to implement one feature request or to fix an issue, mention it explicitly in the issue's discussion, so that others do not try to address it in parallel. To submit a contribution, follow the GitHub guidelines and create a pull request (PR). If your PR implements or fixes an issue, make this explicit in the PR's description (e.g. "should fix issue #xxx").
Most of the work on TuxGuitar takes place in the master branch, so you should create your PR in that branch. For risky modifications, you can open the PR in the tuxguitar-next branch. If the change proves to be stable enough, it will be merged into master and included in the upcoming release.
Use of generative AI and/or coding agents is discouraged but not strictly forbidden. If such tools can save time for developers they can also move the burden on the shoulders of maintainers (typically for code reviews). Whatever the method used for development, you shall remain able to explain and justify each single line of code submitted with a PR.