Skip to content
Home About Services Work Notes Contact Start a project
Product — Developer tools

Swastik Codes — a faster, lighter API platform for every protocol

A free API platform that runs in the browser, in VS Code and as a native desktop app for Windows, macOS and Linux. It handles eight protocols, including REST, GraphQL, gRPC, WebSocket and MQTT, and covers tests, load tests, mock servers, monitors and published docs in one workspace. It imports Postman collections, and in our benchmark it used the least memory and opened fastest of the five API clients tested.

Swastik Codes — Web API platform, desktop app, VS Code extension and command-line tool
Client
Swastik Codes
Industry
Developer tools / API testing
Type
Web API platform, desktop app, VS Code extension and command-line tool
Role
Product built and run at Swastik Tech Solutions
Memory
434 MB — 26% less than Postman
Installer
11 MB on Windows — Postman is 204 MB

The problem

API teams end up running a stack of separate tools: a REST client, a gRPC tool, a WebSocket tester, an MQTT app, a mock server and a monitoring service, each with its own copy of the environments and secrets.

The popular desktop clients have also grown heavy. Most ship a full copy of Chromium, so a tool for sending HTTP requests takes hundreds of megabytes to download, several processes to run and seconds of CPU before the first window appears.


Faster and lighter — measured

The desktop app sends requests from a native Rust engine instead of a bundled browser. On 23 October 2026 it was measured against Postman, Bruno, Insomnia and Hoppscotch. Each app ran alone in an identical Ubuntu 24.04 container with a fresh profile, and the figures are the median of three runs. Swastik Codes came out lightest and fastest on every desktop measure.

  • Memory: 434 MB after 60 seconds — 26% less than Postman (585 MB) and 46% less than Hoppscotch (800 MB)
  • Startup CPU: 2.7 seconds — 4.7 times less than Postman (12.6 s) and nearly 20 times less than Insomnia (53.3 s)
  • Window on screen in 0.4 seconds — Postman took 1.1 s and Bruno 4.6 s
  • 3 processes, against 9 for Postman and 8 for Insomnia
  • An 11 MB Windows installer — 18 times smaller than Postman's 204 MB
Desktop apps on Linux, 23 Oct 2026 — lower is better
AppMemoryStartup CPUWindowInstaller
Swastik Codes 0.1.0434 MB2.7 s0.4 s11 MB
Postman 12.33.4585 MB12.6 s1.1 s204 MB
Bruno 4.3.0615 MB7.9 s4.6 s117 MB
Insomnia 13.3.1656 MB53.3 s2.9 s500 MB
Hoppscotch 26.9.0800 MB8.7 s1.3 s45 MB

This is the product's own benchmark, run with software rendering on a server without a GPU, so absolute numbers on a desktop will differ. The full method is published at swastik.codes/benchmarks.


A web app that loads in 382 KB

The browser version is just as lean. On a cold load in Chromium it transfers 382 KB, against 6.6 MB for hoppscotch.io. Postman's web app was left out because it needs a sign-in before anything loads.

Web app first load, cold, Chromium — lower is better
Web appTransferredJavaScriptJS heap
swastik.codes/app382 KB312 KB5 MB
hoppscotch.io6.6 MB5.3 MB70 MB

One client, eight protocols

Every protocol lives in the same collections and shares the same environments, variables and tests, so a team does not need a separate tool for each one.

  • HTTP / REST — every method, body type and auth scheme, with code snippets for each request
  • GraphQL — queries, mutations and variables written against the endpoint's schema
  • gRPC — service calls alongside REST endpoints in the same collection
  • WebSocket — open a connection, send messages and watch replies arrive
  • Socket.IO — emit and listen to events like any other endpoint
  • Server-Sent Events — subscribe to a stream and read events as they are pushed
  • MQTT — publish and subscribe to topics on a broker
  • MCP — test Model Context Protocol servers, or serve a collection to AI coding assistants

The whole API lifecycle

One collection holds the request being debugged, the tests that guard it, a mock for the frontend team and a monitor that raises an alert when it breaks.

  • API tests — pre-request and test scripts, assertions, JSON Schema checks and a request-sending helper
  • Collection runner — folders or whole collections with iterations, data files and delays, with exportable reports
  • Load tests — virtual users under several traffic profiles, with live latency percentiles
  • Mock servers — saved examples served from a public URL, with request matching, delays and templates
  • Monitors — scheduled runs with retries, and alerts by email or signed webhook
  • API design — multi-file OpenAPI and AsyncAPI specs with linting, versioning and collection sync
  • Published docs — a collection published as public documentation, with secrets removed
  • Flows — visual request chains with conditions, loops, delays and webhook triggers

Testing that finds what you missed

Passing tests only cover the cases someone thought to write. These checks look for the rest.

  • Staging versus production — two environments' responses compared field by field, ignoring IDs, timestamps and any other fields you choose
  • Flaky tests and coverage gaps — repeated runs expose unstable tests, and untested requests and error codes are listed
  • Security checks — probes for unauthenticated endpoints, permissive CORS, leaky error messages and crashes on invalid input
  • An access matrix for every role — each role checked against each endpoint, with unauthorised access flagged
  • Breaking changes stopped in review — the API read from code, compared with the main branch, and CI failed on a breaking change
  • Docs that tell you when they are wrong — responses checked against saved examples, with missing, new or changed fields flagged

