static-browser-overlays

Contributing to Browser Overlays

Thank you for considering contributing to the Browser Overlays project! This document provides guidelines and instructions for contributing.

How to Contribute

Creating a New Overlay

  1. Fork the repository.
  2. Create a new branch for your overlay: git checkout -b new-overlay-name
  3. Follow the structure:
    sources/overlays/overlay-name/
    ├── overlay.html (or index.html)
    ├── styles.css (if separate from HTML)
    └── assets/ (for images, fonts, etc.)
    

    Or for backgrounds:

    sources/backgrounds/background-name/
    ├── background.html
    ├── styles.css (if separate from HTML)
    └── assets/ (for images, fonts, etc.)
    
  4. Include a README.md in your overlay folder explaining its features and customization options.
  5. Submit a pull request with a description of your overlay.

File Naming Conventions for Automatic Screenshots

Our project automatically generates screenshots of overlays and backgrounds for the documentation. For your overlay to be properly discovered and captured, please follow these naming conventions:

File Naming Priority (Hierarchical Approach)

  1. First Priority - Use one of these specific filenames:
    • overlay.html or overlay.htm (for overlays).
    • background.html or background.htm (for backgrounds).
    • index.html or index.htm.
    • default.html or default.htm.
  2. Second Priority - If you need a custom name, use filenames ending with:
    • *overlay.html or *overlay.htm (e.g., my-custom-overlay.html).
    • *background.html or *background.htm (e.g., winter-background.html).
  3. Final Fallback - Any HTML file (.html or .htm extension) will be used if no files match the above patterns.

The screenshot system will search for files in this order and use the first match it finds. To ensure your overlay is captured correctly, we recommend using one of the standard filenames from the first priority list.

Improving Existing Overlays

  1. Fork the repository.
  2. Create a new branch for your improvements: git checkout -b improve-overlay-name.
  3. Make your changes, ensuring they follow the style guidelines.
  4. Submit a pull request with a description of your improvements.

Reporting Issues

  1. Check if the issue already exists in the GitHub issues.
  2. Create a new issue with a descriptive title and detailed description.
  3. Include steps to reproduce the issue.
  4. Add screenshots if applicable.

Style Guidelines

HTML

CSS

JavaScript

Visual Design Guidelines

Pull Request Process

  1. Ensure your code follows the style guidelines.
  2. Update documentation if necessary.
  3. Include screenshots of your overlay in action.
  4. Submissions will be reviewed by maintainers before merging.

Community Guidelines

This project welcomes contributions from everyone and is committed to creating a friendly and inclusive environment. We encourage designs that are accessible to streamers from diverse backgrounds and that support self-actualization of all LGBTQIA+ people and anti-racist values.

Please provide constructive feedback, focusing on improvement of the project.

Thank you for contributing to make streaming overlays more accessible and beautiful for everyone!