<!-- canonical: https://hostdc.xyz/host/apps · last updated 2026-10-24 · HostDC, Hosting for Discord, Stoat and Telegram bots and other always-on apps. -->

# Host scripts and always-on apps

Anything that runs as one long process can run on HostDC, not only chat bots. It gets the same sandbox, the same plans and the same console as a bot.

## What fits

- A worker that takes jobs from a queue or an API.
- A script that repeats a task every few minutes, like checking a site or posting a feed.
- A small service that talks to other services over the internet.

Your program should keep running. If it crashes, we start it again.

## How to start

**1. Pick a template or bring your code.** [Worker (JavaScript)](/templates/worker-js) handles one job at a time and stops cleanly. [Scheduled script (Python)](/templates/scheduled-script-py) checks a web address every few minutes. Neither needs a package. Or upload your own project or import it from GitHub.

**2. Add your settings.** Put keys and passwords on the Secrets tab as environment variables. We store them encrypted.

**3. Press Deploy.** We install your packages, start the entry file and stream the output to the console.

## Good to know

- Keep the files you need in `/app`. That folder survives restarts.
- Apps reach the internet through our proxies. On Free, Mini and Lite nothing can connect in. To serve a site or an API, see [web apps](/host/web-apps).
- Scheduled restarts and cron jobs are on every paid plan.
- Need a database? See [databases](/host/databases).

## Plans

Your apps share your account's pool with your bots. Free has a 256 MB RAM pool and up to 2 bots or apps, and needs reactivating every 30 days. Lite is $1.69 a month and Pro is $2.79 a month. The [pricing page](/pricing) has every limit.

## Related

- [Host a Node.js bot](/host/node)
- [Host a Python bot](/host/python)
- [Host a Go bot](/host/go)
- [Cron jobs](/guides/cron-jobs-for-discord-bots)

## FAQ

### Does my app have to be a bot?
No. A bot is just the most common kind of program here. A worker or a script runs the same way.

### Can I run a script once a day instead of all the time?
Yes. On a paid plan you can add a cron entry. On any plan the script can keep running and sleep between runs, like the scheduled script template does.

### Which languages work?
Every runtime on the Create bot form: Node.js, Bun, Deno, Python, Go, Java, Rust, .NET and PHP.
