Skip to content

🎥 Make videos programmatically with React

feat: add library starter docs

Mohit Yadav929bf4c786ce
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ad29531fd4..9081a3ef86 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -9,3 +9,4 @@ Watch the contributing video tutorial: [Click here](https://www.youtube.com/watc
- [General information](https://remotion.dev/docs/contributing)
- [Implementing a new feature](https://remotion.dev/docs/contributing/feature)
- [Implementing a new option](https://remotion.dev/docs/contributing/option)
+- [Implementing a new package/component-library](https://remotion.dev/docs/contributing/library-template)
diff --git a/bun.lockb b/bun.lockb
new file mode 100755
index 0000000000..e41bfb69d3
Binary files /dev/null and b/bun.lockb differ
diff --git a/packages/bugs/package.json b/packages/bugs/package.json
index 61e76881e5..da6047b8c7 100644
--- a/packages/bugs/package.json
+++ b/packages/bugs/package.json
@@ -1,4 +1,5 @@
{
+ "name": "bugs",
"dependencies": {
"@types/node": "^20.6.5"
},
diff --git a/packages/docs/docs/contributing/library.md b/packages/docs/docs/contributing/library.md
new file mode 100644
index 0000000000..b42f6a3593
--- /dev/null
+++ b/packages/docs/docs/contributing/library.md
@@ -0,0 +1,15 @@
+---
+image: /generated/articles-docs-contributing-library.png
+title: Create libraries or components for Remotion
+sidebar_label: Libraries
+crumb: Contributing
+---
+
+Building libraries and components for the remotion ecosystem is a great way to contribute to remotion.
+
+We suggest starting from Remotion's library/component starter template which has all the best practices to create libraries and components for remotion.
+
+## See also
+
+- [NPM Kiosk](https://remotion.pro/npm-kiosk) to sell your npm package
+- [Remotion Store](https://remotion.pro/) to list your package for sale
diff --git a/packages/docs/docs/creating-a-library.md b/packages/docs/docs/creating-a-library.md
new file mode 100644
index 0000000000..31d6ffd06f
--- /dev/null
+++ b/packages/docs/docs/creating-a-library.md
@@ -0,0 +1,10 @@
+---
+image: /generated/articles-docs-creating-a-library.png
+id: creating-a-library
+title: Create a library/component pack for Remotion
+crumb: "How to"
+---
+
+[Remotion's library starter template](https://github.com/remotion-dev/library-template/) is the recommended way to get to speed with building packages and components for the remotion ecosystem.
+
+Remotion's library starter template is the official turborepo-based monorepo designed to be be easily cloned and contains scripts to publish, bundle, prettify, and so on. It has example repository with good defaults, and related docs.
diff --git a/packages/docs/docs/resources.md b/packages/docs/docs/resources.md
index 9c323625b0..ed37a584ca 100644
--- a/packages/docs/docs/resources.md
+++ b/packages/docs/docs/resources.md
@@ -18,6 +18,7 @@ This list tries to compile all templates, libraries, building blocks and example
- [Skia](https://github.com/remotion-dev/template-skia)
- [Tailwind](https://github.com/remotion-dev/template-tailwind)
- [Hello World Template with pull request video previews](https://github.com/stoat-dev/example-remotion)
+- [Library starter template with best practices](https://github.com/remotion-dev/library-template)
## SaaS starter Kits
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 367f58fda2..bb49e379c4 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -459,6 +459,7 @@ module.exports = {
"overlay",
"docker",
"javascript",
+ "creating-a-library",
],
},