An unofficial tRPC devtools extension to inspect your queries, mutations and subscriptions

Latest Version

Version
0.1.2
Update
October 20, 2022
Size
101KiB
Developer
Category
Users
657
Rating
1 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
See more

tRPC Client Devtools Extension

This is an unofficial tRPC client devtools extension that you can use to inspect queries, mutations and subscriptions from your tRPC app!

In order to use it, you need to do the following steps:

1. Install the trpc-client-devtools-link npm package and add it to your tRPC client config (if you're using tRPC v10, install the @next version)
2. Download and install the tRPC Client Devtools Extension
3. Open the Devtools, navigate to the tRPC panel and inspect away!

The tRPC Client Devtools appear as a \"tRPC\" tab in your web browser inspector when tRPC is detected, alongside other tabs like \"Elements\" and \"Console\". The devtools currently have 3 main features:

- Query inspector: View the input, result and elapsed time of the fired queries.
- Mutation inspector: View the input, result and elapsed time of the fired mutations.
- Subscription inspector: View the input, multiple results and their elapsed time of the subscriptions.

Code for this extension can be found at: https://github.com/rhenriquez28/trpc-client-devtools

If you want to learn more about tRPC, check out: https://trpc.io/
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "tRPC Client Devtools", "version": "0.1.2", "icons": { "16": "src/extension/assets/trpc-logo-16.png", "32": "src/extension/assets/trpc-logo-32.png", "48": "src/extension/assets/trpc-logo-48.png", "128": "src/extension/assets/trpc-logo-128.png" }, "description": "An unofficial tRPC devtools extension to inspect your queries, mutations and subscriptions", "background": { "service_worker": "service-worker-loader.js", "type": "module" }, "content_scripts": [ { "js": [ "assets/content-script-loader.content-script.ts.eeaebdc4.66485d76.js" ], "matches": [ "" ], "run_at": "document_start" } ], "devtools_page": "src/extension/devtools/devtools.html", "web_accessible_resources": [ { "matches": [ "" ], "resources": [ "assets/detector.d8bf3127.js", "assets/content-script.ts.eeaebdc4.js" ], "use_dynamic_url": true } ]}
Read more

How to download and manually install tRPC Client Devtools extension for Chrome

Looking for a way to install tRPC Client Devtools extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install tRPC Client Devtools extensions manually, this article outlines two simple methods to effortlessly install tRPC Client Devtools extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download tRPC Client Devtools extension and manually install through Drag &Drop

If you ever need to manually install a tRPC Client Devtools extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the tRPC Client Devtools Extension by clicking the "Download CRX" button on the website.

Look for the tRPC Client Devtools extension you wish to install. Go to the website and download the tRPC Client Devtools extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for tRPC Client Devtools extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the tRPC Client Devtools extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download tRPC Client Devtools extension for Chrome and install in Developer Mode

This is another method to install tRPC Client Devtools extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the tRPC Client Devtools extension file

Select and download the tRPC Client Devtools extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the tRPC Client Devtools extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your tRPC Client Devtools extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the tRPC Client Devtools extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install tRPC Client Devtools extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Refined GitHub Extension · Developer Tools 657 213 ★ 572KiB

icon

GraphQL developer tools Extension · Developer Tools 657 24 ★ 98.19KiB

icon

Gimli Tailwind Extension · Developer Tools 657 33 ★ 151KiB

icon

Drizzle Studio Extension · Productivity 657 17 ★ 3.04MiB

icon

LocatorJS Extension · Developer Tools 657 64 ★ 190KiB

icon

Vercel Extension · Developer Tools 657 24 ★ 34.3KiB

icon

Web Vitals Extension · Developer Tools 657 43 ★ 398KiB

icon

OctoLinker Extension · Developer Tools 657 110 ★ 184KiB

icon

RSC Devtools Extension · Developer Tools 657 9 ★ 175KiB

icon

Apollo Client Devtools Extension · Developer Tools 657 266 ★ 490KiB

icon

React Context DevTool Extension · Developer Tools 657 21 ★ 2.35MiB

icon

GraphQL Network Inspector Extension · Developer Tools 657 123 ★ 8.34MiB

icon

MobX Developer Tools Extension · Developer Tools 657 51 ★ 682KiB

icon

Hoppscotch Browser Extension Extension · Developer Tools 657 35 ★ 453KiB

icon

Altair GraphQL Client Extension · Developer Tools 657 68 ★ 6.78MiB

icon

Zukeeper: Devtools for Zustand Extension · Developer Tools 657 6 ★ 939KiB

icon

Solid Devtools Extension · Developer Tools 657 7 ★ 123KiB

icon

daily.dev | The homepage developers deserve Extension · Developer Tools 657 2460 ★ 2.28MiB

icon

Testing Playground Extension · Developer Tools 657 60 ★ 646KiB

icon

Reactime Extension · Developer Tools 657 33 ★ 803KiB

icon

Graphite Extension · Developer Tools 657 7 ★ 10.28KiB

icon

GitHub Repository Size Extension · Developer Tools 657 80 ★ 12.9KiB

icon

Tailwind CSS Devtools Extension · Developer Tools 657 7 ★ 857KiB

icon

File Icons for GitHub and GitLab Extension · Developer Tools 657 48 ★ 460KiB