MCPcopy Create free account
hub / github.com/bajrangCoder/setu

github.com/bajrangCoder/setu @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
739 symbols 1,723 edges 42 files ⚖ MIT 101 documented · 14% updated 9d ago★ 52

Browse by type

Functions 609 Types & classes 130
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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: bash git clone https://github.com/bajrangCoder/setu.git cd setu

  2. Run in development mode: bash cargo run

  3. Build release binary: bash 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: text {{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 / + \ 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.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 498
Function 111
Class 93
Enum 36
Interface 1

Languages

Rust100%

Modules by API surface

src/views/main_view.rs93 symbols
src/entities/collections.rs63 symbols
src/importers/postman.rs52 symbols
src/entities/response.rs46 symbols
src/views/request_view.rs39 symbols
src/entities/history.rs33 symbols
src/components/audio_player.rs33 symbols
src/entities/request.rs32 symbols
src/components/collections_panel.rs32 symbols
src/utils/curl_parser.rs28 symbols
src/components/app_sidebar.rs28 symbols
src/components/auth_editor.rs27 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page