# Host a Flask or Node App From Home | Baumeister

Source: https://baumeister.host/guides/flask-app-without-port-forwarding

> Run a Flask, FastAPI or Node.js app on your own computer and put it online through a Cloudflare tunnel: no port forwarding, home IP hidden.

[Baumeister](https://baumeister.host/) / [Guides](https://baumeister.host/guides) / Flask, FastAPI or Node app without port forwarding

# How do I put a Flask (or FastAPI or Node) app online from home without port forwarding?

Add your app to Baumeister as a project and publish it. Visitors reach it through an outgoing Cloudflare tunnel, so there's no port to forward and your home IP stays hidden.

Updated 8 November 2026

## Why there's no port to forward

When you publish, Baumeister starts Cloudflare's tunnel program (`cloudflared`). It opens an outgoing, encrypted connection from your computer to Cloudflare. HTTPS ends at Cloudflare, and requests come down the tunnel to your app. Nothing listens on a public port, so there's no router setup.

## What runs

- Python: Flask and FastAPI
- Node.js (it needs to be installed on your computer)
- Static sites

Each runs in its own environment. Package installs (`pip` and `npm`) run when an app starts.

## Steps

1. **Install Baumeister.** It's free for Windows 10 or 11, or a Mac with Apple silicon.
1. **Add your app.** In Projects, click + New Project and upload your files. Baumeister detects Flask, FastAPI or Node from your files.
1. **Add its settings.** Put the settings your app needs on its Environment tab.
1. **Deploy, then publish.** Click Deploy to start the app, then click Publish and pick a name. It's live at yourname.baumeister.host with HTTPS.
1. **Add your own domain (optional).** Click Use your own domain and choose Connect with Cloudflare. HTTPS is set up for you.

Other ways to start: point a coding agent like Claude Code, Cursor or Codex at the project's folder and let it build there. Or give a program already running on your computer a public link.

## Push to deploy from GitHub

On a project page, click Connect GitHub and sign in with a one-time code. There are no tokens to create. Once the project is on GitHub, turn on push-to-deploy. You get a signed webhook: pushing code redeploys the app, and deliveries that aren't signed are ignored.

## Logs, restarts and undo

- Logs and restarts for each app.
- The Server page shows disk, memory and processor.
- The last 20 versions are kept, so you can undo any publish.
- A local API, for scripts and tools on your computer.

## Good to know

- **Secrets stay private.** Hidden files such as .env are never published, and an app's source code is never shown as files. Before you publish, Baumeister checks for keys and passwords written into your files and for debug modes that would let a visitor run code.
- **It listens locally.** Baumeister tells the app to listen only on your own computer. If an app listens on your whole network anyway, Baumeister says so in its log and on its project page.
- **It runs as you.** On Windows and Mac an app isn't sandboxed yet, so host code you trust. On the [Private Server](https://baumeister.host/server) each app runs in a room of its own.
- **Computer off.** Your app runs while your computer is on. With Safety Net, visitors see a read-only copy of its public pages, saved every 30 minutes while it runs. Sign-ins and database writes resume when your computer is back on.
- **Your own tunnel.** You can use your own Cloudflare account for the tunnel (Settings > Publish to the internet).

More on [Developers](https://baumeister.host/developers) and [Help](https://baumeister.host/help).

## Questions

**Does it work with FastAPI and Node.js too?**

Yes. Baumeister runs Flask, FastAPI and Node.js apps and static sites, each in its own environment. Node.js needs to be installed on your computer.

**Can I deploy with git push?**

Yes. Connect GitHub on the project page and turn on push-to-deploy. Pushing code redeploys the app.

**Can visitors see my app's source code or .env file?**

No. An app's source code is never shown as files, and hidden files such as .env are never published.

[Download free](https://baumeister.host/#download) [Developer details](https://baumeister.host/developers)
