Thanks for your interest in contributing! This document covers the basics.
- Fork the repository
- Clone your fork:
git clone https://github.com/<your-user>/unified-channel-java.git - Create a branch:
git checkout -b my-feature - Make your changes
- Run tests:
mvn clean test - Commit and push
- Open a pull request
- Java 17+
- Maven 3.8+
- Follow standard Java conventions
- Keep adapters self-contained: prefer
java.net.httpover heavy third-party dependencies - Use
java.util.logging(viaAbstractAdapter.log) for adapter logging - Add Javadoc for public classes and methods
- Create a class in
src/main/java/.../adapters/extendingAbstractAdapter - Implement
channelId(),connect(),disconnect(), andsend() - Call
emit(msg)when inbound messages arrive - Add tests in
src/test/java/.../ - Update the supported channels table in
README.md
mvn clean testUse concise, action-oriented messages:
feat: add LINE adapter with webhook support
fix: handle null text in Telegram updates
docs: update supported channels table
By contributing, you agree that your contributions will be licensed under the MIT License.