Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The cross-platform IDE for developing Arduino Apps, built with Wails

License

NotificationsYou must be signed in to change notification settings

arduino/arduino-app-lab

Repository files navigation

This is the Arduino App Lab desktop application. It's a cross-platform application built withWails

Arduino App Lab

Issues

GitHub issue reports for both user and contributor facing bugs of App Lab are welcome.

Setup

Required:

  • node.js
  • yarn
  • direnv

direnv

This project usesdirenv to execute it in a dedicated shell and isolate it from the system. This gives us full control of the project and makes it easily reproducible.This means that you do not need to have anything special installed on your machine (neither node, nor yarn), but the necessary engines will be handled automatically and will be isolated only in this project.All you need to do is:

macOS and Linux

  1. Make sure direnv is installed on your machine. It is usually shipped with most distributions, if not in your case please follow these instructions for installationhttps://direnv.net/docs/installation.html and setup for your shellhttps://direnv.net/docs/hook.html .
  2. Rundirenv allow the first time you enter the project.

Windows

(Git Bash or an equivalent shell that supports bash is required).

  1. Follow the instructions contained in thisgist from point 1, to 7. When asked to download the direnv release keep in mind that the version tested and working with our project is thev2.19.2.
  2. Follow the installation guide fromthis repository (if you are curious to know the reason for these additional steps, you can readhere).
  3. Rundirenv allow the first time you enter the project.

Verify

Once you've confirmed you have direnv and you've setup your environment after doingdirenv allow, you can verify that node and yarn are isolated for your environment by typing in the shellwhich node,node -v,which yarn andyarn -v.You should receive paths inside the project and respectively the version of node 18.15.0 and yarn 3.5.0.

Building (local machine)

To build a redistributable, production mode package:

  1. Install Yarn withsudo npm install --global yarn

  2. Setup npm package withyarn.

  3. Install Wails withgo install github.com/wailsapp/wails/v2/cmd/wails@latest.

  4. Installwget andjq globally on your machine, using the right procedure for your operating system.

    E.g. on macOS, you could usebrew install wget jq.
    On a Debian based machine you could useapt-get install wget jq -y.

  5. cd standalone-apps/app-lab-desktop/internal/board/

  6. Download the tools to bundle in the wails app by running:./download_resources.sh.

  7. Runwails build to make the final build.

To correctly build the app on Linux, the webkit library is required. At the time of writing, on Ubuntu 24.04libwebkit2gtk-4.1-dev package is available, and the corresponding wails app should be built with the commandwails build -tags webkit2_41. You may adjust these values as needed for your OS version.

Live Development

To run in live development mode, runyarn start-app-lab-desktop from the root of the project. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browserand have access to your Go methods, there is also a dev server that runs onhttp://localhost:34115. Connectto this in your browser, and you can call your Go code from devtools.

A note for Linux users

Some users have reported issues selecting the Arduino Q board in App Lab on Linux. A solution can be found in thispost on the Arduino forum

About

The cross-platform IDE for developing Arduino Apps, built with Wails

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp