Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
style(docs): apply prettier formatting to community guidelines
Yudhi Armyndharisc98d3b77e75d
diff --git a/docs/20-community-guidelines.md b/docs/20-community-guidelines.mdindex 5c83b321f..9bd41c454 100644--- a/docs/20-community-guidelines.md+++ b/docs/20-community-guidelines.md@@ -103,6 +103,7 @@ We follow [Conventional Commits](https://www.conventionalcommits.org/):```**Types:**+- `feat`: A new feature- `fix`: A bug fix- `docs`: Documentation only changes@@ -136,18 +137,22 @@ refactor(database): migrate to TypeORM repository pattern```markdown## Description+Brief description of changes## Type of Change+- [ ] Bug fix (non-breaking change which fixes an issue)- [ ] New feature (non-breaking change which adds functionality)- [ ] Breaking change (fix or feature that causes existing functionality to change)- [ ] Documentation update## Testing+Describe how you tested your changes## Checklist+- [ ] My code follows the project's style guidelines- [ ] I have performed a self-review of my code- [ ] I have commented my code, particularly in hard-to-understand areas@@ -187,25 +192,21 @@ interface SendMessageOptions {* @param text - Message text content* @returns Promise resolving to the sent message*/-async function sendTextMessage(- sessionId: string,- phone: string,- text: string-): Promise<Message> {+async function sendTextMessage(sessionId: string, phone: string, text: string): Promise<Message> {// ...}```**Naming Conventions:**-| Type | Convention | Example |-|------|------------|---------|-| Classes | PascalCase | `SessionManager` |+| Type | Convention | Example |+| ---------- | ----------------------------------- | ----------------------- |+| Classes | PascalCase | `SessionManager` || Interfaces | PascalCase with I prefix (optional) | `Session` or `ISession` |-| Functions | camelCase | `sendMessage` |-| Variables | camelCase | `sessionCount` |-| Constants | UPPER_SNAKE_CASE | `MAX_SESSIONS` |-| Files | kebab-case | `session-manager.ts` |+| Functions | camelCase | `sendMessage` |+| Variables | camelCase | `sessionCount` |+| Constants | UPPER_SNAKE_CASE | `MAX_SESSIONS` |+| Files | kebab-case | `session-manager.ts` |## 20.3 Issue Guidelines@@ -217,12 +218,12 @@ defects in OpenWA — routing them correctly upfront saves time for everyone (fafor you, cleaner triage for maintainers). When in doubt, open a Discussion first; it canalways be promoted to an Issue once a real defect is confirmed.-| Open an **Issue** | Open a **Discussion** |-|---|---|+| Open an **Issue** | Open a **Discussion** |+| ------------------------------------------------------------------------ | --------------------------------------------------------------------------- || Reproducible defect in OpenWA code with clear steps, expected vs. actual | Setup / configuration help ("my proxy doesn't work, how do I configure X?") |-| Crash, panic, wrong API response, regression after upgrade | Provider-specific quirks (webshare, IPRoyal, brightdata, Twilio, etc.) |-| Documented behavior contradicted by actual behavior | "Is X possible?" / "What's the best way to Y?" |-| Security issue (use `SECURITY.md`, not a public issue) | Hosting-platform / network / firewall questions |+| Crash, panic, wrong API response, regression after upgrade | Provider-specific quirks (webshare, IPRoyal, brightdata, Twilio, etc.) |+| Documented behavior contradicted by actual behavior | "Is X possible?" / "What's the best way to Y?" |+| Security issue (use `SECURITY.md`, not a public issue) | Hosting-platform / network / firewall questions |**Common gray-zone examples (these go to Discussions, not Issues):**@@ -243,9 +244,11 @@ Use the bug report template:```markdown## Bug Description+Clear and concise description of the bug## Environment+- OpenWA Version:- Node.js Version:- OS:@@ -253,21 +256,26 @@ Clear and concise description of the bug- Database: SQLite / PostgreSQL## Steps to Reproduce+1. Go to '...'2. Click on '....'3. Scroll down to '....'4. See error## Expected Behavior+What you expected to happen## Actual Behavior+What actually happened## Screenshots/Logs+If applicable, add screenshots or logs## Additional Context+Any other relevant information```@@ -277,53 +285,60 @@ Use the feature request template:```markdown## Feature Description+Clear description of the feature you'd like## Use Case+Why do you need this feature? What problem does it solve?## Proposed Solution+If you have a solution in mind, describe it here## Alternatives Considered+Other solutions you've considered## Additional Context+Any other relevant information, mockups, or examples```### Issue Labels-| Label | Description |-|-------|-------------|-| `bug` | Something isn't working |-| `enhancement` | New feature or request |-| `documentation` | Improvements to docs |-| `good first issue` | Good for newcomers |-| `help wanted` | Extra attention needed |-| `question` | Further information requested |-| `needs-info` | Awaiting reporter input to proceed |-| `not-a-bug` | External/environmental cause (provider, network, hosting); not an OpenWA defect |-| `move-to-discussions` | Belongs in GitHub Discussions, not Issues — see §20.3 Issue vs. Discussions |-| `invalid` | This doesn't seem right |-| `wontfix` | This will not be worked on |-| `duplicate` | This issue already exists |-| `security` | Security-related |-| `design` | Architecture / design discussion |-| `engine:baileys` | Baileys engine specific |-| `upstream-blocked` | Blocked on upstream library/WhatsApp behavior; no OpenWA-side fix |+| Label | Description |+| --------------------- | ------------------------------------------------------------------------------- |+| `bug` | Something isn't working |+| `enhancement` | New feature or request |+| `documentation` | Improvements to docs |+| `good first issue` | Good for newcomers |+| `help wanted` | Extra attention needed |+| `question` | Further information requested |+| `needs-info` | Awaiting reporter input to proceed |+| `not-a-bug` | External/environmental cause (provider, network, hosting); not an OpenWA defect |+| `move-to-discussions` | Belongs in GitHub Discussions, not Issues — see §20.3 Issue vs. Discussions |+| `invalid` | This doesn't seem right |+| `wontfix` | This will not be worked on |+| `duplicate` | This issue already exists |+| `security` | Security-related |+| `design` | Architecture / design discussion |+| `engine:baileys` | Baileys engine specific |+| `upstream-blocked` | Blocked on upstream library/WhatsApp behavior; no OpenWA-side fix |## 20.4 Community Channels### GitHub DiscussionsPrimary community forum for:+- Questions and answers- Feature discussions- Show and tell- General discussionsCategories:+- **Announcements**: Official announcements from maintainers- **Q&A**: Questions about using OpenWA- **Ideas**: Feature suggestions and brainstorming@@ -333,11 +348,13 @@ Categories:### Discord Server (Optional)Real-time chat for:+- Quick questions- Community support- Development discussionsChannels:+- `#general` - General discussion- `#support` - Help with OpenWA- `#development` - Development discussions@@ -385,42 +402,50 @@ RFC Template:# RFC: [Title]## Summary+One paragraph explanation## Motivation+Why are we doing this?## Detailed Design+Technical details of the implementation## Drawbacks+Why should we NOT do this?## Alternatives+What other designs have been considered?## Unresolved Questions+What related issues are out of scope?```### Maintainer Roles-| Role | Responsibilities |-|------|------------------|-| **Owner** | Final decision authority, project direction |-| **Maintainer** | Code review, merge PRs, triage issues |-| **Committer** | Merge own PRs after approval |-| **Contributor** | Submit PRs, report issues |+| Role | Responsibilities |+| --------------- | ------------------------------------------- |+| **Owner** | Final decision authority, project direction |+| **Maintainer** | Code review, merge PRs, triage issues |+| **Committer** | Merge own PRs after approval |+| **Contributor** | Submit PRs, report issues |### Becoming a MaintainerMaintainer status is earned through:+- Consistent quality contributions- Helpful community participation- Understanding of project goals- Positive collaborationProcess:+1. Nominated by existing maintainer2. Discussion among maintainers3. Unanimous approval required@@ -430,6 +455,7 @@ Process:### ContributorsAll contributors are recognized in:+- `CONTRIBUTORS.md` file- Release notes- README acknowledgments@@ -437,6 +463,7 @@ All contributors are recognized in:### Contribution TypesWe value all contributions:+- Code contributions- Documentation improvements- Bug reports@@ -465,10 +492,12 @@ This project follows the [all-contributors](https://github.com/all-contributors/**DO NOT** report security vulnerabilities through public GitHub issues.Instead:+1. Email: [email protected]2. Use GitHub Security Advisories (private)Include:+- Type of vulnerability- Full paths of affected files- Step-by-step instructions to reproduce@@ -478,11 +507,11 @@ Include:### Response Timeline| Severity | Initial Response | Resolution Target |-|----------|------------------|-------------------|-| Critical | 24 hours | 7 days |-| High | 48 hours | 14 days |-| Medium | 7 days | 30 days |-| Low | 14 days | 90 days |+| -------- | ---------------- | ----------------- |+| Critical | 24 hours | 7 days |+| High | 48 hours | 14 days |+| Medium | 7 days | 30 days |+| Low | 14 days | 90 days |### Disclosure Policy@@ -490,6 +519,7 @@ Include:- We will confirm the vulnerability and work on a fix- We will notify you when the fix is released- We will credit you in the security advisory (unless you prefer anonymity)+---<div align="center">