Thank you for contributing to FishStats! This guide will help you add your own aquarium species profiles.
-
Create a JSON file for your species in the appropriate directory:
src/species/fish/- for fish speciessrc/species/inverts/- for invertebratessrc/species/snails/- for snail speciessrc/species/plants/- for aquatic plantssrc/species/nonfish/- for other aquatic creatures
-
Name your file using the species common name in lowercase with hyphens instead of spaces (e.g.,
neon-tetra.json,java-fern.json). -
Fill out the species data following the JSON schema format.
-
Validate your file using
node validate-species.jsbefore submitting. A pull request check is in progress!
Your species JSON file must follow our schema. Required fields include:
id- Unique identifier (same as filename without extension)commonName- Common name of the speciesscientificName- Scientific name of the speciesdescription- A detailed description
See src/species/schema.json for the full schema (template) and src/species/fish/clownfish.json for a complete example.
- Include detailed care information (water parameters, tank requirements)
- Add feeding recommendations based on your experience
- Provide accurate size and lifespan information
- Include compatibility data with other species
- Add references to sources where possible
Run node validate-species.js to check that your JSON file is valid before submitting. This will catch any formatting errors or missing required fields.
If you have high-quality images, place them in the src/img/species/ directory using the same ID as your JSON file (e.g., neon-tetra-1.jpg, neon-tetra-2.jpg).
If you have any questions about contributing, please open an issue or contact Raf (raf@itsraf.com or form on website).
Thank you for helping build the FishStats database!
p.s. thanks chatgpt for making my inchoherent mispelled ramballing readable