Publish a Template

Share your open-source bot or app, and let anyone deploy it in one click.

Updated Dec 1, 2026

A template turns a public GitHub repository into a bot or app anyone can deploy in a few clicks. Your project gets its own page, live stats and a place in the community ranking.

What you need

  • A GitHub account connected to your Bot-Hosting account. Bot-Hosting asks for access to your public repositories, to list them and prove you own the project.
  • A public repository that you own or can push to. Private repositories cannot be templates.
  • Code that starts on its own with the variables you declare, written so a stranger can deploy it.

Publish, step by step

  1. Open Templates in the dashboard and click Publish a template.
  2. Choose a public repository. Pick it from Your public repositories, or type owner/repo. Leave the branch on default or choose one. Click Verify & scan.
  3. Bot-Hosting checks that the repository is public and yours, then scans it. It imports the README, reads the variables from .env.example (or .env.sample, .env.template, example.env) and lists the root files to suggest the entry file.
  4. Describe your template. Fill in the fields below, add screenshots, and check the variables.
  5. Choose the Visibility, then click Submit for review (public) or Publish unlisted.

The fields

Field Rules
Name 3 to 60 characters
Tagline Shown on the card, 10 to 160 characters
Category One of 20 categories, from Moderation and Music to Web Dashboards, APIs & Backends and Automation & Scripts
Runtime and Version The stack the deployment runs on, such as Node.js or Python
Entry file The file that boots, such as bot.py instead of main.py
Custom start command Leave empty for the default, which already installs dependencies. Use it only for builds or flags the default cannot cover. Deployers see this command before they deploy.
Screenshots Up to 6 images, PNG, JPEG or WebP, 2 MB each

The README

The template page shows your repository's README. If setting up the project on Bot-Hosting differs from what your README says, add a BH_README.md file at the root of the repository. It is shown instead of the README. Review checks that the README is in English and explains the setup.

Variables

Variables are what deployers fill in. They become environment variables of their deployment. You can declare up to 20.

  • Key in capital letters, digits and underscores, starting with a letter, such as DISCORD_TOKEN.
  • Label (up to 60 characters) and description (up to 200) explain what to put there. Write them so anyone can deploy without reading the code.
  • Required or optional, and secret (masked, never shown back). Names that look like secrets (TOKEN, SECRET, KEY, PASS, WEBHOOK, AUTH) are marked secret automatically after a scan.
  • A default value of up to 500 characters.
  • Set automatically fills a value at deploy time, so the deployer never types it. Choose Random secret (a random 48-character string), Public URL (the app's https:// address) or Public hostname. Declaring a public URL or hostname turns on the web address of the deployment.

Variables the platform manages itself cannot be declared. Use the startup fields for those.

Public or unlisted

Visibility Who sees it Review
Public (reviewed) Listed in the catalogue, the ranking and search engines Goes through review first
Unlisted (link only) Anyone with the link can deploy it, it is not listed Live at once, no review

An unlisted template is a handy way to share a one-click deploy link for your own project. Switching it to public later sends it to the review queue.

Review

A public template is In review until a moderator approves it. You get a notification with the verdict. Meanwhile, add screenshots, since templates with visuals get far more deploys.

A moderator checks that the template starts with the declared configuration and that it is safe. A template can be refused for these reasons.

Reason What to fix
Malicious or dangerous code Remove token theft, miners, backdoors or remote code downloads. Repeated attempts get the account banned.
Obfuscated or minified source Publish the readable source. Build steps can run in the start command.
Secrets committed to the repo Revoke the leaked secret, remove it from the repo and read it from an environment variable.
Does not start Deploy your own template once with only the declared variables, and fix what fails.
Missing or unclear setup instructions Explain every variable and any step outside the panel (intents, invite link, API keys).
Not in English Translate the README (or add a BH_README.md), the console messages and the code comments.
Outdated dependencies Update to a maintained version, for example not discord.js v12.
Misleading listing Make the name, tagline and screenshots match what the code does.
Duplicate of an existing template Improve the existing project, or explain what yours adds.
License problem Publish only code you may redistribute, and keep the original license and credits.
Low-quality listing Add a clear tagline, real screenshots and a useful README.
Advertising or self-promotion Remove forced invite links, ads and referral spam. A credit line in the README is fine.
Not deployable here A template must be a bot, service or app that starts on its own.
Violates Discord ToS or our rules Self-bots, raid or nuke tools, spam, account selling and NSFW cannot be listed.

A refused template shows Rejected in My templates, with the reasons and the moderator's note. Fix the points, then click Resubmit for review. A live template that breaks the rules can also be taken down, with the same kind of note.

Manage your template

Open My templates and click Manage on a template.

  • Listing holds the name, tagline, category and screenshots shown on the card and the public page.
  • Startup holds the runtime, version, entry file and start command. Changes apply to new deployments only. Existing ones keep the configuration they were created with.
  • Variables holds what deployers fill in.
  • Source code lets you Update source to another repository or branch, or Re-import the README from GitHub.
  • The stats show views, deployments over the last 30 days and how many deployments from your template are running now.

Edits and review

  • Editing a reviewed field of a live public template (name, tagline, category, startup, variables, README, screenshots) keeps the template live. The changes wait for review (Your changes are waiting for review).
  • Changing the repository or the branch sends the template back to review, and it leaves the catalogue until it is approved again, since the code that deploys is no longer the reviewed code.

Delete a template

Delete template removes the page, its stats and votes. Deployments already created from it keep running.

Your creator page

Every publisher with a linked GitHub account gets a public page at /templates/creator/<your GitHub username>, listing your live public templates.

In My templates, the Public creator profile card lets you write a Bio, add Links (a website and a Discord invite) and Save profile. View public page opens it. Share it as your portfolio.

How the ranking works

The catalogue sorts by Trending by default. The trending score grows with recent deploys, votes and views, and older activity counts less over time, so a new template with real use can climb quickly. Visitors can also sort by Most deployed, Top rated or Newest.

Tips for a template people deploy

  • Test it yourself first, from a fresh deployment with only the declared variables.
  • Explain in the README every step outside Bot-Hosting, such as Discord intents and the invite link. Create a Discord bot is a good page to link to.
  • Use Set automatically for secrets and addresses, so deployers have less to type.
  • Add real screenshots of the bot or app at work.