|Docs

Publish and Share Templates

Once you create a template, you have the option to publish it. Publishing a template will add it to the template marketplace for other users to deploy.

Publishing a template

After you create your template, click the publish button and fill out the form to publish your template. Publishing a template means you agree to the publishing terms.

Template publishing form

You can always publish your template by going to the Templates page in your Workspace settings and choose Publish next to the template you'd like to publish.

Optionally, you can add a demo project to your template. This will be used to showcase your template in a working project, and can be accessed by clicking on the Live Demo button in the template's overview page.

Publishing terms

When you publish a template, you confirm that:

  • It's your own work. It isn't a copy or near-copy of a template already on the marketplace. Templates for the same technology are welcome when they're meaningfully different, such as a different stack or configuration, and the overview explains how.
  • You've tested it. You've deployed it from scratch and it works without manual fixes.
  • You'll maintain it. You keep it working as its dependencies change, and you answer questions from the people who deploy it.

Railway may remove a template that is a copy, violates the Terms of Service or Fair Use Policy, or is low quality, and may revoke the workspace's ability to publish templates. Removed templates aren't eligible for kickbacks. If your workspace's publishing access is revoked, you can review the restriction and appeal it from the link shown when you try to publish.

Publishing limits

Publishing limits depend on your workspace's age and grow with how much your templates are used. The publish page shows how many live templates your workspace has and its current limit.

Under 30 days old30 days to 1 yearOver 1 year
Live templates2510
New templates per 24 hours133

Your live template limit goes up by one for every five other workspaces that have deployed any of your templates.

If you maintain a catalog that needs more room, reach out to support via Central Station and explain why you need it.

Sharing your templates

After you create your template, you may want to share your work with the public and let others clone your project. You are provided with the Template URL where your template can be found and deployed.

Deploy on Railway button

To complement your template, we also provide a Deploy on Railway button which you can include in your README or embed it into a website.

Example README with Deploy on Railway button

https://railway.com/button.svg The button is located at https://railway.com/button.svg.

Markdown

To render the button in Markdown, copy the following code and replace the template code with your desired template. If you'd like to help us attribute traffic to your template, replace utm_campaign=generic in the URL with your template name.

[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/ZweBXA?utm_medium=integration&utm_source=button&utm_campaign=generic)

HTML

To render the button in HTML, copy the following code and replace the template code with your desired template. If you'd like to help us attribute traffic to your template, replace utm_campaign=generic in the URL with your template name.

<a
  href="https://railway.com/new/template/ZweBXA?utm_medium=integration&utm_source=button&utm_campaign=generic"
  ><img src="https://railway.com/button.svg" alt="Deploy on Railway"
/></a>

Examples

Here are some example templates from the template marketplace in button form:

IconTemplateButton
NodeNodeDeploy on Railway
DenoDenoDeploy on Railway
BunBunDeploy on Railway
GinGinDeploy on Railway
FlaskFlaskDeploy on Railway

Kickback program

If your published template is deployed into other users' projects, you are eligible for kickbacks based on your support engagement. Learn more about the kickback program.

Template verification

Templates are verified when the creator and maintainer of the technology becomes a partner and reviews the template.

If you are or have a relationship with the creator, please reach out to us by submitting the form on the partners page.