# Repository Template

**URL:** https://community.prismic.io/t/repository-template/714
**Category:** Features
**Tags:** product-feature-idea
**Created:** [June 8, 2020, 12:02pm UTC](https://community.prismic.io/t/repository-template/714 "2020-06-08T12:02:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![christian](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@christian](https://community.prismic.io/u/christian)
#### Post date: [June 8, 2020, 12:02pm UTC](https://community.prismic.io/t/repository-template/714/1 "2020-06-08T12:02:13Z")

</div>

Hey,

not sure if this is the right channel, but is there any way — and if not I guess it would be a great feature — to have a template repository?

When starting I always copy paste the same settings, basic uid, page titles, global seo / meta fields, ... and it would be great to have some kind of default repository.

---

<div class="post-metadata">

### Author: ![Levi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/levi/32/24_2.png) [@Levi](https://community.prismic.io/u/Levi)
#### Post date: [June 8, 2020, 12:38pm UTC](https://community.prismic.io/t/repository-template/714/2 "2020-06-08T12:38:04Z")

</div>

Hello @christian, we have a feature called Themes that allows you to launch a new project and create a new Prismic repository that is automatically filled with your defined Custom Types. I think it might be exactly what you’re looking for.

Take a look and read more about it here:

> **[How to create a theme to quickstart your projects for Prismic](https://intercom.help/prismicio/en/articles/764581-how-to-create-a-theme-to-quickstart-your-projects-for-prismic)**
>
> To quickly get a website up and running with Prismic, we’ve added the ability to launch a project from a theme.

---

<div class="post-metadata">

### Author: ![christian](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@christian](https://community.prismic.io/u/christian)
#### Post date: [June 8, 2020, 12:47pm UTC](https://community.prismic.io/t/repository-template/714/3 "2020-06-08T12:47:37Z")

</div>

Thank you Levi, exactly what I was looking for.

That’s why I love Prismic 😉

---

<div class="post-metadata">

### Author: ![Levi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/levi/32/24_2.png) [@Levi](https://community.prismic.io/u/Levi)
#### Post date: [June 8, 2020, 12:48pm UTC](https://community.prismic.io/t/repository-template/714/4 "2020-06-08T12:48:40Z")

</div>

Happy to help! 😀

---

<div class="post-metadata">

### Author: ![jjames.home](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/jjames.home/32/44_2.png) [@jjames.home](https://community.prismic.io/u/jjames.home)
#### Post date: [June 8, 2020, 4:09pm UTC](https://community.prismic.io/t/repository-template/714/5 "2020-06-08T16:09:22Z")

</div>

I didn’t know about this! Looks really great! Is there a way to sync to existing repos?

I am trying to push to an existing Prismic and I have a `custom_types` and a ` prismic-configuration.js`. The Git repo is private and I am using a branch. I have added the correct endpoint `https://repo.prismic.io/api`. There’s only `page` custom type in the repo in the repo, but when I run the CLI my configuration is incorrect:

```auto
prismic theme https://github.com/username/repo/archive/branch.zip --conf ./prismic-configuration.js
? URL of your theme (zip/github): https://github.com/username/repo/archive/branch.zip
We are checking the theme integrity
Invalid theme provided, check your zip file.

```

Edit: Forked the project repo, made it public and used the `prismic theme` and it seemed to work, except didn’t make any custom types in the Prismic repo. ☹

---

<div class="post-metadata">

### Author: ![Levi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/levi/32/24_2.png) [@Levi](https://community.prismic.io/u/Levi)
#### Post date: [June 9, 2020, 9:31am UTC](https://community.prismic.io/t/repository-template/714/6 "2020-06-09T09:31:39Z")

</div>

@jjames.home Yeah as you’ve discovered, the Github repository needs to be public in order for the Prismic CLI to use it.

And unfortunately it doesn’t work to update existing repositories, only to launch new ones. But I will let the [@features-team](https://community.prismic.io/groups/features-team) know about this and they can consider this as a possible improvement for the future.

---

<div class="post-metadata">

### Author: ![jjames.home](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/jjames.home/32/44_2.png) [@jjames.home](https://community.prismic.io/u/jjames.home)
#### Post date: [June 9, 2020, 1:22pm UTC](https://community.prismic.io/t/repository-template/714/7 "2020-06-09T13:22:42Z")

</div>

I knew that you were still thinking about updating existing repositories. I admit I have requested it elsewhere a week ago or so.

I think for now I can have a basic nuxtjs repo and put it in a public repo. At least it is better than going through the UI for every single client.

---

<div class="post-metadata">

### Author: ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)
#### Post date: [September 15, 2020, 4:46pm UTC](https://community.prismic.io/t/repository-template/714/8 "2020-09-15T16:46:12Z")

</div>

This is being tracked as an open feature request.

If you have another use-case for this feature, you can 'Flag' this topic to reopen. Please use the ❤ button to show your support for the feature and check out our [Feature Request Guidelines](https://community.prismic.io/t/feature-requests-what-do-you-already-love-what-could-be-better/844).

---

<div class="post-metadata">

### Author: ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)
#### Post date: [December 9, 2021, 11:16am UTC](https://community.prismic.io/t/repository-template/714/9 "2021-12-09T11:16:04Z")

</div>


