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

liyasthomas 0cedc9ed51 chore: remove unused code 3 years ago
.github 27e061c355 setup: GitHub actions for tests and remove Travis CI 3 years ago
.husky baf6d6bd29 refactor: lint options 3 years ago
__mocks__ 22a3bba6ab Cherry picking refactored fb.js from #879 by @AndrewBastin (#1286) 4 years ago
assets ced2f1b911 feat: introduce animations 3 years ago
components 0cedc9ed51 chore: remove unused code 3 years ago
helpers 0cedc9ed51 chore: remove unused code 3 years ago
lang 0cedc9ed51 chore: remove unused code 3 years ago
layouts 85c6932f8f Initial Firebase refactor pass 3 years ago
middleware 1587a44cd7 Lint 4 years ago
netlify 454c11a12c chore: lint 3 years ago
newstore 50fa1c8f0a Fix import export for environments 3 years ago
pages 0cedc9ed51 chore: remove unused code 3 years ago
plugins 40ddfa8def refactor: lint 3 years ago
static e424d06026 refactor: lint 3 years ago
store 7b6c4f71a2 patch: set application/json as default content-type 3 years ago
types e424d06026 refactor: lint 3 years ago
.all-contributorsrc a3b7f9a739 Updated collaborators list 4 years ago
.dockerignore 88b32e317a docs: update links 3 years ago
.editorconfig fc05a4bb78 docs: better copy 3 years ago
.env.example 02debdc28b fix: use .env values - fixed #1639 3 years ago
.eslintrc.js 44df9b3be8 refactor: lint 3 years ago
.firebaserc 660cdb575a Removed absolute Firebase files 4 years ago
.gitignore 88b32e317a docs: update links 3 years ago
.prettierignore fc05a4bb78 docs: better copy 3 years ago
.prettierrc.js baf6d6bd29 refactor: lint options 3 years ago
.stylelintrc.js baf6d6bd29 refactor: lint options 3 years ago
CHANGELOG.md a795fc4310 release: v1.12.0 3 years ago
CODE_OF_CONDUCT.md 283e1b0790 chore(deps): bump 3 years ago
CONTRIBUTING.md 88b32e317a docs: update links 3 years ago
Dockerfile 790b743e42 fix: copy .env to root - fixed #1671 3 years ago
LICENSE ebae9880dc Updated license copyright (c) 2020, migrated docker container to organization, chores 4 years ago
README.md 0cedc9ed51 chore: remove unused code 3 years ago
TRANSLATIONS.md 2709c5d332 Fixed typo, updated sponsors list 4 years ago
babel.config.js 50a149b662 Bump graphql-language-service-interface and fix build issues 3 years ago
docker-compose.yml 8cc5c62665 fix:add 'helpers' folder to docker compose volumes (#1258) 4 years ago
firebase.json 660cdb575a Removed absolute Firebase files 4 years ago
firestore.indexes.json 660cdb575a Removed absolute Firebase files 4 years ago
firestore.rules fc05a4bb78 docs: better copy 3 years ago
jest.config.js ac1937f9be chore(deps): bump 3 years ago
jest.setup.js 368421a498 added jest-dom as dev dependency and added jest setup script 4 years ago
jsconfig.json b027eeb846 Revert "Revert "Migrate Postwoman to Nuxt.js (full Vue and SCSS support)"" 5 years ago
netlify.toml 34cd604a91 refactor(ui): minor ux improvements 3 years ago
nuxt.config.js 2ffd0be03f refactor(ui): better color names 3 years ago
package-lock.json 685f9d506d chore(deps): bump 3 years ago
package.json 685f9d506d chore(deps): bump 3 years ago
tailwind.config.js 2ffd0be03f refactor(ui): better color names 3 years ago
tsconfig.json 5fce1118f6 Revamp of the Settings State System along with TypeScript support (#1560) 4 years ago
vue-shim.d.ts 3533aa391a chore: lint 3 years ago

README.md

hoppscotch.io logo

Hoppscotch - Open source API development ecosystem

Helps you create requests faster, saving precious time on development - Subscribe

[![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) [![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 liyasthomas and contributors

Sponsored by

Screenshot

Powered by

Contact

Chat on Telegram Chat on Discord

Support

Sponsor on GitHub Contribute on Open Collective Join on Patreon Donate on PayPal

Table of contents --- - [Features](#features) - [Demo](#demo) - [Usage](#usage) - [Built with](#built-with) - [Developing](#developing) - [Browser based development environment](#browser-based-development-environment) - [Local development environment](#local-development-environment) - [Docker compose](#docker-compose) - [Docker](#docker) - [Releasing](#releasing) - [Contributing](#contributing) - [Continuous Integration](#continuous-integration) - [Changelog](#changelog) - [Authors](#authors) - [Lead Developers](#lead-developers) - [Collaborators](#collaborators-) - [Financial Contributors](#financial-contributors) - [GitHub Sponsors](#github-sponsors) - [Open Collective](#open-collective) - [Code Contributors](#code-contributors) - [License](#license) ---

Features

❤️ Lightweight: Crafted with minimalistic UI design.

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

HTTP Methods --- - `GET` - Requests retrieve resource information - `HEAD` - Retrieve response headers identical to those of a GET request, but without the response body. - `POST` - The server creates a new entry in a database - `PUT` - Updates an existing resource - `DELETE` - Deletes resource or related component - `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 - `PATCH` - Very similar to `PUT` but makes a partial update on a resource - `` - 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 theme: System, Light, Dark (default) and Black - Choose accent color: Blue, Green (default), Teal, Indigo, Purple, Orange, Pink, Red, and Yellow - Toggle auto-scroll to response

Screenshot

---

Customized themes are synced with local session storage

🔥 PWA: Install as a PWA on your device.

Features --- - 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.

  • Choose method
  • Enter URL
  • Send
Features --- - 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 a HTTP connection without resorting to polling.

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

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

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

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

🔐 Authentication: Allows to identify the end user.

Types --- - 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.

Options --- - Set `Content Type` - Add or remove Parameter list - Toggle between key-value and RAW input parameter list ---

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

Features --- - 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.

Features --- - Unlimited collections, folders and requests - Nested folders - Export as / import from GitHub gist ---

Collections are synced with cloud / local session storage

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

Features --- - Hide your IP address - Fixes [`CORS`](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross Origin Resource Sharing) issues - Access APIs served in non-HTTPS (`http://`) - Use custom Proxy URL ---

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

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

Use-cases --- - Initialize environment variables - Include timestamp in the request headers - Send a random alphanumeric string in the URL parameters ---

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

Usage --- 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.

Shortcuts WIki

🌎 i18n: Experience the app in your own language.

Usage --- 1. Scroll down to the footer 2. Click "Choose Language" icon button 3. Select your language from the menu ---

Keep in mind: Translations aren't available for all source and target language combinations

To provide a localized experience for users around the world, you can add you own translations.

All i18n contributions are welcome to i18n branch only!

📦 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 Official Hoppscotch Organization.

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

Sign in with

  • Google
  • GitHub

Sync

  • History
  • Collections
  • Environments

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

Use-cases --- - Check the status code as an integer - Filter response headers - Parse the response data ---

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

Features --- - Unlimited environments and variables - Initialize through 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.

Features --- - Unlimited team collections and shared requests - Unlimited team members - User roles ---

To find out more, please check out Hoppscotch Wiki.

Demo

hoppscotch.io

Usage

  1. Choose method
  2. Enter URL
  3. Send request
  4. Get response

Built with

Developing

  1. Update .env.example file found in repository's root directory with your own keys and rename it to .env.

Sample keys only works with the production build.

Browser based development environment

Open in Gitpod

Local development environment

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

Docker compose

  1. Clone this repo with git.
  2. Run docker-compose up
  3. Open development site by going to http://localhost:3000 in your browser.

Docker

Official container   hoppscotch/hoppscotch

#pull
docker pull hoppscotch/hoppscotch

#build
docker build -t hoppscotch/hoppscotch:latest .

#run
docker run -p 3000:3000 hoppscotch/hoppscotch:latest

Legacy container   liyasthomas/postwoman

Legacy container --- ```bash #pull docker pull liyasthomas/postwoman #build docker build -t liyasthomas/postwoman:latest . #run docker run -p 3000:3000 liyasthomas/postwoman:latest ``` ---

Releasing

  1. Clone this repo with git.
  2. Install dependencies by running npm install within the directory that you cloned (probably hoppscotch).
  3. Build the release files with npm run generate.
  4. Find the built project in ./dist.

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

Lead Developers

Collaborators


Liyas Thomas

💻 🎨

Andrew Bastin

💻

See the list of contributors who participated in this project.

Financial Contributors

Become a financial contributor and help us sustain our community [Support].

GitHub Sponsors

Simplescraper

Anmol Maini 琚致远 Eldad A. Fux Aishwary Dhare Rithish Anil Kumar Gabriel Peal Don Okuda Erica Brescia Max Lynch Brian Shaler Max Stoiber John Caine

Open Collective

pipedream Paw

Code Contributors

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.