Skip to content
System One

yusukebe/hono-jev-router

Experimental Hono router where you describe a request in plain words and Jev decides which description fits the incoming request. The author warns it is not an authorization boundary, and the values of Authorization, Cookie and API key headers are redacted before anything is sent.

yusukebe/hono-jev-router on GitHub

Stars
46
Forks
2
Language
TypeScript
License
MIT
Last push
18 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

const res = await fetch(`${options.baseURL ?? 'https://api.typesafe.ai'}/v1/systemone`, {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', Authorization: `Bearer ${options.apiKey}` },
  body: JSON.stringify({ model: 'jev-latest', ...request }),
})
if (!res.ok) {
  throw new Error(`Jev request failed: ${res.status} ${await res.text()}`)
}
return res.json()

View in src/index.ts

Open on GitHub

More like this

Use cases this is tagged with