Open source API development ecosystem https://hoppscotch.io/

Liyas Thomas 20c8973f5d chore: set `X-Frame-Options` to `SAMEORIGIN` 1 year ago
.devcontainer dcbc2f1145 ci: use latest workflow versions 1 year ago
.github 461d67ce90 feat: deploy hoppscotch-ui 1 year ago
.husky 33ebdf2831 chore: cleanup .husky directory (#1865) 3 years ago
.vscode 3d004f2322 chore: split app to commons and web (squash commit) 1 year ago
packages 20c8973f5d chore: set `X-Frame-Options` to `SAMEORIGIN` 1 year ago
.dockerignore 88b32e317a docs: update links 3 years ago
.editorconfig fc05a4bb78 docs: better copy 3 years ago
.env.example 3d004f2322 chore: split app to commons and web (squash commit) 1 year ago
.firebaserc 660cdb575a Removed absolute Firebase files 3 years ago
.gitattributes 9f78a4c7e8 chore: add .gitattributes 2 years ago
.gitignore 0230942a3d chore: introduce devcontainer support 1 year ago
.npmrc 8b300fab5d feat: migrate to vue 3 + vite (#2553) 2 years ago
.prettierignore fc05a4bb78 docs: better copy 3 years ago
.prettierrc.js baf6d6bd29 refactor: lint options 3 years ago
CHANGELOG.md 758460210a build: bump deps 2 years ago
CODEOWNERS 9d7052c626 chore: add CODEOWNERS 1 year ago
CODE_OF_CONDUCT.md 6d54f21c1e docs: update CODE OF CONDUCT 2 years ago
CONTRIBUTING.md 88b32e317a docs: update links 3 years ago
Dockerfile 36903b338a fix: broken Dockerfile and final start command 1 year ago
LICENSE 1350919c78 docs: updated copyright year 2 years ago
README.md b04b12c7a0 fix: broken links 1 year ago
SECURITY.md 680f61b7dc docs: create security policy - skip ci 2 years ago
TRANSLATIONS.md 36903b338a fix: broken Dockerfile and final start command 1 year ago
commitlint.config.js a2354b5e9e feat: added commitlint, semantic pr 3 years ago
docker-compose.yml 5701454c02 ci: fix docker image 2 years ago
firebase.json 36903b338a fix: broken Dockerfile and final start command 1 year ago
firestore.indexes.json 660cdb575a Removed absolute Firebase files 3 years ago
firestore.rules 238e41ccda refactor: updated firebase rules 2 years ago
jsconfig.json b027eeb846 Revert "Revert "Migrate Postwoman to Nuxt.js (full Vue and SCSS support)"" 5 years ago
netlify.toml 20c8973f5d chore: set `X-Frame-Options` to `SAMEORIGIN` 1 year ago
package.json 461d67ce90 feat: deploy hoppscotch-ui 1 year ago
pnpm-lock.yaml d5d516ce18 chore: abstract auth from hoppscotch/commons to hoppscotch/web (#2899) 1 year ago
pnpm-workspace.yaml b28f82a881 refactor: monorepo+pnpm (removed husky) 3 years ago

README.md

Hoppscotch Logo

Hoppscotch

Open source API development ecosystem

[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen?logo=github)](CODE_OF_CONDUCT.md) [![Website](https://img.shields.io/website?url=https%3A%2F%2Fhoppscotch.io&logo=hoppscotch)](https://hoppscotch.io) [![Tests](https://github.com/hoppscotch/hoppscotch/actions/workflows/tests.yml/badge.svg)](https://github.com/hoppscotch/hoppscotch/actions) [![Tweet](https://img.shields.io/twitter/url?url=https%3A%2F%2Fhoppscotch.io%2F)](https://twitter.com/share?text=%F0%9F%91%BD%20Hoppscotch%20%E2%80%A2%20Open%20source%20API%20development%20ecosystem%20-%20Helps%20you%20create%20requests%20faster,%20saving%20precious%20time%20on%20development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=hoppscotch_io)

Built with ❤︎ by contributors


Hoppscotch Hoppscotch

Support

Chat on Discord Chat on Telegram Discuss on GitHub

Features

❤️ Lightweight: Crafted with minimalistic UI design.

⚡️ Fast: Send requests and get/copy responses in real-time.

HTTP Methods

  • GET - Requests retrieve resource information
  • POST - The server creates a new entry in a database
  • PUT - Updates an existing resource
  • PATCH - Very similar to PUT but makes a partial update on a resource
  • DELETE - Deletes resource or related component
  • HEAD - Retrieve response headers identical to those of a GET request, but without the response body.
  • CONNECT - Establishes a tunnel to the server identified by the target resource
  • OPTIONS - Describe the communication options for the target resource
  • TRACE - Performs a message loop-back test along the path to the target resource
  • <custom> - Some APIs use custom request methods such as LIST. Type in your custom methods.

🌈 Make it yours: Customizable combinations for background, foreground, and accent colors — customize now.

Theming

  • Choose a theme: System (default), Light, Dark, and Black
  • Choose accent color: Green (default), Teal, Blue, Indigo, Purple, Yellow, Orange, Red, and Pink
  • Distraction-free Zen mode

Customized themes are synced with cloud / local session

🔥 PWA: Install as a PWA on your device.

  • Instant loading with Service Workers
  • Offline support
  • Low RAM/memory and CPU usage
  • Add to Home Screen
  • Desktop PWA

🚀 Request: Retrieve response from endpoint instantly.

  1. Choose method
  2. Enter URL
  3. Send
  • Copy/share public "Share URL"
  • Generate/copy request code snippets for 10+ languages and frameworks
  • Import cURL
  • Label requests

🔌 WebSocket: Establish full-duplex communication channels over a single TCP connection.

📡 Server-Sent Events: Receive a stream of updates from a server over an HTTP connection without resorting to polling.

🌩 Socket.IO: Send and Receive data with SocketIO server.

🦟 MQTT: Subscribe and Publish to topics of an MQTT Broker.

🔮 GraphQL: GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.

  • Set endpoint and get schema
  • Multi-column docs
  • Set custom request headers
  • Query schema
  • Get query response

🔐 Authorization: Allows to identify the end-user.

  • None
  • Basic
  • Bearer Token
  • OAuth 2.0
  • OIDC Access Token/PKCE

📢 Headers: Describes the format the body of your request is being sent as.

📫 Parameters: Use request parameters to set varying parts in simulated requests.

📃 Request Body: Used to send and receive data via the REST API.

  • Set Content Type
  • FormData, JSON, and many more
  • Toggle between key-value and RAW input parameter list

👋 Response: Contains the status line, headers, and the message/response body.

  • Copy response to clipboard
  • Download response as a file
  • View response headers
  • View raw and preview of HTML, image, JSON, XML responses

History: Request entries are synced with cloud / local session storage to restore with a single click.

📁 Collections: Keep your API requests organized with collections and folders. Reuse them with a single click.

  • Unlimited collections, folders, and requests
  • Nested folders
  • Export and import as a file or GitHub gist

Collections are synced with cloud / local session storage

🌐 Proxy: Enable Proxy Mode from Settings to access blocked APIs.

  • Hide your IP address
  • Fixes CORS (Cross-Origin Resource Sharing) issues
  • Access APIs served in non-HTTPS (http://) endpoints
  • Use your Proxy URL

Official proxy server is hosted by Hoppscotch - GitHub - Privacy Policy

📜 Pre-Request Scripts β: Snippets of code associated with a request that is executed before the request is sent.

  • Set environment variables
  • Include timestamp in the request headers
  • Send a random alphanumeric string in the URL parameters
  • Any JavaScript functions

📄 API Documentation: Create and share dynamic API documentation easily, quickly.

  1. Add your requests to Collections and Folders
  2. Export Collections and easily share your APIs with the rest of your team
  3. Import Collections and Generate Documentation on-the-go

⌨️ Keyboard Shortcuts: Optimized for efficiency.

Read our documentation on Keyboard Shortcuts

🌎 i18n: Experience the app in your language.

Help us to translate Hoppscotch. Please read TRANSLATIONS for details on our CODE OF CONDUCT, and the process for submitting pull requests to us.

📦 Add-ons: Official add-ons for hoppscotch.

  • Proxy - A simple proxy server created for Hoppscotch
  • CLI β - A CLI solution for Hoppscotch
  • Browser Extensions - Browser extensions that simplifies access to Hoppscotch

Firefox Firefox  |  Chrome Chrome

Extensions fixes CORS issues.

Add-ons are developed and maintained under Hoppscotch Organization.

☁️ Auth + Sync: Sign in and sync your data in real-time.

Sign in with

  • GitHub
  • Google
  • Microsoft
  • Email

Synchronize your data

  • History
  • Collections
  • Environments
  • Settings

Post-Request Tests β: Write tests associated with a request that is executed after the request's response.

  • Check the status code as an integer
  • Filter response headers
  • Parse the response data
  • Set environment variables
  • Write JavaScript code

🌱 Environments : Environment variables allow you to store and reuse values in your requests and scripts.

  • Unlimited environments and variables
  • Initialize through the pre-request script
  • Export as / import from GitHub gist
Use-cases --- - By storing a value in a variable, you can reference it throughout your request section - If you need to update the value, you only have to change it in one place - Using variables increases your ability to work efficiently and minimizes the likelihood of error ---

👨‍👩‍👧‍👦 Teams β: Helps you collaborate across your team to design, develop, and test APIs faster.

  • Unlimited teams
  • Unlimited shared collections
  • Unlimited team members
  • Role-based access control
  • Cloud sync
  • Multiple devices

🚚 Bulk Edit: Edit key-value pairs in bulk.

  • Entries are separated by newline
  • Keys and values are separated by :
  • Prepend # to any row you want to add but keep disabled

For more features, please read our documentation.

Demo

hoppscotch.io

Usage

  1. Provide your API endpoint in the URL field
  2. Click "Send" to simulate the request
  3. View the response

Built with

Developing

  1. Update .env.example file found in the root of repository with your own keys and rename it to .env.

Sample keys only work with the production build.

Browser-based development environment

Local development environment

  1. Clone this repo with git.
  2. Install pnpm using npm by running npm install -g pnpm.
  3. Install dependencies by running pnpm install within the directory that you cloned (probably hoppscotch).
  4. Start the development server with pnpm run dev.
  5. Open the development site by going to http://localhost:3000 in your browser.

Docker compose

  1. Clone this repo with git.
  2. Run docker-compose up within the directory that you cloned (probably hoppscotch).
  3. Open the development site by going to http://localhost:3000 in your browser.

Docker

Official container   hoppscotch/hoppscotch

docker run --rm --name hoppscotch -p 3000:3000 hoppscotch/hoppscotch:latest

Releasing

  1. Clone this repo with git.
  2. Install pnpm using npm by running npm install -g pnpm.
  3. Install dependencies by running pnpm install within the directory that you cloned (probably hoppscotch).
  4. Update .env.example file found in the root of repository with your own keys and rename it to .env.
  5. Build the release files with pnpm run generate.
  6. Find the built project in packages/hoppscotch-web/dist. Host these files on any static hosting servers.

Contributing

Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.

Please read CONTRIBUTING for details on our CODE OF CONDUCT, and the process for submitting pull requests to us.

Continuous Integration

We use GitHub Actions for continuous integration. Check out our build workflows.

Changelog

See the CHANGELOG file for details.

Authors

This project exists thanks to all the people who contribute — contribute.

License

This project is licensed under the MIT License - see the LICENSE file for details.