NapNodes
Free tool · Discord bots

“Deploy on NapNodes” button for your Discord bot

If your Discord bot is on GitHub, add this button to its README. Whoever presses it gets the steps to run it on a free NapNodes bot, with your repository already filled in: no card, and no need to leave their computer on. Type your repository and copy the Markdown.

Make your bot's button

For your repository's README: whoever presses it lands on the steps above with your repository already filled in.

Language

Button language

Type your repository above and the button shows up here.

What it's for

The question that comes up most in bot repositories is “where do I keep it running?”. The bot works on the computer of whoever tries it and, as soon as they turn it off, it goes down. With the button, your README answers that question: a link to somewhere to keep it running for free, with the steps for your bot and not a generic one.

It's what the “Deploy” buttons of other platforms do, but for Discord bots (and in Spanish too, if your README is in Spanish: pick the button language).

Get your repository ready

  • Libraries in their file: package.json for Node.js or requirements.txt for Python. They install themselves on start.
  • The token left out: .env in .gitignore and, to make it easy for whoever deploys it, a .env.example with the variable names and no values.
  • The startup file: the panel runs index.js or app.py; if yours is different (bot.py, src/index.js), type it above and it shows up in the steps.
  • Compiled, if it's TypeScript: on the free bot, it's better to push dist already compiled and set dist/index.js as the startup file (TypeScript guide).

If you don't have a repository yet, start with the guide to a Python bot or a JavaScript bot.

Frequently asked questions

What happens when someone presses the button?

They land on this page with your repository already filled in and see the steps: create their free bot, paste the address in Settings → GitHub repository, put the token in a .env from Files and press Start. The first time it starts, the bot pulls your repository and installs the libraries in package.json or requirements.txt.

Do I need a NapNodes account to add the button?

No. The button is an image and a link: you generate it here, paste it in your README and that's it. No sign-up or permission needed.

What about the bot token?

It never goes in the repository. Whoever deploys your bot creates their own bot in the Discord portal and puts their token in a .env file from Files. If your README has a .env.example with the variable names, even better: they copy it and fill it in.

Does the bot update when I push changes to GitHub?

If whoever runs it turns on “Pull repository changes on start” in Settings, yes: every time they start or restart it, it pulls the latest. If not, it keeps the version it pulled the first time.

Does it work with private repositories?

For your own bot, yes: in Settings you set GitHub username and GitHub token (an access token, not your password). But the button is meant for public repositories: whoever presses it has no access to yours.

What if my bot isn't on GitHub?

The panel field is “GitHub repository”, so the button only accepts GitHub. If the code lives somewhere else, it's uploaded by hand in Files.

How much does it cost whoever deploys it?

Nothing: the free bot has 256 MB, is always on and is renewed every 7 days with one click in the panel. If it falls short, there are Mini (512 MB, €1.50/month) and Plus (1 GB, €2.50/month) plans with nothing to renew.

Want to try it yourself first?

Create your free bot, paste your repository address in Settings → GitHub repository and press Start: it's exactly what whoever presses your button will see. The Mini and Plus plans are there if it needs more. The whole process is in hosting for your Discord bot.

Create your free bot

More free tools

All the tools