Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 163 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
# 🌍 Code of Conduct

## 1. Purpose

Welcome to our open-source community!
We are committed to providing a friendly, safe, and welcoming environment for everyone, regardless of background, experience, or identity.
This Code of Conduct outlines the expectations for all contributors, maintainers, and participants to ensure a positive and productive collaboration experience — especially during community-driven events such as **Hacktoberfest**.

Our goal is to build a community where learning, contribution, and mutual respect thrive.

---

## 2. Guiding Principles

We believe in the following values:

- **Respect**: Treat everyone with kindness and empathy.
- **Openness**: Share knowledge freely and welcome diverse opinions.
- **Collaboration**: Work together constructively and avoid hostility.
- **Integrity**: Contribute honestly without misrepresentation.
- **Growth**: Support new contributors and encourage learning.
- **Community First**: Prioritize collective success over personal gain.

---

## 3. Expected Behavior

We expect all participants to:

1. **Be Respectful and Inclusive**
- Use inclusive language and be considerate of differing viewpoints.
- Welcome newcomers and support those who are less experienced.
- Value diversity in ideas, people, and perspectives.

2. **Be Collaborative**
- Seek consensus and constructive feedback.
- Help resolve conflicts gracefully.
- Give credit where it is due.

3. **Demonstrate Integrity**
- Submit meaningful and original contributions.
- Refrain from plagiarism, spam, or irrelevant pull requests (especially during Hacktoberfest).
- Acknowledge mistakes and learn from them.

4. **Be Professional**
- Avoid offensive, discriminatory, or threatening language.
- Maintain professionalism in all discussions, comments, and pull requests.
- Keep project communication channels (GitHub, Discord, forums) civil and on-topic.

5. **Ensure Constructive Communication**
- Use clear and concise language.
- Provide context when asking questions or suggesting changes.
- Accept that others may disagree — and that’s okay.

---

## 4. Unacceptable Behavior

Unacceptable behaviors include, but are not limited to:

- Harassment, intimidation, or personal attacks.
- Discriminatory jokes, comments, or imagery.
- Trolling, spamming, or derailing conversations.
- Publishing private information (such as names or contact details) without permission.
- Submitting fake, low-quality, or automated pull requests.
- Using community spaces for advertising or unrelated self-promotion.
- Disrespecting project maintainers or community members.

Such actions may result in temporary or permanent removal from the project.

---

## 5. Responsibilities of Maintainers

Project maintainers are responsible for:

- Clarifying acceptable behavior and enforcing this Code of Conduct.
- Reviewing contributions and ensuring a respectful tone in all discussions.
- Taking corrective actions when contributors violate this policy.
- Protecting the community’s well-being and integrity.
- Encouraging mentorship and inclusivity for newcomers.

Maintainers have the right to remove, edit, or reject comments, commits, code, or contributions that do not align with this Code of Conduct, or to ban contributors for inappropriate behavior.

---

## 6. Scope

This Code of Conduct applies to all community spaces, including:

- The GitHub repository (issues, pull requests, comments, discussions).
- Associated communication platforms (Discord, Slack, Gitter, etc.).
- Events and activities organized by this project (online or offline).
- Any situation where an individual is representing the community or project.

---

## 7. Reporting Violations

If you witness or experience behavior that violates this Code of Conduct:

1. Contact the maintainers at **[[email protected]]**.
2. Include details such as what happened, when, where, and who was involved.
3. Reports will be handled confidentially, respectfully, and as quickly as possible.
4. The project team will take appropriate action to protect the community.

Retaliation against reporters of misconduct is not tolerated.

---

## 8. Enforcement

Violations of this Code of Conduct may result in:

1. **Verbal or Written Warning**
- A reminder of the Code of Conduct and a request to correct behavior.

2. **Temporary Suspension**
- Temporary restriction from participating in the project.

3. **Permanent Ban**
- Permanent removal from the community and revocation of contribution rights.

Enforcement decisions are made by the maintainers in good faith, aiming to protect community health and inclusivity.

---

## 9. Hacktoberfest and Open Source Etiquette

As this project participates in **Hacktoberfest**, please remember:

- Quality over quantity — spam PRs may lead to disqualification.
- Follow contribution guidelines (see `CONTRIBUTING.md`).
- Respect maintainers’ time and feedback.
- Help others and share what you learn.
- Celebrate collaboration and growth, not just PR counts!

Open source is built on trust, patience, and community — let’s make it rewarding for everyone 💚.

---

## 10. Acknowledgment and Inspiration

This Code of Conduct is adapted and expanded from the following sources:

- [Contributor Covenant v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)
- [Mozilla Community Participation Guidelines](https://www.mozilla.org/en-US/about/governance/policies/participation/)
- [Hacktoberfest Participation Rules](https://hacktoberfest.com/participation/)
- [Open Source Guides](https://opensource.guide/)

---

## 11. Final Words

We believe in the power of community-driven development.
By contributing to this project, you agree to uphold this Code of Conduct, respect others, and foster an inclusive, kind, and creative environment.

Let’s make open source better — together. 💪🌱

---

> “Alone we can do so little; together we can do so much.”
> — *Helen Keller*
Comment on lines +158 to +163
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you written this on your own, or was it in the code of conduct template?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gurjeetsinghvirdee Thanks for reviewing! I wrote that closing section myself to make the ending more meaningful and motivational. The rest of the file is based on the standard Contributor Covenant, but I added that short concluding line and quote to give it a positive closing note.