This is the repository for the new version of ml5.js website, which is built using Gatsby. It contains the main homepage, community page, about page, blog, and learn page for the ml5.js library.
This is the current version of the ml5.js website.
- Gatsby 5 — static site generator
- React 18 — UI components
- Node.js — runtime environment
- gatsby-transformer-remark — Markdown processing
- gatsby-plugin-image — optimized image handling
ml5-website-v02-gatsby/
├── content/ # Markdown content
│ ├── blog/ # Blog posts
│ ├── featured-projects/ # Featured community projects
│ └── tutorials/ # Tutorial pages
├── src/
│ ├── assets/ # Static assets (fonts, icons, etc.)
│ ├── components/ # Reusable React components
│ ├── images/ # Image files used in source
│ ├── layout/ # Layout wrapper components
│ ├── pages/ # Top-level pages (index, about, etc.)
│ ├── styles/ # Global and component CSS
│ └── templates/ # Gatsby page templates (blog, tutorial)
├── static/ # Public static files
├── gatsby-config.js # Gatsby plugins and site metadata
├── gatsby-node.js # Dynamic page creation logic
├── gatsby-browser.js # Browser-specific Gatsby APIs
└── gatsby-ssr.js # Server-side rendering Gatsby APIs
-
Clone the repository:
git clone https://github.com/ml5js/ml5-website-v02-gatsby.git cd ml5-website-v02-gatsby -
Install dependencies:
npm install
-
Start the development server:
npm run develop
-
Open http://localhost:8000 in your browser.
We welcome contributions!
If you are in the ml5.js organization, create a new branch following the naming
convention below. Please avoid using any punctuation other than hyphens -. Category can be optional.
(category)/author-description-of-changes
If you are not in the ml5.js organization, follow these steps:
- Fork the repository and clone it to your local machine.
- Make changes.
- Commit your changes and push to the "main" branch on your forked repository.
- Create a new Pull Request (PR), by clicking on "Contribute" and then "Open Pull Request" on your forked repository.
- The PR will be reviewed and merged.
Please feel free to add any issues or feature requests in the Issues tab.
We believe in a friendly internet and community as much as we do in building friendly machine learning for the web. Please refer to our Code of Conduct for our rules for interacting with ml5 as a developer, contributor, or as a person using the library.
ml5.js is supported by the time and dedication of open source developers from all over the world. Funding and support is generously provided by a Google Education grant at NYU's ITP/IMA program and NYU Shanghai's IMA.