new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Bun · all subjects

deployment/render

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Render native support for Bun

Render is a cloud platform that supports Bun natively. You can deploy Bun apps as web services, background workers, cron jobs, and more.

Render web service creation runtime and commands

When creating a Bun web service on Render, set the Runtime to 'Node', the Build Command to 'bun install', and the Start Command to 'bun app.ts'. The exact configuration in the Render UI should be: Runtime = Node, Build Command = bun install, Start Command = bun app.ts.

Deploying a Bun Express app to Render

Create a GitHub repository, install Express with 'bun add express', create an Express server that listens on process.env.PORT or 3001, commit to GitHub, connect the repo to Render as a Web Service via the Render Dashboard, and configure it with Runtime=Node, Build Command=bun install, and Start Command=bun app.ts. After the build completes, the service is live at its assigned onrender.com URL.

Example: Express server for Render deployment

```ts import express from "express"; const app = express(); const port = process.env.PORT || 3001; app.get("/", (req, res) => { res.send("Hello World!"); }); app.listen(port, () => { console.log(`Listening on port ${port}...`); }); ``` This shows a minimal Express HTTP server that listens on the PORT environment variable (defaulting to 3001) and responds to GET requests at the root path.

Render features

Render provides auto deploys from GitHub, a global CDN, private networks, automatic HTTPS setup, and managed PostgreSQL and Redis.

Give your agent this brain