First off, thanks for taking the time to contribute! ❤️
Contributions of all kinds are welcome and truly appreciated.
If you enjoy the project but don’t write code, you can still help a lot by:
- Starring the repository
- Improving documentation (README, CONTRIBUTING, etc.)
- Helping with translations
- Reporting bugs
- Suggesting features or improvements
If you’d like to contribute code, the guidelines below will help you get started.
- Follow official Kotlin Coding Conventions
- Use Android Studio’s default formatter (
Ctrl + Alt + L) - Prefer clear and descriptive names for variables, functions, classes, and files
- Keep functions, objects and classes small, focused, and readable
- Group related code logically and separate concerns clearly
- Remove unused imports and group related imports together
When in doubt, prefer readability and simplicity over cleverness.
- Follow modern Android development practices
- Keep UI logic separate from business logic
- Avoid unnecessary abstractions
- Prefer lifecycle-aware components
- Keep the app lightweight and aligned with its core goals
Please use the Conventional Commits format whenever possible:
https://www.conventionalcommits.org/
<type>: <short description>
Common types include:
feat– new featurefix– bug fixrefactor– code improvement without behavior changechore– maintenance tasks (Gradle, formatting, tooling)
Examples:
feat: Add find and replace support
fix: Handle empty file on save
refactor: Simplify editor state handling
- Android Studio
Latest stable version: https://developer.android.com/studio - Git
Required for cloning and managing the repository
-
Fork the repository
Click the Fork button at the top-right of the repository page. -
Clone your fork
git clone git@github.com:<your-username>/TextOnDroid.git cd TextOnDroid
-
Open the project in Android Studio
- Launch Android Studio
- Select Open an Existing Project
- Navigate to the cloned directory
- Let Gradle sync complete
-
Run the app
- Connect a physical Android device or start an emulator
- Click the ▶ Run button in Android Studio
- Create a new branch for your changes
- Commit your work with a clear commit message
- Push the branch to your fork
- Open a pull request via Contribute → Open pull request
- Provide:
- A clear title
- A concise description of what changed and why
- References to related issues (e.g.
Fixes #42)
Smaller, focused pull requests are easier to review and merge.
Thanks again for contributing and helping improve TextOnDroid! 🚀