Thank you for your interest in contributing to Chat Bridge! — We appreciate your help in making this project better.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.
If you're new to contributing to open source projects, you can start by looking at issues labeled as "good first issue" or "help wanted."
-
Fork the repository.
-
Clone your forked repository to your local machine:
git clone https://github.com/BadEnd777/Chat-Bridge.git
-
Create a new branch for your changes:
git checkout -b feature-or-fix-branch
-
Make your changes and commit them:
git add . git commit -m "Description of your changes"
-
Push your changes to your fork:
git push origin feature-or-fix-branch
-
Open a pull request (PR) against the
main
branch of the original repository.
To get started with development, follow these steps:
-
Install the dependencies:
npm install
-
Create a new bot on Facebook and get your access token.
-
Change the path of the library to your local path.
-
Run the development server:
node path/to/your/entry/file
This project uses ESLint and Prettier to enforce a consistent code style. Please make sure to run npm run lint
and npm run format
before submitting a pull request.
To test your changes — Like a Development Setup section, you need to create a new bot on Facebook and test your changes.
When submitting a pull request, please make sure to:
- Provide a clear and concise description of the changes.
- Reference the related issue if applicable.
- Ensure that your changes pass all tests.
- Keep the pull request focused on a single issue or feature.
All contributions will go through a code review process. Be open to feedback and willing to make changes based on the review.
We appreciate your contribution to Chat Bridge. You're awesome! 🎉