Skip to content

Contributing

We welcome contributions to Webserver! Whether it's fixing bugs, improving documentation, or adding new features, every contribution helps. Every little bit helps, want to contribute, here is how:

Ways to Contribute

  • Bug reports – Open an issue if you find a problem.
  • Feature requestsSuggest improvements or new capabilities.
  • Code contributionsFix a bug, implement a feature, or improve performance.
  • Documentation – Help us improve clarity and examples.

Coding style

While this is not enforced, we ask you to

  • Try to keep code clean, consistent, and modular. This will not only help you but those who will come later.
  • Try writing tests for new features and bug fixes.
  • Follow the existing project style for naming and formatting. If you see inconsistency, please open an issue
    • Functions / MethodsfunctionsLikeThis
    • Variablesvars_like_this
    • Private member variablesprivate_vars_like_this_ (with trailing underscore)
    • Structs / ClassesStructsLikeThis / ClassesLikeThisToo
    • EnumsENUMS_ARE::LIKE_THIS (namespace-style) or ENUMSARELIKE::This depending on context
    • Namespaceslowercase_or_compound
    • macrosALL_CAPS_WITH_UNDERSCORES
    • Templates / ConceptsCamelCaseLikeThis

Communication

  • Issues and pull requests are tracked on GitHub.
  • For larger changes, open a discussion first to discuss the design before implementing, then we'll create issue to track.

By contributing, you help make Webserver a robust and modern C++ framework better for everyone. Thank you for your support!