hoppscotch

Test and debug APIs using Hoppscotch. Suitable for testing API endpoints, debugging REST/GraphQL/WebSocket APIs, creating API collections, or as an open-source alternative to Postman.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
7

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hoppscotch" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5130a250511b64e602cea63219fd12448a92eef79b61b3b7ed1ff76c9b8bd2a0. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Test and debug APIs using Hoppscotch. Suitable for testing API endpoints, debugging REST/GraphQL/WebSocket APIs, creating API collections, or as an open-source alternative to Postman.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: hoppscotch
description: >-
  Test and debug APIs with Hoppscotch. Use when a user asks to test API
  endpoints, debug REST/GraphQL/WebSocket APIs, create API collections,
  or find a Postman alternative that's open-source.
license: Apache-2.0
compatibility: 'Web, Desktop, Self-hosted'
metadata:
  author: terminal-skills
  version: 1.0.0
  category: development
  tags:
    - hoppscotch
    - api-testing
    - postman
    - rest
    - graphql

Hoppscotch

Overview

Hoppscotch is an open-source API development platform — a lightweight, fast alternative to Postman. It supports REST, GraphQL, WebSocket, SSE, Socket.IO, and MQTT. Available as a web app (hoppscotch.io), desktop app, or self-hosted instance.

Instructions

Step 1: Self-Host with Docker

# docker-compose.yml — Self-hosted Hoppscotch
services:
  hoppscotch:
    image: hoppscotch/hoppscotch:latest
    ports:
      - "3000:3000"     # main app
      - "3100:3100"     # admin dashboard
      - "3170:3170"     # backend API
    env_file: .env
    depends_on:
      - postgres

  postgres:
    image: postgres:16
    environment:
      POSTGRES_DB: hoppscotch
      POSTGRES_USER: hoppscotch
      POSTGRES_PASSWORD: ${DB_PASSWORD}
    volumes:
      - pgdata:/var/lib/postgresql/data

volumes:
  pgdata:

Step 2: API Collections with CLI

# Install CLI
npm install -g @hoppscotch/cli

# Run collection from file
hopp test -e environment.json collection.json

# Run from Hoppscotch instance
hopp test --server https://hoppscotch.mycompany.com --token $TOKEN collection-id

Step 3: Pre-request Scripts

// Pre-request script — runs before each request
const token = pw.env.get("AUTH_TOKEN")
const expiry = pw.env.get("TOKEN_EXPIRY")

if (!token || Date.now() > Number(expiry)) {
  const res = await pw.api.post("https://api.example.com/auth/token", {
    body: JSON.stringify({
      client_id: pw.env.get("CLIENT_ID"),
      client_secret: pw.env.get("CLIENT_SECRET"),
    }),
  })
  const data = JSON.parse(res.body)
  pw.env.set("AUTH_TOKEN", data.access_token)
  pw.env.set("TOKEN_EXPIRY", String(Date.now() + data.expires_in * 1000))
}

Guidelines

  • Use collections to organize endpoints by feature or service.
  • Environment variables keep secrets out of shared collections.
  • Self-host for teams — everyone shares collections and environments.
  • CLI enables API testing in CI/CD pipelines.
  • Hoppscotch is faster than Postman for quick API testing — no account required on hoppscotch.io.

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档中缺少明确的 When to Use 使用场景说明章节

    Recommendation: 建议添加 When to Use 章节,明确说明适用场景和使用时机

Highlights

  • Hoppscotch 提供完整的 API 测试和调试解决方案
  • 支持多种协议(REST/GraphQL/WebSocket/SSE/Socket.IO/MQTT)
  • 提供自托管方案和 CLI 工具,适合团队使用
  • 作为开源的 Postman 替代工具,具有轻量快速的优势
Trigger Precision85/100

Highlights

  • 触发词精准覆盖 API 测试、调试、Postman 替代等核心场景
  • 描述清晰,边界明确,用户容易理解适用场景
Structure and Standards90/100

Areas to improve

  • 缺少具体使用示例 Reported severity: Minor

    虽然有代码示例,但缺少完整的端到端使用流程示例

    Recommendation: 建议添加一个完整的使用示例,展示从安装到实际测试的完整流程

Highlights

  • 文档结构清晰,有明确的步骤划分(Step 1-3)
  • 包含丰富的代码示例(Docker 配置、CLI 命令、Pre-request 脚本)
  • frontmatter 完整,包含必要的元数据信息
Execution Reliability88/100

Highlights

  • 工具来源明确,使用官方 Docker 镜像和 npm 包
  • 提供了环境变量管理和认证机制,确保安全性
  • CLI 工具支持 CI/CD 集成,提高自动化程度
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 61
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 85
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • api.example.com
  • hoppscotch.mycompany.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.