Treki
Treki is a full-stack API request toolkit with a sleek web UI, powerful Rust CLI, and Node.js backend—built to test, save, and manage API requests effortlessly across terminal and browser.
視頻
技術堆疊
描述
Treki is a lightweight API testing platform combining a Next.js web app, a Rust-based CLI, and a Node.js backend with PostgreSQL (NeonDB). It offers seamless request building, user authentication (JWT), and request history.
Backend (Node.js + Express):
Handles auth, request forwarding, and history storage. Key endpoints:
POST /api/request/send – Send API request
GET /api/request/:id – Fetch request metadata
Auth endpoints – Register, login, get user
Frontend (Next.js):
Auth-enabled UI to build, send, and group requests into collections (localStorage). View responses and retrieve request IDs.
CLI (Rust):
Fast command-line tool to:
Login (treki-cli login)
Send API requests (get|post|...)
Re-run saved requests by ID (treki-cli run <id>)
Built for developers who want Postman’s UI + cURL’s power.