2020-04-27 16:58:13 +00:00
# Insomnia REST Client
2016-03-22 05:05:37 +00:00
2020-04-27 16:58:13 +00:00
[![Slack Channel ](https://chat.insomnia.rest/badge.svg )](https://chat.insomnia.rest/)
2021-03-26 16:23:32 +00:00
[![license ](https://img.shields.io/github/license/Kong/insomnia.svg )](https://github.com/Kong/insomnia/blob/master/LICENSE)
2016-04-14 01:08:39 +00:00
2021-08-31 16:48:23 +00:00
Insomnia is an open-source, cross-platform API Client for GraphQL, REST, and gRPC.
2016-04-23 04:06:31 +00:00
2020-04-30 20:24:34 +00:00
![Insomnia REST Client Screenshot ](https://raw.githubusercontent.com/Kong/insomnia/develop/screenshots/main.png )
2020-04-27 16:58:13 +00:00
## Download
Insomnia is available for Mac, Windows, and Linux and can be downloaded
from the website.
**[https://insomnia.rest/download](https://insomnia.rest/download/)**
## Bugs and Feature Requests
Have a bug or a feature request? First, read the
[issue guidelines ](CONTRIBUTING.md#using-the-issue-tracker ) and search for existing and
closed issues. If your problem or idea is not addressed yet, [please open a new issue ](/issues ).
For more generic product questions and feedback, join the [Slack Team ](https://chat.insomnia.rest ) or email
[support@insomnia.rest ](mailto:support@insomnia.rest )
## Contributing
2021-08-27 03:44:01 +00:00
Please read through our [contributing guidelines ](CONTRIBUTING.md ) and [code of conduct ](CODE_OF_CONDUCT.md ). Included are directions for opening issues, coding standards, and notes on development.
2020-04-27 16:58:13 +00:00
## Developing
2021-08-27 03:44:01 +00:00
Development on Insomnia can be done on Mac, Windows, or Linux as long as you have [Node.js ](https://nodejs.org ) and [Git ](https://git-scm.com/ ). See the `.nvmrc` file located in the project for the correct Node version.
2020-04-27 16:58:13 +00:00
< details >
< summary > Initial Dev Setup< / summary >
2021-08-27 03:44:01 +00:00
This repository is structured as a monorepo and contains many Node.JS packages. Each package has its own set of commands, but the most common commands are available from the root [`package.json` ](package.json ) and can be accessed using the `npm run ...` command. Here are the only three commands you should need to start developing on the app.
2020-04-27 16:58:13 +00:00
2021-08-27 03:44:01 +00:00
```shell
2020-04-27 16:58:13 +00:00
# Install and Link Dependencies
2017-11-26 20:45:40 +00:00
npm run bootstrap
2020-04-27 16:58:13 +00:00
# Run Tests
npm test
# Start App with Live Reload
2017-11-26 21:40:56 +00:00
npm run app-start
2017-04-12 23:43:19 +00:00
```
2021-09-06 03:14:07 +00:00
### Linux
If you are on Linux, you may need to install the following supporting packages:
< details >
< summary > Ubuntu/Debian< / summary >
2020-04-27 16:58:13 +00:00
2021-08-27 03:44:01 +00:00
```shell
2020-08-10 19:44:14 +00:00
# Update library
sudo apt-get update
# Install font configuration library & support
2020-04-27 16:58:13 +00:00
sudo apt-get install libfontconfig-dev
2020-08-10 19:44:14 +00:00
sudo apt-get install font-manager
# Build capability for required font-scanner package
sudo apt-get install build-essential
```
2021-09-06 03:14:07 +00:00
< / details >
< details >
< summary > Fedora< / summary >
```shell
# Enable FontManager Copr (https://github.com/FontManager/font-manager#fedora-copr)
sudo dnf copr enable jerrycasiano/FontManager
# Install font configuration library & support
sudo dnf install font-manager
sudo dnf install fontconfig-devel
# Build capability for required font-scanner package
sudo dnf install make automake gcc gcc-c++ kernel-devel
# Install libcurl for node-libcurl
sudo dnf install libcurl-devel
```
< / details >
2020-08-10 19:44:14 +00:00
Also on Linux, if Electron is failing during the bootstrap process, run the following
2021-08-27 03:44:01 +00:00
```shell
2020-08-10 19:44:14 +00:00
# Clear Electron install conflicts
2021-02-08 17:41:45 +00:00
rm -rf ~/.cache/electron
2020-04-27 16:58:13 +00:00
```
2021-09-06 03:14:07 +00:00
### Windows
2020-04-27 16:58:13 +00:00
If you are on Windows and have problems, you may need to install [Windows Build Tools ](https://github.com/felixrieseberg/windows-build-tools )
< / details >
< details >
< summary > Editor Requirements< / summary >
2021-08-27 03:44:01 +00:00
You can use any editor you'd like, but make sure to have support/plugins for the following tools:
2020-04-27 16:58:13 +00:00
- [ESLint ](http://eslint.org/ ) – For catching syntax problems and common errors
- [JSX Syntax ](https://facebook.github.io/react/docs/jsx-in-depth.html ) – For React components
- [Flow ](https://flow.org/ ) – For type annotations
< / details >
## Plugins
Search, discover, and install plugins from the Insomnia [Plugin Hub ](https://insomnia.rest/plugins/ )!
## Community Projects
2019-04-18 17:23:15 +00:00
2020-10-06 22:29:34 +00:00
- [Insomnia Documenter ](https://github.com/jozsefsallai/insomnia-documenter ) – Generate beautiful API documentation pages using the [documenter plugin ](https://insomnia.rest/plugins/insomnia-plugin-documenter ) or your Insomnia export file.
2020-07-31 08:53:18 +00:00
- [GitHub API Spec Importer ](https://github.com/swinton/github-rest-apis-for-insomnia ) – A complete set of GitHub REST API route specifications that can be imported straight into Insomnia.
2020-04-27 16:58:13 +00:00
- [Swaggymnia ](https://github.com/mlabouardy/swaggymnia ) – Generate [Swagger ](https://swagger.io/ ) documentation for your existing API in Insomnia.
2017-11-07 10:57:18 +00:00
2020-04-27 16:58:13 +00:00
## License
2017-11-26 21:10:01 +00:00
2020-04-27 16:58:13 +00:00
[MIT ](LICENSE ) © [Insomnia ](https://insomnia.rest )