Voyager

Voyager ⛴️

Header

Introduction

Voyager is a user-friendly macOS application designed for working with API’s in an easy-to-interact playground.

Voyager provides a seamless and efficient way to test your APIs and view responses in an in-built interface.

Screenshot 2023-07-29 at 4 55 39 PM

Features

Screenshot 2023-07-29 at 5 02 18 PM

Read the official post on ishaanbedi.com/posts/voyager to learn more about Voyager.

Requirements

Voyager runs on macOS 12.0 or later.

To build the app from the source, you will need Xcode 12.0 or later installed on your Mac. Also, Voyager depends on some third-party libraries that are managed using Swift Package Manager. Xcode will automatically download and install these dependencies when you build the project for the first time.

Installation

Voyager is available to download for free from GitHub Releases.

Please visit the releases page to download the latest version of Voyager.

Getting Started

The interface is easy to understand and navigate. The application window is divided into two sections:

Screenshot 2023-07-29 at 5 04 18 PM

Screenshot 2023-07-29 at 5 11 36 PM

You can add as many query parameters as a key-value pair as you want. You can also add as many headers as you want. The headers are added as a key-value pair as well. You can also add authentication tokens and bearer tokens to your request in the Header Section, based on the requirements of your API endpoint.

Screenshot 2023-07-29 at 5 05 12 PM

Currently, Voyager supports Basic Authentication and Bearer Token Authentication. You can also add a request body to your request. The request body has to be in JSON format so as to be compatible with Voyager. The translated JSON body will be displayed side by side with the request body in the Query Builder section in a Key-Value pair property list format for easy readability. Also, if you type an invalid JSON, Voyager will notify you of the same in the side-by-side JSON body section.

Screenshot 2023-07-29 at 5 06 36 PM

Screenshot 2023-07-29 at 5 07 40 PM

Sending API Requests

To send a request, enter the API URL in the provided field in the Query Builder section. Then, choose the request method from the dropdown menu. You can choose from GET, POST, PUT, DELETE, PATCH, and HEAD. After that, you can add headers, parameters, and authentication if required.

Execute the request by clicking the “Run” button or pressing the “Command + R” keyboard shortcut. The response will be displayed in the Response Viewer section.

Screenshot 2023-07-29 at 5 05 44 PM

Acknowledgements

Voyager could not have been possible without the help of the following open-source projects:

Some Questions

Why should I use Voyager?

Voyager is a simple and easy-to-use API testing tool that allows you to quickly test your API endpoints and view responses in a native macOS application. It is designed to be user-friendly and intuitive, making it easy for developers to test their APIs and debug issues.

Is this an alternative to Postman/Insomnia?

No. While Voyager is a great tool for testing APIs, it is not a replacement for Postman or Insomnia. I built Voyager to be a simple and easy-to-use tool for API testing that can be used instantly and is super lightweight, fast, and just gets the work done while building my apps. While Postman/Insomnia provides 10x or maybe 100x more features as compared to Voyager, it doesn’t aim to compete with them in terms of complexity and extensibility since this tool is meant to be used for quick API testing and debugging.

Can I run Voyager on an operating system other than macOS?

Voyager is built with tools and technologies that are exclusive to macOS, so it cannot run on any other operating system.

Can I run Voyager on an older version of macOS?

Voyager is built with Swift and SwiftUI, and some of the features used in the app depend on external libraries that support macOS 12.0 or later. Therefore, Voyager cannot run on older versions of macOS. However, you can build the app from the source and run it on older versions of macOS while downgrading some features while building the app and customizing the code yourself as per your needs.

Do I need to have Xcode installed to use Voyager?

No, you do not need to have Xcode installed to use Voyager. You can download the app from the releases page and install it on your Mac. However, if you want to build the app from source, you will need to have Xcode installed on your Mac.

Bug Reports and Feedback

To report bugs or request new features, please open an issue on GitHub.

If you encounter any vulnerabilities, please reach out to me directly at hey@ishaanbedi.com if it involves sensitive information or security concerns.

License

Voyager is distributed under the MIT License.

See the License file for more information.