Skip to content
jae-labsPublic

About

Miscellaneous tools.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

lui.z Logo

Website CI Deploy License GitHub issues GitHub stars GitHub forks Bun Prisma Compute Buy Me A Coffee

A collection of network diagnostics and everyday utilities, available at tools.justanother.engineer.

Stack

  • Bun HTTP runtime on Prisma Compute
  • TypeScript & Vite
  • Tailwind CSS 4
  • Three.js for interactive 3D speed topology & packet animation
  • Leaflet for interactive IP geolocation mapping
  • Vitest & ESLint
  • GitHub Actions for CI and deployment

Endpoints

Endpoint Response
GET /api/me JSON with visitor client IP info and geo metadata
GET /api/info JSON with client, geo, connection, and sanitized headers
GET /api/ping?host=H&count=N JSON RTT probe results (ICMP with TCP connect fallback) or speed probe when host is omitted
GET /api/traceroute?host=H JSON hop-by-hop route trace (supports ?hop=N for live stepping)
GET /api/dns?host=H&type=ALL JSON DNS records with TTLs (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA, SRV, PTR)
GET /api/propagation?host=H&type=A JSON global DNS propagation results across 6 Prisma Compute regions & 9 public resolvers (supports offset/limit & expected)
GET /api/whois?query=Q JSON WHOIS / RDAP registration summary and raw record
GET /api/port?host=H&ports=80,443 JSON TCP port reachability and latency
GET /api/reverse?ip=IP JSON PTR hostnames and FCrDNS verification
GET /api/proxy?ip=IP JSON proxy header, open proxy port, and ASN risk signals
GET /api/rbl?target=T JSON multi-zone DNSBL / domain blocklist lookup results (supports offset/limit batching)
GET/POST /api/spf JSON RFC 7208 SPF policy test (domain, optional ip, sender, helo, record custom policy)
GET /api/geo?target=T JSON geolocation, ASN, and ISP metadata
GET /api/download?bytes=N Streams N incompressible bytes with Cache-Control: no-store, no-transform
POST /api/upload Consumes body stream and returns JSON throughput summary
GET /api/bandwidth?bytes=N Alias for GET /api/download
GET /api/subnet?cidr=C JSON IPv4/IPv6 CIDR, masks, binary octets, and subnet splits
GET /api/sla?pct=99.9 JSON SLA uptime/downtime intervals (?compare=99.99 or reverse ?down=45m&period=monthly)
GET /api/epoch?ts=1700000000 JSON Unix epoch timestamp conversion (?ts=... or ?date=..., auto-detects s/ms/µs/ns)

Quick Start

Requires Node.js >=22.18 (or >=24.11) and Bun.

  1. Install dependencies.

    npm ci
  2. Build and start the local emulator.

    npm run dev
  3. Open the local URL printed in the terminal, usually http://localhost:3000.

  4. Run the full verification suite before pushing.

    npm run check

Common commands:

Command Purpose
npm ci Install locked dependencies
npm run dev Build and start local Prisma Compute emulator
npm run lint Run ESLint
npm run typecheck Run TypeScript type checking
npm run test:run Run unit tests once
npm run build Build client and server bundles into dist/
npm run check Run lint, typecheck, tests, and build
npm run deploy Run full check and deploy to Prisma Compute

Project Structure

index.html                          document shell and layout
src/client/                         frontend tools UI, 3D speed topology, Leaflet map, and styles
src/server.ts                       Bun entrypoint
src/server/                         HTTP router, IP/SSRF validation, geo lookup, and diagnostic probes
src/shared/                         subnet calculator, unit converter, and Prisma region registry
tests/                              unit and route tests
module.ts                           Prisma Composer root module
service.ts                          Prisma Compute service definition
prisma.config.ts                    Prisma CLI and target configuration
public/                             static assets
.github/workflows/ci.yml            Quality checks on main pushes and pull requests
.github/workflows/prisma-deploy.yml CI checks and Prisma Compute deployment
.github/dependabot.yml              Weekly npm and GitHub Actions updates

Deployment

Contributing

See CONTRIBUTING.md.

Agent Notes

See AGENTS.md.

License

See LICENSE.

Star History

Star History Chart

About

Miscellaneous tools.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages