Thank you for considering contributing to ToolKit! ToolKit is a community-driven project focused on creating a collection of practical, ad-free tools. This document provides guidelines to help ensure all contributions are consistent, functional, and easy for others to use.
- Start by forking the ToolKit repository to your own GitHub account.
- Clone your fork locally to begin making changes:
git clone https://github.com/jackh54/ToolKit.git cd ToolKit
- To keep things organized, create a new branch for your contribution:
git checkout -b add-your-tool-name
- Categories: Navigate to the appropriate category folder in
tools/
(e.g.,tools/rgb-utilities/
,tools/minecraft/
). If your tool doesn't fit into an existing category, consider adding a new category folder. - Files: Each tool should include:
index.html
: Tool-specific HTML.your-tool-name.js
: Tool-specific JavaScript functionality.- If additional styling is necessary, add to the shared
style.css
inassets/css/
and follow the existing style conventions.
- Naming: Use descriptive names for tools and files. For example, "RGB Picker" should be in
tools/rgb-utilities/rgb-picker/
. - Shared Styling: All tools use a shared
style.css
to maintain consistency. If additional styles are necessary, add them sparingly and follow the established CSS naming conventions. - Documentation: Each tool should contain a brief usage description at the top of
index.html
or within the tool's code. This ensures users can understand and use the tool effectively.
- Local Testing: Open
index.html
in a browser to check your tool's functionality and integration with ToolKit. - Validation: Ensure your tool is responsive, accessible, and compatible with the current site design.
- Cross-Browser Testing: If possible, test on multiple browsers to ensure consistency.
-
Commit Your Changes: Once you’re happy with your tool, commit your changes with a clear, concise message:
git add . git commit -m "Add [tool name] to [category]"
-
Push to Your Branch:
git push origin add-your-tool-name
-
Open a Pull Request:
- Go to the original repository on GitHub.
- Open a pull request from your branch, describing your tool and any key details.
- Describe the purpose of your tool.
- Mention the category and where it can be accessed.
- Add yourself to the
contributors.json
file with your name and GitHub profile link.
Please maintain respectful communication and constructive feedback when reviewing or commenting on pull requests. ToolKit is a collaborative environment built on mutual respect and shared learning.
Thank you for helping make ToolKit a better resource for everyone!