Contributing to AIVault
Help us build the best resource for reusable AI components
Thank you for your interest in contributing to AIVault! We welcome contributions of all kinds, from adding new AI components to improving the website's code.
🧩 Adding a New Component
The core of AIVault is its library of reusable AI components. Adding a new one is easy:
- Fork the Repository: Create your own fork of the project.
- Create a Folder: Navigate to
components_repo/and create a new folder for your component. You can organize it into subfolders (e.g.,llm-agents/my-new-agent). - Add Your Code: Place your component's source code, documentation, and examples in this folder.
- Add Metadata: Crucial Step! You must create a
metadata.jsonfile in your component's root folder. This file tells the website how to display your component.{ "name": "My New Agent", "description": "A brief description of what this component does.", "tags": ["llm", "agent", "python"], "author": "Your Name or GitHub Handle", "version": "1.0.0" }Note: A unique
comp_idwill be automatically assigned to your component when it is processed by our build system. - Commit Your Changes: We follow a strict commit message convention to automate versioning.
- For Component Updates: Start your commit message with the component ID.
comp_xxxxx: feat: added new capability(Triggers Minor version bump)comp_xxxxx: fix: resolved parsing error(Triggers Patch version bump)
- For Website/UI Updates: Use standard conventional commits.
feat: added dark modefix: corrected navbar alignment
- For Component Updates: Start your commit message with the component ID.
- Add Yourself to Contributors: Open
CONTRIBUTORS.mdand add a new object to the JSON array:{ "name": "Your Name", "role": "Contributor", "email": "your@email.com", "linkedin": "optional-url", "location": "City, Country" } - Submit a Pull Request: Push your changes and open a PR to the
mainbranch.
💻 Improving the Website
If you want to work on the frontend (Astro/React):
- Install Dependencies:
npm install - Run Development Server:
npm run dev
This will start the server athttp://localhost:4321. - Make Changes: The source code is in the
src/directory. - Test: Ensure the site builds correctly with
npm run build.
🐞 Reporting Issues
If you find a bug or have a feature request, please open an issue on GitHub.
Ready to contribute?
Go to GitHub Repository