MCPcopy Index your code
hub / github.com/Schniz/pointguard

github.com/Schniz/pointguard @v0.0.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.7 ↗ · + Follow
107 symbols 183 edges 42 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Pointguard

An MVP-worthy background job server for PostgreSQL, written in Rust

A simple background job server (database) on top of PostgreSQL, that can be used in any language and any environment.

[!WARNING] this is obviously experimental, but it's for another project I'm working on on so... this is why issues are closed. feel free to @ or DM me at Twitter if you want to chat.

Features

🪶 Lightweight: Pointguard is a single binary with no dependencies, written in Rust. The Docker image is so small it feels illegal to add it to your stack.

🔗 HTTP based: Jobs are invoked through HTTP calls, so you can keep using your favorite language and environment: Next.js, Remix, Rust, Go -- whether your app is serverless or containerized. HTTP is the only boundary needed!

📝 Open API: Pointguard exposes a well-documented OpenAPI-compatible HTTP API, so you can use it from any language or environment. So you can implement a client super easy.

Delayed Jobs: Pointguard supports delayed jobs, so you can schedule jobs to run in the future.

🔁 Retries: Pointguard will retry your jobs if they fail, so you can be sure your jobs will run.

💻 Admin UI: Pointguard comes with an admin UI, so you can see the status of your jobs.

Extension points exported contracts — how you extend this code

Job (Interface)
(no doc)
packages/core/src/index.ts

Core symbols most depended-on inside this repo

new
called by 12
crates/web_api/src/openapi.rs
setOption
called by 3
packages/core/src/index.ts
withValues
called by 3
packages/web-ui/src/pages/finished.tsx
createChainedEnqueuer
called by 2
packages/core/src/index.ts
assertEnv
called by 2
packages/core/src/index.ts
call
called by 2
crates/cli/src/main.rs
api_router
called by 2
crates/web_api/src/router.rs
isNonRetriable
called by 1
packages/core/src/index.ts

Shape

Function 61
Class 24
Method 13
Enum 5
Interface 4

Languages

Rust62%
TypeScript38%

Modules by API surface

crates/engine_postgres/src/lib.rs15 symbols
packages/core/src/index.ts13 symbols
crates/web_api/src/router.rs12 symbols
crates/cli/src/main.rs8 symbols
crates/engine_postgres/src/inflight_task.rs7 symbols
packages/web-ui/src/pages/finished.tsx5 symbols
crates/web_api/src/admin/public.rs5 symbols
packages/api-client/src/index.ts4 symbols
crates/types/src/lib.rs4 symbols
crates/engine_postgres/src/task_listener.rs4 symbols
packages/web-ui/src/pages/enqueued.tsx3 symbols
packages/web-ui/src/generated/pointguard.ts3 symbols

For agents

$ claude mcp add pointguard \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page