This repository contains job definition file templates that can be used to post jobs to the Nosana Network.
Thank you for your interest in contributing to our repository! By adding your own job definition templates, you’re helping to build a valuable resource for the Nosana Network community.
Follow the steps below to submit a Pull Request (PR) with a new template:
- Go to the repository page on GitHub.
- Click on the "Fork" button in the upper-right corner to create your own copy of the repository.
After forking, clone your copy to your local machine:
git clone https://github.com/your-username/templates.git
cd templates
Create a new branch for your template submission:
git checkout -b add-template-your-template-name
Create a new folder for your template inside the templates
directory. Each template folder must contain the following files:
This file should provide basic information about your template using the following structure:
{
"id": "your-template-id",
"name": "Your Template Name",
"description": "A brief description of what the template does",
"category": ["Your Category"],
"icon": "https://link-to-an-icon-for-your-template"
}
- id: A unique identifier for your template.
- name: The name of the template.
- description: A concise description of what the job does.
- category: Relevant categories (can be multiple).
- icon: A URL link to an icon (e.g., a logo or related image).
This file should contain the job definition JSON. Refer to the Nosana Documentation for details on writing a job definition file.
Include a README.md
file with the following:
- Title: The name of your template.
- Description: A detailed description of the template, how it works, and any requirements.
- Screenshot/Video: Add an image, screenshot, or video showing the result of using your template (optional but encouraged). Make sure to only use absolute URLs.
Example README.md
:
# Your Template Name
## Description
A brief explanation of what the template does and how it works.
## Screenshot/Video
![Screenshot](https://link-to-screenshot)
After adding your template, commit your changes:
git add .
git commit -m "Add new template: your-template-name"
Push the branch to your forked repository:
git push origin add-template-your-template-name
- Go to your forked repository on GitHub.
- Click the "Compare & pull request" button.
- Submit the pull request for review.
- Ensure that the
info.json
andjob-definition.json
files are properly formatted and contain all necessary information. - Make sure your
README.md
is clear, descriptive, and includes a screenshot or video (if available). - Test your job definition to ensure it works as expected.
- Make sure your PR only contains the necessary files for your template.
We appreciate your contribution! Once your PR passes the validation tests, is reviewed, and approved, it will be merged into the main repository.