-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Description
There's a lot of plugins that would be fairly easy to write that'd be great to get in. Many would just be basically wrapping either a webpack plugin (e.g. adding support for a CSS preprocessor) or an NPM library (e.g. for transformer plugin). When you create a new plugin, you should also create a companion example site as both a way to demonstrate how the plugin works as well as an integration test for the plugin.
Adding plugins and example sites are easy. Simply checkout the Gatsby repo and run npm install at the root of repo. Then run npm run plop and choose to create either a plugin or example site and then follow the prompts to do the initial setup. Some of the plugins on the wishlist already have stubs in the repository.
If you want to try building one of these, just leave a comment to claim it and start coding! Also this list is by no means complete. Feel free to suggest ideas and take those on as well!
Plugin wishlist
CSS
- Less
- Stylus
- Aphrodite (tracked in [feat]: create gatsby-plugin-aphrodite #8709)
- CXS (tracked in [feat]: add gatsby-plugin-cxs #8710)
- Glamorous
- JSS
- styled-jsx (@timsuchanek working on this)
Transformer plugins
- CSV
- docx
- pdf (tracked in [feat]: add gatsby-transformer-pdf #8711)
- xml
- asciidoc (tracked in [feat]: add gatsby-transformer-asciidoc #8712)
- toml (@Vagr9K working on this)
- remote URLs (e.g. a referenced image would get downloaded and then made available as a local image).
Source plugins
Docs on writing source plugins https://www.gatsbyjs.org/docs/create-source-plugin/
- Trello
- Wordpress.com
- Drupal (there's the start of one already in the repo but there's a number of additions that'd be great to make)
- Prismic
- DatoCMS
- Github
- SQL databases (tracked in [feat]: add gatsby-source-sql #8714)
- MongoDB
- DynamoDB
- S3 bucket: See gatsby-source-s3
- https://www.accedo.tv/appgrid/
- https://github.com/marak/Faker.js/ — pass in a "schema" for the node e.g. title, date, author w/ avatar / markdown body and generate a bunch of Post nodes. Would be great for example sites!
Example sites
Beyond example sites showing off how to use the above plugins, it'd be great to have example sites demonstrating possible ways to build:
- Multi-language sites
- Search
- Pagination
- React Helmet
- Remark (markdown)