Skip to content

ToBeWin/easy-postman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy API Client

Introduce / 介绍

An easy-to-use Chrome extension tool for testing HTTP requests. It runs offline without any backend services or third-party dependencies, taking minimal space. Perfect for intranet debugging and privacy-sensitive API testing.

一个简单易用的 Chrome 浏览器 HTTP 接口调试插件。纯前端实现,不依赖任何后台服务和第三方服务,完美支持内网环境离线运行,占用空间极小,数据绝对安全。

Features / 功能特点

  • Offline Operation / 纯离线运行: Works completely offline with no backend dependencies. Data is stored safely in local localStorage. / 所有数据(历史、收藏、环境变量)均保存在浏览器本地,绝无隐私泄露风险。
  • HTTP Request Testing / 核心请求测试: Supports GET, POST, PUT, DELETE, PATCH methods with URL params, Headers, and Body configuration. / 支持常用的 HTTP 方法及详细的参数配置。
  • Response Visualization / 响应可视化: Formatted JSON syntax highlighting, response headers, status code, size, and time elapsed. / 纯手写轻量 JSON 语法高亮,直观展示状态码、耗时、大小及响应头。
  • Response Search / 响应内搜索: Fast keyword search within huge response bodies. / 支持在巨大的响应数据中快速搜索并高亮关键字。
  • Environment Variables / 环境变量切换: Define {{baseUrl}}, {{token}} and easily switch between Dev/Test/Prod environments. / 支持多环境配置与切换,轻松管理 {{baseUrl}} 等变量。
  • cURL Import / cURL 一键导入: Paste a cURL command to auto-fill URL, method, headers, and body. / 支持直接粘贴 cURL 命令,自动解析为请求参数。
  • Bulk Edit / 批量编辑参数: Switch between table and raw text modes for fast bulk pasting of Headers/Params. / 支持在表格和多行文本间切换,快速批量粘贴参数。
  • Auth Helper / 认证助手: Built-in Bearer Token and Basic Auth generators. / 内置 Token 和 Basic Auth 生成器。
  • History & Favorites / 历史与收藏: Full request history playback and request templating. / 完整保存每次请求的所有参数,并支持将常用接口加入收藏夹。
  • Multilingual & Themes / 多语言与多主题: English and Chinese interfaces, with 6 beautiful themes (Light, Dark, Forest, Ocean, Minimal, Tech). / 中英双语,内置 6 款精美主题无缝切换。

Screenshot / 截图

Screenshot Screenshot Screenshot

Installation / 安装方式

  1. Download the extension files / 下载扩展文件
  2. Open Chrome and navigate to chrome://extensions/ / 打开Chrome并导航至chrome://extensions/
  3. Enable Developer Mode / 启用右上角的“开发者模式”
  4. Click "Load unpacked" and select the extension directory / 点击左上角的"加载已解压的扩展程序"并选择本项目目录

Usage / 使用方法

  1. Click the Easy API Client icon in your Chrome toolbar / 点击Chrome工具栏中的 Easy API Client 图标(将在新标签页全屏打开)
  2. Enter your request details or import a cURL command / 输入请求详情,或直接在 Import 面板粘贴 cURL
  3. Use {{var}} to utilize environment variables / 可以使用 {{变量名}} 来引用环境参数
  4. Click "Send Request" to execute / 点击"发送请求"执行(支持随时取消请求)
  5. Inspect the response body, headers, and metadata / 查看高亮响应、状态码及响应头

New in v2.0 / v2.0 重大更新

  • 🚀 Completely Refactored UI: Modern dual-panel layout with tabbed navigation. / 全新现代化的双栏/上下响应式布局,引入 Tab 选项卡系统。
  • 🔍 Response Search: Search and highlight text within responses. / 响应结果内置关键字高亮搜索。
  • 📦 cURL Import & Bulk Edit: Import cURL directly and bulk edit params/headers. / 新增 cURL 导入解析,以及参数/请求头的批量文本编辑模式。
  • 🌍 Environment Variables: Added environment groups for switching setups. / 新增多环境组与本地环境变量支持。
  • ⏱️ AbortController: Real request cancellation support. / 使用原生 AbortController 实现真正的超时和手动取消机制。
  • 🔖 Favorites & Full History: Save templates and replay full past requests. / 新增收藏夹功能,并将历史记录升级为完整参数回放。
  • 🎨 Enhanced Themes: Improved contrast, new SVG logo, and lightweight JSON highlighter. / 优化所有主题的对比度,替换为高清 SVG Logo,并手写了超轻量的 JSON 语法高亮器。

About

an easy postman chrome plugin tool, it can test http request, and can offline run. 一个简化版本的谷歌浏览器插件postman工具,可以用来测试http接口,没有后台服务,不依赖任何第三方服务,可以在离线环境运行,占用空间极小

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors