Skip to content
System One

andrelandgraf/safer-with-jev

Public HTTP gate running as a Neon Function: Jev inspects the request body, then optionally forwards the same bytes to a caller-chosen HTTPS URL. Endpoints cover prompt injections, unsafe images and unsafe replies, with a companion demo site at safer-with-jev.com.

andrelandgraf/safer-with-jev on GitHub

Stars
4
Forks
0
Language
TypeScript
Last push
18 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

No direct call turned up in the code, so this is where it loads the SDK.

import { cors } from "hono/cors";
import { Pool } from "pg";
import { attachDatabasePool } from "@neon/functions";
import { TypeSafeClient } from "@typesafe-ai/sdk";
import { API_INFO } from "./lib/api-info";
import { handleSaferRequest } from "./lib/handler";
import { homepageResponse } from "./lib/homepage";
import { createLimiter } from "./lib/limiter";
import { STAGE_MS } from "./lib/limits";
import { servesLegacySite } from "./lib/request-host";
import { CORS_EXPOSE } from "./lib/response";
import { AGENTS_MARKDOWN } from "./lib/agents-markdown";

View in src/index.ts

Open on GitHub

More like this

Use cases this is tagged with