Accessing a shared folder in Remix IDE using Remixd - Kauri
Articles
Communities
Collections
Write Article
Create Collection
Import from medium
Loading...
Sign in
POSTED 03 May 2018 03:13

Accessing a shared folder in Remix IDE using Remixd

AUTHOR
Kauri Team
Remixd is an npm module. Its purpose is to give the remix web application access to a folder from your local computer.

The code of Remixd can be checked out here .

Remixd can be globally installed using the following command: npm install -g remixd

Then remixd -s <absolute-path-to-the-shared-folder> will start Remixd and share the given folder.

The folder is shared using a websocket connection between Remix IDE and Remixd.

Be sure the user executing Remix has read/write permission on the folder.

From Remix IDE, you will need to activate the connection.

Click on the localhost connection icon:

A modal dialog will ask confirmation

Accepting this dialog will start a session. Once the connection is made, the status will update and the connection icon should shows up in green.

Hovering the icon will give more connection status information.

At this point if the connection is successful, the shared folder will be available in the file explorer.