Fixes for everyday API pain

The team went through reviews, GitHub issues and surveys about API tools, and built fixes for the complaints that came up most.

  • Localhost from the browser — a local bridge lets the web app reach your machine and private networks, with no extension and no open port
  • Run as admin, user or guest — one request sent as any role, with automatic sign-in and token refresh
  • A secret guard that is on by default — plain-text tokens are flagged, with an offer to move them into a variable or the vault
  • From your code to a collection — API routes scanned from the codebase and kept in sync on every push, including private GitHub repositories
  • One catalog of the team's APIs — a searchable directory with owners, status, docs and monitors
  • Your collection inside your AI assistant — a read-only-by-default MCP server with redaction and logging

Bring your Postman collections

Switching does not mean rewriting. Postman collections, environments, globals and full data dumps import directly, and scripts written against Postman's pm.* API run unchanged in the sandbox. swc.* is the native equivalent.

In CI, swc run accepts Newman-compatible flags, so moving a pipeline off Newman is a small edit. Nothing is locked in: collections export back to Postman or OpenAPI at any time.

Import and export formats
DirectionFormats
ImportPostman, Insomnia, OpenAPI 3, Swagger 2, cURL, HAR, RAML, WSDL
ExportPostman v2.0, v2.1 and v3; OpenAPI 3 (JSON or YAML); environments in Postman format; whole workspaces as ZIP

Built for teams

API changes are reviewed the same way code is.

  • Teams and workspaces — personal, team and public workspaces with invitations, presence and sync across devices
  • Roles — admin, editor and viewer
  • Versions, forks and pull requests — version history, forks, approval reviews and merge checks
  • Comments and notifications — threaded comments with mentions, and HMAC-signed workspace webhooks

Careful with credentials

An API client holds the keys to every system it tests, so the defaults are conservative.

  • Variable current values and the encrypted vault stay on the device and are never uploaded, even in a cloud workspace
  • Local workspaces stay in the browser; cloud workspaces sit on access-controlled servers
  • The hosted web app blocks loopback and private addresses; those are reached only through your own bridge or the desktop app
  • GitHub sign-in reads only the profile and verified email
  • Load tests are capped in virtual users and duration, and are only for systems you own or are authorised to test

Inside VS Code

The Swastik Codes extension, on the Visual Studio Marketplace, brings the same workspaces into the editor. It runs on Windows, macOS and Linux (VS Code 1.90 or later) and includes swc, so nothing else needs installing.

  • Collections and environments in the sidebar; requests sent and read next to the code
  • Collections run as tests in VS Code's Test Explorer, with each pm.test listed under its request
  • Project Sync turns the routes in the open folder into a collection and keeps it current on save
  • Tokens and passwords kept in the system keychain on this computer only, never uploaded

The swc command-line tool

swc runs on macOS, Linux and Windows. One command installs it (curl -fsSL https://swastik.codes/install.sh | sh, or install.ps1 in PowerShell), or it comes from npm as @swastik-codes/cli. It covers the jobs that belong in a terminal or a pipeline.

Main swc commands
CommandWhat it does
swc initLogs in, picks a workspace and collection, scans the code and uploads
swc scan / syncFinds API routes in code; sync re-scans and keeps your edits
swc bridgeRuns the web app's requests on your machine, to reach localhost
swc runRuns a collection with Newman-compatible flags
swc diffLists API changes since a Git revision and fails on breaking ones
swc inventoryCompares endpoints in code, the API definition and the collection
swc mockServes a mock from a collection's saved examples
swc perfLoad-tests a collection
swc securityRuns security checks, with optional invalid-input fuzzing
swc mcpServes a collection to AI coding assistants over MCP
swc convertConverts between Postman, OpenAPI, HAR and other formats
swc compareCompares two environments and lists every difference
swc flaky / coverageFinds flaky tests, and untested requests and responses
swc captureRecords HTTP and HTTPS traffic through a local proxy

Where it runs, and what it costs

Swastik Codes is free today, with no paid plans. Any future paid features will be announced in advance. The web app needs a free account, made with GitHub or email; the desktop app and swc work without one.

Platforms
PlatformDetails
Web appAny modern browser at swastik.codes/app
WindowsWindows 10 or 11, x64; per-user installer, no admin rights needed
Linux.deb, .rpm or AppImage; Ubuntu 22.04+, Debian 12+, Fedora 38+
macOSmacOS 10.15 or later; one .dmg for Apple silicon and Intel
VS CodeVS Code 1.90+ on Windows, macOS and Linux
swc CLImacOS, Linux and Windows; installer script or npm
MobileNo app; the web app works in mobile browsers
More work

Other case studies

Darbhanga Medical College & Hospital — Hospital Management System (HMS)

Darbhanga Medical College & Hospital

An end-to-end hospital management system covering patient registration, OPD and IPD workflows, billing, pharmacy, pathology, radiology, blood bank and medical records — running in production on a government medical college campus.

Read the case study
We4Task — CRM and team productivity platform

We4Task

A customer relationship platform covering lead capture, pipeline stages, task assignment and team performance reporting.

Read the case study
Heavenera — Marketplace web app + Android application

Heavenera

A property rental marketplace pairing a web application with a companion Android app — listings, search, bookings and payments.

Read the case study
Next step

Building something similar?

Tell me what you are trying to ship. You get an approach, a timeline and a realistic estimate — usually within a working day.