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

Hono · all subjects

runtime/supabase

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

Hono on Supabase Edge Functions with Deno

Supabase Edge Functions are server-side TypeScript functions that run on Deno and are distributed globally. Hono can be used to build applications on Supabase Edge Functions by importing from 'jsr:@hono/hono', creating a Hono app instance, and running it with Deno.serve(app.fetch).

Hono Supabase Edge Functions example

Example of a complete Hono application for Supabase Edge Functions: import { Hono } from 'jsr:@hono/hono' const functionName = 'hello-world' const app = new Hono().basePath(`/${functionName}`) app.get('/hello', (c) => c.text('Hello from hono-server!')) Deno.serve(app.fetch)

Local development with Supabase functions --no-verify-jwt

When running Hono applications on Supabase Edge Functions locally, use the --no-verify-jwt flag with the supabase functions serve command to bypass JWT verification during development.

Deno.serve() entry point for Supabase Edge Functions

Hono applications on Supabase Edge Functions use Deno.serve(app.fetch) as the entry point to start the server. The Deno.serve function accepts the fetch handler from a Hono app instance.

Give your agent this brain