Skip to content

bajrangCoder/setu

Repository files navigation

Setu

Note: This project is currently a Work in Progress (WIP).

Setu is a modern, minimal, and high-performance API testing application built with Rust and GPUI.

Demos

1. REST Client & Response Inspector

REST Client


2. Environment & Variable Management

Environment Manager


3. Multi-Workspace Container System

Workspace Switcher


Getting Started

Prerequisites

  • Rust (Edition 2024 / Rust 1.91 or newer)

Installation & Execution

  1. Clone the repository:

    git clone https://github.com/bajrangCoder/setu.git
    cd setu
  2. Run in development mode:

    cargo run
  3. Build release binary:

    cargo build --release

Usage Guide

Working with Environments & Variables

  1. Open Environments from the sidebar.
  2. Select an environment layer (Global, Workspace, or Project).
  3. Click Add or New variable to configure key-value entries.
  4. Use variables across any request input field:
    {{base_url}}/users
    Authorization: Bearer {{token}}
    
  5. Type {{ in any field to open the variable autocomplete popup.

Managing Workspaces

  • Click the workspace dropdown next to the Setu logo in the top toolbar.
  • Switch, create, rename, or delete workspaces on the fly.
  • Workspaces maintain isolated collections, request history, and active environments.

Importing Postman Collections & Environments

  • Click Import Postman in the Collections sidebar or the import icon in Environments.
  • Select a Postman Collection JSON export to create a new workspace with all imported folders and requests.
  • Select a Postman Environment JSON export to import enabled/disabled states and secret metadata into your active workspace.

Keyboard Shortcuts

Request Actions

Shortcut Action
+ / + Send Request
+ N New Tab / Request
+ D Duplicate Request

Tab Navigation

Shortcut Action
+ Tab Next Tab
+ Shift + ] / + + Next Tab
+ Shift + Tab Previous Tab
+ Shift + [ / + + Previous Tab
+ W Close Tab
+ Shift + W Close All Tabs
+ Option + W Close Other Tabs
+ 1 ... 8 Go to Tab 1–8
+ 9 Go to Last Tab

Panel Navigation

Shortcut Action
+ L / + U Focus URL Bar
+ Shift + B Switch to Body Tab
+ Shift + P Switch to Params Tab
+ Shift + H Switch to Headers Tab
+ Shift + A Switch to Auth Tab
+ Option + B Switch to Response Body
+ Option + H Switch to Response Headers

HTTP Method Hotkeys

Shortcut Method
+ G GET
+ P POST
+ U PUT
+ D DELETE
+ A PATCH
+ H HEAD
+ O OPTIONS

Application Controls

Shortcut Action
+ K / + P Command Palette
+ B / + </kbd> Toggle Sidebar
+ Q Quit Application

Roadmap

  • Additional protocols: WebSocket, GraphQL, and SSE (Server-Sent Events)
  • Export tools: cURL import/export, collection sharing
  • Enhanced Auth: OAuth 2.0 flows, Digest Auth
  • Cookie Jar & session persistence
  • more..

License

Distributed under the MIT License.

About

A modern, minimal, and high-performance API testing application

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages