You are browsing as a guest. Sign up (or log in) to start making projects!

Sketchpad

  • 12 Devlogs
  • 32 Total hours

A native macOS IDE for Arduino development built with SwiftUI powered by arduino-cli

Ship #1 Pending review

Finallyyyyy!!!

so this project started from just me wanting to build something with swiftui so i decided i use arduino ide why not make it in native macos ui so we can have like liquid glass and stuff so there that imo there still a lot more features to implement but for now in current build there downloading of board and library and you can upload so i think it does a ok job of being an arduino ide
so yea goodbyeee stardance is ending and i been staying all night long to finally ship this so to test
you can download the .dmg in github releases by click try project

If MacOS blocks it, run xattr -cr Sketchpad.app or go to System Settings > Privacy & Security, scroll down to the Security section, and click Open Anyway.

And finally if you have any bugs or suggestion you can write it in there below but if you would like to attach some picture you can email me the bugs detail or suggestion at [email protected] and i will fix it for you!!

and yea this is a product of an all nighter powered by monster energy ultra so maybe there something i missed so please tell me any changes

goodbye stardanceeee

  • 12 devlogs
  • 32h
Try project → See source code →
Open comments for this post

1h 45m 8s logged

Done!!

i have complete the building and uploading which means that this is our last devlog it really fun working on this am preparing to ship it right now and yea it 6 in the morning i haven’t sleep since idk when but yea fighting with macOS sign stuff right now

0
0
32
Open comments for this post

4h 3m 34s logged

Board and Library!

so i been working on a new library and board manager there still some bugs and quirk but it mostly useable also i just added the app icon also tbh i spend more than just 3h it was like 5h cuz i can’t figure out what wrong with the library search rpc turn out the response is just too big so the response limit got cut off and the grpc error code isn’t just any helpful it just say operation cancel so yea that was a pain

0
0
9
Open comments for this post

5h 2m 32s logged

Procrastination is something

so i been working on a swiftui arduino ide for a while and last month i am really busy (atleast i think so to myself) so i didn’t really do anything after the last devlog but now that stardance is ending (sadd) i feel like it a waste if am not trying to ship it so i been trying to refactor and polish the project to a small mvp that is stable enough that i can ship my goal for the ship is just you can add additional board you can install uninstall upgrade downgrade library and board and compile flash and maybe serial monitor if i had time. but the video you see below might look weird the last devlog there a lot more stuff so i been refactoring a lot of the ui code and backend code so right now the backend logic is ready just need the ui that i will try and finish tmr and hopefully we can ship it soon

0
0
8
Open comments for this post

1h 33m 43s logged

Yayyy

after fighting with codex a thousand time and fighting with xcode swiftui i finally has a working arduino ide in swiftui yayyy

0
0
12
Open comments for this post

46m logged

Looking GoOooOooD

so yea just refine the board manager by using NavigationSplitView and searchbar inside sidebar and you can now upgrade or downgrade platform version

0
0
14
Open comments for this post

1h 9m 4s logged

Board Manager

well we now have a board manager prototype
this take a lot longer than expect as i call Create rpc and not Create then Init rpc and arduino grpc document is like nothing so i spend an hour making codex fetch board from wrong rpc as i use BoardListAll instead of PlatformSearch

0
0
9
Open comments for this post

6h 25m logged

Umm sadly i need to rewrite

so the old codebase was a mess so i decided to reset and build sketchpad2 which is going better cuz instead of trying to figure out swift my self and shoot myself in the foot a thousand time i decide to let codex help me implement my idea instead and yea i will shelf learning swiftui myself later when i got more free time and not trying to make arduino editor to use in my project

so from the reset i change the app to be document app and decided against NavigationSplitView and just use a plain simple editor view toolbar

0
0
13
Open comments for this post

1h 33m 5s logged

Basic Sketch Creation

so i implement this modal that let you type in sketch name and select the path to create and then sent those over to arduino cli to create the sketch and yea it works!

0
0
57
Open comments for this post

32m 14s logged

So umm i hate swiftui

for some reason a picker inside the sidebar cannot show an icon but a picker inside a toolbar in the sidebar can so as much as i hate it i put it there

0
0
7
Open comments for this post

4h 34m 5s logged

the human is unable to type-check this expression in reasonable time

so for today it 1 hour of making the layout for sidebar and 3 hour of fighting with swiftui
but oh well so for the first 3 hour i been spending time trying to understand why doesn’t my bootstrap code get ran when app start but for some reason if i return an emptyview it doesn’t run but if i return it anything even a text it will ran so yea i still dont know why so not gonna comment much on that

but rn the app is one window group it route to 2 view bootstrap and main based on boolean inside controller and inside main i try to start working on the layout

tbh i kinda hope i did more today. but it is what it is and yea that what i did today

0
0
5
Open comments for this post

2h 14m 27s logged

Sketchpad !!

so i like arduino but arduino ide? not so much so i wanted to make an alternative for the ide in swiftui so i founded out that there something call arduino-cli which basically is arduino backend so you can do things like boards management and compile upload via the cli (well that for human) but for us instead of calling the cli and parse the stdout we can use the gRPC interface instead so you run the cli as a daemon and use gRPC to talk so with this devlog i made a swiftui app that when start download the arduino-cli and run it as a daemon and create grpc client and connect to it.

0
0
13

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…