VSCode on iPad Pro - Full Setup Guide with Raspberry Pi

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • Get a mobile VSCode setup on your iPad Pro/Raspberry Pi using the wonderful Code Server project.
    NOTE: This is a re-upload of an earlier video that only had audio in the left channel. This one has audio in both channels!
    All commands can be found on my website at: techcraft.co/videos/2022/2/vs....
    CHAPTERS
    =========
    00:00 VSCode on iPad Pro
    00:44 Installing NodeJS
    01:30 Install code-server
    02:32 Default configuration
    04:08 Connecting from Blink
    05:53 Full screen Safari
    07:10 Re-enable password authentication
    07:34 Auto start code-server
    09:38 Installing extensions
    12:10 Secure mode
    LINKS
    =====
    * NodeSource Binary Installation: github.com/nodesource/distrib...
    * Code Server: coder.com/docs/code-server/la...
    * Blink Shell: blink.sh
    GEAR
    =====
    * iPad Pro 11" - geni.us/H0qJ
    * Apple Magic Keyboard - geni.us/8uBg
    * Anker Thunderbolt 3 Cable - geni.us/BTOsQ
    * Aluminium Armour Case - geni.us/M5ph
    AFFILIATE LINKS
    ==============
    Tech Craft is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk
  • Наука та технологія

КОМЕНТАРІ • 260

  • @tech_craft
    @tech_craft  Рік тому +13

    Code Server now requires NodeJS 16. In the instructions replace:
    curl -fsSL deb.nodesource.com/setup_14.x | sudo -E bash -
    With:
    curl -fsSL deb.nodesource.com/setup_16.x | sudo -E bash -
    to get the correct version

  • @eliasdetrois
    @eliasdetrois 2 роки тому +7

    I’ve finally had the time to configure everything including the blink setup and it is an absolute joy to use. Great video, thank you

  • @arthurcrosby5755
    @arthurcrosby5755 2 роки тому

    Thank you for another great video. I followed the link from your reply to my question on your video about connecting the iPad Pro to the Raspberry Pi. I can begin to see now how powerful this combination can be. 👍🏼

  • @tech_craft
    @tech_craft  2 роки тому +11

    This fixes the audio in the earlier release of this video. Sorry for the delay in getting this out - I was away from home for a few days.
    All commands can be found on my website at: techcraft.co/videos/2022/2/vscode-on-ipad-pro-full-setup-guide-with-raspberry-pi/

    • @Tandy625
      @Tandy625 2 роки тому +1

      Sincerely thank you for the fix! Keep enjoying what you do!

  • @sergysh
    @sergysh 2 роки тому +1

    Fabulous!! It really works. I ran java ee development on iPad. Magic!! Thank you!

  • @pravinkumarone
    @pravinkumarone 8 місяців тому

    I'm just getting excited to use this setup soon.

  • @nebilkisa8594
    @nebilkisa8594 2 роки тому

    You are a star - thank you very much for this tutorial!

  • @dreamfreqhq
    @dreamfreqhq Рік тому

    Awesome video! Thank you!

  • @maddoggLP
    @maddoggLP 2 роки тому

    Thank you very nice tutorial! Thinking of buying an iPad setup now.

  • @angkhoavo366
    @angkhoavo366 Рік тому

    Very helpful..thanks a lot.

  • @a9udn9u
    @a9udn9u 2 роки тому +7

    This is awesome! I’m outrageous about the fact that I’m forced to go through this process to make my $1,000+ iPad Pro useful.

  • @fernandosalaroli3629
    @fernandosalaroli3629 2 роки тому +12

    Do a video on xmonad and VNC!!! Thanks for the videos, they are great!

  • @zed9zed
    @zed9zed 2 роки тому +19

    Truly great video! One small suggestion - when you do things in the terminal or editing files, please allow a second or two more of that visual content before changing to something else. For example, after you edited the config file to enable certs, the scene changed so quickly that I had to rewind a few times and try to pause the video at just the right moment.

    • @tech_craft
      @tech_craft  2 роки тому +3

      Good feedback. I included all the commands in the linked web page so that they are always available to copy without having to read from the video.

  • @PaulShadwell
    @PaulShadwell 2 роки тому

    Nice job. Much better.

  • @jadenkhentagon3876
    @jadenkhentagon3876 Рік тому

    super dope... thanks

  • @eliasdetrois
    @eliasdetrois 2 роки тому +1

    I absolutely love your videos and the pi is such a great addition to the iPad👍

  • @BobDenny
    @BobDenny 2 роки тому

    100% BRILLIANT. FYI I installed Node v18 from NodeSource then got schwacked because code-server needs V16. After removing V18 and installing v16 all went well. The crazy Blink guy showing BlinkFS etc... I never got past the annoying Apple Files app BS. code-server is the bomb. I learned new tings about the iPad too. This was great, and very well presented.

    • @tech_craft
      @tech_craft  2 роки тому +1

      I've found that code-server is very particular about the version of NodeJS that it requires.

  • @donaldinos
    @donaldinos 2 роки тому

    Thank you for your inspirative video, i used it like my base tutorial for configuration of my combo. But i use different HW and insteat of PI4 i use Radxa Zero, which have similary performance with PI4 and is small like RPI Zero. This Radxa Zero has 4 GM RAM and also onboard eMMC, which is littlebit faster then classic SD card. And you can also find tutorial, howto Enable USB Ethernet gadget configuration for this Radxa Zero

  • @Hookmodo
    @Hookmodo Рік тому +1

    Hello! Love this tutorial and have set up VSCode on my RPI4 4gb. Could you please upload a followup video showing how to integrate PlatformIO into VSCode running this way? I believe there are some networking issues as I have tried just about everything in the forums and for whatever reason PlatformIO runs in the browser but not in the tab within VSCode as it should. Thanks mate! Love your videos :)

  • @rishiniranjan1746
    @rishiniranjan1746 2 роки тому

    funny and cool and creative

  • @mannkeithc
    @mannkeithc 2 роки тому +2

    Excellent video. Running code-server via Safari worked fine, but every time I tried to run it via the blink ios app as per your video it kept advising I had to install blink-fs code extension. I installed this on the raspberry pi code-server, but it wouldn't install into the browser! I then read Blink's Code document page, and you have to first set-up by running "code ." in blink which loads a local instance of code, allowing you to download and install the blink-fs extension. After that, everything worked as per your video.

    • @tech_craft
      @tech_craft  2 роки тому

      Well spotted. I had already done that step before shooting and forgot to include it.

    • @keebs7544
      @keebs7544 Рік тому

      How do I install blink-fs to the code-server. I've got the extension for vscode but blink can't seem to access my files still.

  • @usercentered
    @usercentered 2 роки тому +1

    My Pi Zero2 just froze trying to compile code-server. The reason was that the Pi was stuck swapping memory.
    I did the following to change the swap file size:
    sudo service dphys-swapfile stop
    sudo nano /etc/dphys-swapfile
    CONF_SWAPSIZE=1024
    sudo service dphys-swapfile start
    This fixed it nicely.
    I re-set the swapfile size to 100 afterwards.
    Maybe this helps someone with a similar setup.

  • @Daniel-hz6pt
    @Daniel-hz6pt 2 роки тому

    Hey! Great video, not sure if you’ve noticed but in the latest Blink major release, VSCode is baked in, just run code from your blink shell :D

    • @tech_craft
      @tech_craft  2 роки тому +1

      I have seen that. The VSCode that's built in is missing quite a few things - it can't run code for example - without being connected to a code-server or similar.

    • @Daniel-hz6pt
      @Daniel-hz6pt 2 роки тому

      @@tech_craft yeah it still requires a remote connection, it’s still abiding by the apple App Store policies, it’s still very cool

  • @andrewgluck8740
    @andrewgluck8740 2 роки тому

    Blink shell now has code built in!

    • @tech_craft
      @tech_craft  2 роки тому +1

      It does, however it's no a 'full' Code in that it doesn't have a terminal or any ability to run any code without connecting on to something like a code server. This setup is mentioned in the video.

  • @patponce
    @patponce Рік тому

    This is really cool! Thank you for sharing. Will make it a point to implement this month. Quick question:
    When you run or debug code within vscode where does it execute? On the server? On the iPad (which wouldn’t work I imagine)
    Cheers

    • @tech_craft
      @tech_craft  Рік тому +1

      It runs on the server. In this mode you’re basically using the iPad as a remote terminal.

  • @DudeWithADrone
    @DudeWithADrone 2 роки тому +1

    My experience was really weird. I had to install NPM and Node the long way round because my codename for my Raspberry Pi OS distro was "n/a". Anyway that seemed to go well and I could get version numbers with npm --version and node --version so I installed Yarn using nom and that worked good too and I got a version number for that when I typed the command yarn --version. However when I restarted my Pi and tried to get those version numbers through my zsh shell I got "unknown command: npm" etc for all three. So I changed my shell to a bash one and low and behold I could get version numbers again.
    I then changed back to zsh and the version numbers came up then too. But if Restart they then they npm, node and yarn seem to stop being recognised all over again.
    Also I managed to get the code server running and coming up in Safari once but now after restarts using systemctl I get a continuous redirect for the code server local webpage in Safari.
    I think I may just have to give up unless anyone has any suggestions. :-(
    Great video though. Cheers!

    • @tech_craft
      @tech_craft  2 роки тому +1

      It sounds like wherever npm is installed isn’t in the path in your zshrc file. You can run ‘echo $PATH’ in bash to see what you have that’s missing when you start up directly in zsh. Then you can add those to your path in your .zshrc file

  • @chronoshift1423
    @chronoshift1423 10 місяців тому

    Quick question, after everything is installed, anytime you want to program, you would just have to plug the PI in and then when you're finished you would just plug it out right?

  • @rlindbuechl790
    @rlindbuechl790 11 місяців тому +1

    Is there any option to change the Zoom level for the whole VSCode screen? It‘s a little small on the iPad 11“

  • @amartinezperez
    @amartinezperez 2 роки тому

    Really nice video. I've got one question. Once you've installed an extension from a downloaded file, will it be updated directly or you have to download the updated version file, transfer it to the pi and install it again?

    • @tech_craft
      @tech_craft  2 роки тому

      For extensions that you download and add manually, you'll need to repeat the same process to upgrade.

  • @Natzawa
    @Natzawa Рік тому

    Can you do a tutorial on how to use your IPad Pro as a monitor for a Steam Deck? I’m sure it would help a lot of people and would be a decent video to cover.

    • @tech_craft
      @tech_craft  Рік тому +1

      I just got a Steam Deck so if I figure out a since setup I will certainly share!

  • @user-xt9we5bn5x
    @user-xt9we5bn5x Рік тому

    Never created a soft ever. Not one. I've watched dozens of videos lately and have learned all kinds of interesting stuff about mic

  • @theespecialist3438
    @theespecialist3438 Рік тому

    Good morning Rob, I am one of your followers and I am curious about which version of the Raspberry Pi can be used with an iPad 4 that has a lightning connector. I have three iPad 4s that I am hoping to bring back to life. Thank you in advance for your response and God bless.

  • @ignaziopantaleo
    @ignaziopantaleo 2 роки тому

    As now it is impossible find a Raspberry Pi4, I wonder if this guide will work on different HW like khadas VIM4. Thank you

    • @tech_craft
      @tech_craft  2 роки тому

      There will be some connectivity solution that works, even if it's just wifi or ethernet.

  • @glitchlife4639
    @glitchlife4639 Рік тому

    Can you use this method to turn the Ipad into a portable monitor for a steam deck?

  • @zimmerman1joshua
    @zimmerman1joshua Рік тому

    Ahoy hoy - supa Rob !!
    great videos - QQ had you updated the images w. vscode on them ?

    • @tech_craft
      @tech_craft  Рік тому

      Hey! The images I published were without VSCode and I haven’t updated those recently. The install process is a little simpler these days: coder.com/docs/code-server/latest/install

  • @Pawwzzzu
    @Pawwzzzu 8 днів тому

    Hi! Recently came across your video and great tutorial btw. With the new iPad pros m4 are you still using this method? Or is this an easier method now to use vscode?

  • @richardstrange8127
    @richardstrange8127 2 роки тому

    Is there any chance you could cover the camera ui in Hoobs please, the plug-in looks fantastic, I just don’t have the skills or experience yet 😩

    • @tech_craft
      @tech_craft  2 роки тому +1

      I'm trying to find the time to return to more Home Automation content!

  • @danielhiller2350
    @danielhiller2350 2 роки тому

    First of all, thank you for the great video! :)
    I have a question about installing the extensions: Unfortunately, my pi is not displayed in files when I mount it via blink. Have I possibly forgotten something?

    • @tech_craft
      @tech_craft  2 роки тому +1

      Nothing comes to mind. I'm shooting a tutorial showing this exact thing in the next few days so if there is anything missing, hopefully it will show up there.

  • @OlleMattsson
    @OlleMattsson 2 роки тому +1

    What a brilliant setup. One thing comes to mind though, we not leave the PI connected to a router instead of carrying it along? Is there some obvious caveat I'm missing here?

    • @soontoberockstar8
      @soontoberockstar8 2 роки тому +1

      This is what I do but I think some people like carrying it around for adding extra ports to their iPad through connection of the Raspberry Pi. Also if you want to access it when you are away from your home network you have to add port forwarding rules on your router to ssh to it remotely so it is probably easier for most people to just carry it around and connect it directly to their iPad.

    • @tech_craft
      @tech_craft  2 роки тому +1

      The only caveat is whether you’ll have reliable connectivity back to your home/office. If you do, then leaving the Pi at home makes sense. If not, carrying it gives a bit of extra certainty

  • @triinulepa4719
    @triinulepa4719 4 дні тому

    Please make a video how to install or use Android Studio in iPad over Linux Server

  • @bagrr2524
    @bagrr2524 Рік тому

    Is the master channel of the setuper peaking into the red? If you have any peaks over 0dB it will distort. Please do let know, We will get

  • @luchonazar
    @luchonazar Рік тому

    Hello! Thanks for the video, are these steps the same if I use the Ubuntu image?

  • @meermohamad4707
    @meermohamad4707 Рік тому

    Thank you sir, in tNice tutorials tutorial I've learnt alot from you!

  • @patryk888888
    @patryk888888 Рік тому

    Awesome video. just couldn’t get the certificate part working, but i’ll try again. One question. Is it just me or the github integration does not work with this set up ?

    • @tech_craft
      @tech_craft  Рік тому +1

      I haven't tried it so I can't say for sure. I imagine this problem probably isn't going to be present on the official VSCode server

  • @TiaDzn
    @TiaDzn Рік тому

    Due to the outrageous raise in price of the Raspberry Pi 4, could you please advise me another board with which I could use the same "one cable" setup with the Magic Keyboard? Thank you in advance, you videos are sooo good!

    • @tech_craft
      @tech_craft  Рік тому

      Everything seems expensive at the moment. I've been using some of the Khadas boards but they don't support the one cable setup - I end up using Wifi linking instead which isn't as nice. Sadly the Pi4 remains the best for this - in my experience at least.

  • @tiffanyk2743
    @tiffanyk2743 Рік тому

    Hi great video! Just wondering if you've been able to clone repos and push branches using git whilst having this setup? I'm had issues in the past. Thanks!

    • @tech_craft
      @tech_craft  Рік тому

      I haven't had any issues with this. What errors are you seeing?

  • @jerrythomas2244
    @jerrythomas2244 Рік тому

    Thanks Tech Craft, Do you think that this solution could be made to work wirelessly so there is no hard wire connection between the pi and the ipad?

    • @tech_craft
      @tech_craft  Рік тому

      There's RaspAp which turns the Pi into a wireless AP that can be paired with this setup. It used to be the case that you could do this with just the wifi adapter in the Pi in a reasonably supported way. This is now not really supported and you need a second USB-C wifif adapter. That itself is a pain because the driver situation is terrible.

  • @jamesdoughnut85
    @jamesdoughnut85 2 роки тому

    Thanks Tech Craft for producing this video! I am pretty new to this and tried setting it up but am having some trouble.
    What were the steps taken prior to 0:39?
    Is the Raspberry Pi connected to the iPad Pro?
    Some information on what I have done: I had downloaded your image of ARM64 Lite and flashed the file using balena etcher. Managed to set the WLAN and hostname via raspi-config. Tried to ssh using blink but I can't seem to establish a connection.
    Do I watch the earlier video titled "Mobile Raspberry Pi Setup with iPad Pro - Coding, Productivity & More" as a pre-setup to this video?

    • @tech_craft
      @tech_craft  2 роки тому +2

      I'm going to shoot an updated beginner's guide very soon. For now though, if you're using my images, it's enough to connect the Pi via USB-C to the iPad and then ssh in with `ssh pi@10.55.0.1` the password is `raspberry`.

    • @jamesdoughnut85
      @jamesdoughnut85 2 роки тому

      @@tech_craft Thanks for the tip! WIll try again!

    • @RenM908
      @RenM908 2 роки тому

      @@tech_craft What should you do if you dont have the pro version but a base model ipad?

    • @Arouka80
      @Arouka80 2 роки тому

      @@RenM908 I'm using a 6th gen iPad and a pi4, the communication part its not the problem, the problem is that the older iPads (lightning port) don't have enough power to power up the pi.
      My solution:
      I'm supplying power to the pi through the GPIO pins and also a USB hub, then the USB-C from the pi goes to the hub and the hub connects to the iPad, also have the advantage that now i can use higher powered devices with my iPad.
      This way the iPad only deals with the communication part.
      My final setup is a pi4(8Gb) ina Argon M.2 case with a GPIO 4 port hub on top, a 10A/h power bank lasts me around 1 1/2 hours if i need to power the iPad also.
      Hope it helps.
      *not all of us can afford a PRO* :)

  • @limestone_xyz
    @limestone_xyz Рік тому

    Hey all, when I try to do the step with certificate, I can't start the code-server anymore. It throws the "Failed with result 'exit-code'." error.
    Any thoughts?

  • @blok1
    @blok1 Рік тому

    hi, I keep getting an error when running code-server and unable to access local host, it keep spitting out an error saying I dont have module 'Yazl' installed
    what do I need to do to resolve this?

  • @kraznoxic
    @kraznoxic 8 місяців тому

    sorry, how did you access raspberry pi through your ipad? or is it just plain SSH that you mentioned in the other video?

  • @regl0s
    @regl0s Рік тому

    Fantastic Video, thank you very much.
    One question remains for me: I'd guess if I run something like the ng serve command from Angular, this would actually boot up at the raspberry. Is there a way to access the Website (e.g. localhost:8100) on the iPad?

    • @tech_craft
      @tech_craft  Рік тому

      Thanks. You certainly can access things on the Pi. Rather than using localhost, use the hostname or the IP address of the Pi instead.

    • @84jperez
      @84jperez 8 місяців тому

      @@tech_craft is there a setting that needs to be enabled? I can't seem to reach the site i'm working on using the pi hostname and port.

  • @handmadegenius
    @handmadegenius 2 роки тому

    Hey! Great video, I have an ssl certificate from Let's Encrypt that I use for an apache server on the same pi (port 80/443). So I can access it from anywhere, my code-server port is also forwarded. Is it possible to use this certificate that I already have for code-server so it can actually be valid? Thanks!!

    • @tech_craft
      @tech_craft  2 роки тому

      As long as the hostname you access code-server over matches the host-name of the cert, I see no reason why it wouldn't work.

  • @LouPage111
    @LouPage111 2 роки тому

    Great tutorial. When using vocoder with blink it sometimes loses connection. Is mosh a way around this? I can’t seem to get mosh and vocoder working together with blink.

    • @tech_craft
      @tech_craft  2 роки тому +1

      I don’t think mosh helps in this instance. Blink has a geolocation hack that can keep SSH tunnels alive for longer. You can run ‘geo track’ in Blink to turn this on

    • @LouPage111
      @LouPage111 2 роки тому

      @@tech_craft Thanks for the tip! I don’t really know much about mosh and the advantages of using it. Looking forward to future videos regarding your setup and workflow. VSCode in Blink is a game changer for coding on the iPad.

  • @JoshofHB
    @JoshofHB 2 роки тому

    Ok, just got this all going. It was fun, and I learned a lot. What's our next project Rob? =P

    • @tech_craft
      @tech_craft  2 роки тому +1

      I'm currently working through moving off the Apple ecosystem of services towards self-hosted/open source tools. Quite a lot of moving parts, all at varying levels of working so far, but it's been interesting and I'll be documenting it all on the channel.

    • @JoshofHB
      @JoshofHB 2 роки тому

      @@tech_craft I’ll look forward to it!
      And Rob, you’re awesome. Really enjoy your channel. Is there somewhere we can send you a tip or beer $?

    • @tech_craft
      @tech_craft  2 роки тому +1

      Glad you are enjoying the content.
      I haven't really been very serious about making money from the channel. Right now I'm mostly focused on growing and serving the audience.
      That said, I am planning on setting up a Discord server for a better way to have these discussions and I'll probably launch a Patreon at the same time.

  • @Nalla02
    @Nalla02 Рік тому

    Hi, I'm watching all your videos about connecting the RaspBerry Pi 4 to Ipad Pro (M1) and I think this is a great idea but I have a question. Is this setup powerful enough to code new mobile apps, web sites, pc videogames (no simple videogames), or "big" software (not just for hobby)? And is it also enough powerful "to code" hardware (for example mouse/keyboard), I mean create a new mouse from 0? Thank you. (Sorry for my bad english)

    • @tech_craft
      @tech_craft  Рік тому +1

      Websites yes, and 'big' software yes, depending on how big you go. You can certainly build real software on the Pi.
      I don't have enough experience with mobile dev to really say - I certainly think this setup is unlikely to work for iOS development, but maybe for Android.
      PC videogames. Things like Stardew Valley probably. Things like Crysis - definitely not.
      You can definitely code hardware with the Pi and because it has built-in GPIO, things like making keyboards or mice is quite common.

  • @DimitriVolkmannSY
    @DimitriVolkmannSY 2 роки тому

    Thanks for doing this, pretty cool. I have a question though. The USB setup get the Pi on a 10.55.x.x address... problem is: I have a network setup that is a bit picky on the firewall. The Pi WiFi get san IP address 192.168.1.x an dthe firewall rules do not allow 10.55.x.x to establish a connection... so occasionally (not all the time whcih is weird) I get intrusion detections and blocked... Any idea on how t make this work? I might need to re learn networking...

    • @tech_craft
      @tech_craft  2 роки тому

      That’s strange. What’s the network path here? Is it iPad to Pi over 10.55 and then Pi to LAN over 192.168?

  • @s6yx
    @s6yx 2 роки тому +1

    just run the vscode docker container on pi and presto. Takes 2 mins

  • @tokyodrift42
    @tokyodrift42 2 роки тому +1

    excellent video thanks, however I can’t get code-server to run properly. I’ve tried it on a zero w 2 with buster and bullseye, cs starts ok but when I connect from the iPad it fails with an error that it can’t find module minimist :( I’ve tried manually installing minimist but it just fails on another module yauzl I think it was. Strangely enough if I run code server in a docker container on the pi it does work ok, but I have probs installing extensions so I’ve gone back to native cs on the pi and am trying and failing to figure this minimist thing :(

    • @tech_craft
      @tech_craft  2 роки тому

      Which version of code server are you picking up? There was a bug in 4.0.2 that caused a bunch of issues. I saw this exact one and ended up waiting on the video until 4.1 came out. Worth checking you're not getting an old version some how.

    • @tokyodrift42
      @tokyodrift42 2 роки тому

      @@tech_craft thanks for the reply, I’m on 4.1 and haven’t managed to figure a solution so I’m trying the docker version again to see if I can figure that out

    • @expedition346
      @expedition346 Рік тому

      ok i got a “solution”…i just went and “npm install -g” all the required modules (minimist, yauzl, yazl) and i got like code-server to present me with the UI before, within milliseconds, running into MORE “cannot find module [module].” having to installing these modules one-by-one gives me doubt that i installed code-server correctly in the first place or yarn…..:(

  • @hareshkhambhadiya7041
    @hareshkhambhadiya7041 Рік тому

    @Tech craft, I’m not Mac or iPad guy but my question is that new Mac M1 directly support VScode and new IPad also have M1 chip then why we are not able to install directly?

    • @tech_craft
      @tech_craft  Рік тому

      Sadly not. The chip would support it but the operating system does not.

  • @sophiataskova1
    @sophiataskova1 Рік тому

    Thank you for this video! Did you need to install an Ubuntu desktop for the vscode setup to work? I struggle to finish the setup on my Pi which has a headless ubuntu on it, I wonder if I missed that requirement. Thanks!

    • @tech_craft
      @tech_craft  Рік тому

      For this setup you don't need a GUI, but can have one if you prefer. I wonder if the issue you're seeing is that Code Server upgraded from Node 14 to Node 16.
      In the instructions replace `curl -fsSL deb.nodesource.com/setup_14.x | sudo -E bash -` with `curl -fsSL deb.nodesource.com/setup_16.x | sudo -E bash -` to get version 16 instead of version 14.

    • @sophiataskova1
      @sophiataskova1 Рік тому

      @@tech_craft TYSM for the quick reply! I did notice that I needed version 16, I think there was a helpful error message along the way. I'll keep troubleshooting and post what worked

  • @Giodude23
    @Giodude23 2 роки тому

    Can you connect the Raspberry Pi to the iPad-Pro with a normal USB-Type C ? Or do you have to use a More advanced cord for it to work ?

    • @tech_craft
      @tech_craft  2 роки тому

      It depends on what revision of Pi4 you have. Revisions pre 1.2 need special cables. Tom’s Hardware has a list of know working ones: www.tomshardware.com/news/raspberry-pi-4-usb-c-cables-that-work,39869.html
      Newer revision work with any cable of decent quality. Be a bit wary of cables that are overly long or thin. You might see voltage drops that cause the Pi to throttle.

  • @erfanesfahanian5321
    @erfanesfahanian5321 10 місяців тому

    So you run the server on the iPad too am I right?

  • @aboobakrkaraG
    @aboobakrkaraG Рік тому

    CAN THIS WORK ON THE IPAD AIR

  • @beduncs
    @beduncs 2 роки тому

    Have you been able to use the Jupyter Extension inside of code-server with this setup?

    • @tech_craft
      @tech_craft  2 роки тому +1

      I haven't tried it. A few people had some issues so I'm going to give it try out to dig into the issues.

  • @a96415
    @a96415 2 роки тому +2

    Does anyone know if this would work with an x86 SBC (such as a lattepanda)? If so, what model? I'd love to use this setup with an iPad Pro 12.9".

    • @mbbxx
      @mbbxx 2 роки тому

      I don't see any reason why it wouldn't work with x86 platform. ZOTAC ZBOX pico PI225 would be great for this

  • @MiloAHatch
    @MiloAHatch 2 роки тому

    I have it set up and running but I want to design a react web app, so i need to port forward more than one connection in blink. when i try adding another port in the SSH Config the ssh wont even run. What is the format for adding multiple forwarded ports?

    • @tech_craft
      @tech_craft  2 роки тому +1

      You can add `LocalForward :` multiple times in the SSH config section of the host. So `LocalForward 8888 localhost:8080` forwards port 8888 on the target to port 8080 on the iPad

  • @gevilomar
    @gevilomar Рік тому +1

    Using yarn is giving me an error stating that I must use NPM instead. How do I create the code-server.service file since the paths are different and the ones I've tried doesn't work. Do you know?

    • @eb4419
      @eb4419 Рік тому

      Sorted mine by trying some of the commands on the Yarn 'Installing Dependencies' page

  • @MrDmoney1984
    @MrDmoney1984 2 роки тому

    Can you please have a link for that pi case

  • @amalh99
    @amalh99 Рік тому

    Anyone can explain how did he opened the terminal in the ipad ? I didnt get it

  • @mattklapman
    @mattklapman Рік тому

    for all the complexity of this installation, can someone explain if written code is lost when a connection goes down due to power or other connection disruption? I would really hate to lose code I've written in this setup.

    • @tech_craft
      @tech_craft  Рік тому

      I have auto save disabled so never lose anything when disconnecting.

  • @LoveEtiowo-qz5wg
    @LoveEtiowo-qz5wg 8 місяців тому +5

    Please take it slowly

  • @SukantoDhali
    @SukantoDhali Рік тому

    My GMS (app) softs different. Why?

  • @vincenthuang6259
    @vincenthuang6259 2 роки тому

    I went this route for a while, my most usecase is outside home/office, the experience is not good for three reasons:
    1. the portability is not good with addtioanl dangle with Pi
    2. the battery is wore with additioanl Pi consume the iPad battery.
    3. the eco-system for arm is still not compatible with x86, many softwares are not running well.
    Now I switch to Surface Go3, which has the similar screen size, but full x86 linux installation ( Arch Linux ) without any dangle, I have run this for a while, the Linux experience is perfect, the drawback is not much excellent touch App support. So it's really depends the use cases for different solutions, just sharing my expereince here for reference.

    • @tech_craft
      @tech_craft  2 роки тому

      I was running the Surface Pro 7 for a while, but with WSL on Windows 10 rather than going full Linux. How's the battery life? That always seems to be the downfall of mobile Linux.

  • @r0bbieh0lt
    @r0bbieh0lt 2 роки тому

    Where do you recommend obtaining a RaspberryPI from? There seems to be a dearth of them and some highly inflated prices. Also, at what point or what set of criteria (for you) do you think you won’t have to use the Pi?

    • @tech_craft
      @tech_craft  2 роки тому +1

      There seems to be no reliable supply that’s priced well. In the U.K. I’m watching PiHut and Pimoroni regularly. A few came into stock recently but were gone in no time.
      For your second question, a definitive switch off would be real virtualisation on the iPad, or real unix on the iPad.
      Alternatively, a converged MacBook and iPad that was best of both.
      I’m also trying out Android at the moment since a lot of people suggested it might fit the bill.
      The Pi will remain usefully for many other use cases burgers are the main changes that would reduce its usefulness alongside the iPad I think

  • @freddielietch9374
    @freddielietch9374 2 роки тому

    hi could u help every time i go to install code sever i get node is incompatible with this module expected version 16 got 14.19.3

    • @tech_craft
      @tech_craft  2 роки тому

      Recently code-server upgraded to Node v16.
      You can find install instructions for all versions here: github.com/nodesource/distributions#debinstall.
      Use the instructions that say they are for Ubuntu.

  • @BadKarma714
    @BadKarma714 2 роки тому +1

    I have the raspberry pie for B I think is that a 64 bit or 32 bit? And how do I find out if mine is a 64 bit raspberry pi?

    • @tech_craft
      @tech_craft  2 роки тому

      All Pi4s are 64-bit. You can install either the 64-bit or 32-bit operating system. To tell which version you are running, run `uname -a` in the terminal. For 32-bit you'll see `armv7l` and for 64-bit you'll see `aarch64`.

  • @lilbunga7783
    @lilbunga7783 2 роки тому

    can u show me best compiler for ipad

    • @tech_craft
      @tech_craft  2 роки тому

      Which language are you compiling?

    • @lilbunga7783
      @lilbunga7783 2 роки тому

      @@tech_craft C language for first year on university

  • @roninssh
    @roninssh 2 роки тому

    Anyone know how long does the iPad battery last when Its powering the PI4?

    • @tech_craft
      @tech_craft  2 роки тому

      It's very dependent on what you're doing with the Pi and things like screen brightness on the iPad, but I get 3-5 hours pretty reliably when I'm working.

  • @antcooper
    @antcooper 2 роки тому

    Would the Pi connect exactly the same way to a Mac using USB C? Wondering if I could have a Pi plugged in as a development machine when I'm at the desktop, but rather than taking a MacBook and iPad with me when I travel, I could just take the iPad and Pi and not have to rebuild my dev environment

    • @tech_craft
      @tech_craft  2 роки тому

      Sorry for the late reply, I wanted to double-check that it does work, but yes, you can absolutely do that.

    • @antcooper
      @antcooper 2 роки тому

      @@tech_craft No problem, I appreciate you testing it for me. That's great news.

  • @AceLightningGames
    @AceLightningGames Рік тому

    If I start ng serve on code-server so how can I access to run angular app on 4200 port?

    • @tech_craft
      @tech_craft  Рік тому

      You can access 4200 directly on the hostname of the code-server machine.

  • @omkartarawade7832
    @omkartarawade7832 9 місяців тому

    I'm getting this error on safari when I open the code-server saying "safari can't open the page because it couldn't connect to the server", can you help me please
    Update- remember to start code-server before accessing from safari 😅😅

  • @robsonw70
    @robsonw70 2 роки тому

    Small question. U use blink. Why d’u use rasp pi of the vscode IS Integratd with blink? And next one. On Video and in blink IS code Web edition. Maybe Eastern Is to show code on VNC connection. IT IS full version on Linux . And all extension can be installed. And next. Maybe it will be good to show How run Live Server to show running our Project.

    • @tech_craft
      @tech_craft  2 роки тому

      The VSCode in Blink cannot run code - it can only edit. You need to connect it to separate server to have an execution environment as shown in the video.

  • @alextrujillo5421
    @alextrujillo5421 Рік тому +2

    Anyone experiencing the issue:
    yarn.lock file not present, not running in development mode. use npm to install code-server!
    This occurs after the yarn global add code-server command

    • @expedition346
      @expedition346 Рік тому

      i got exactly this. then after downloading through npm, i can run the code-server command, but when i access the port 8080, it tells me i’m missing a few modules like yazl and minimist. Even after specifically downloading these modules, nothing changes (code-server still tells me i’m missing those modules) and i can’t access code server through ipad

    • @tech_craft
      @tech_craft  Рік тому +1

      Let me take a look at this - I haven't done a new install for a while since mine has been stable, maybe something has changed.

    • @taylorloykasek2625
      @taylorloykasek2625 Рік тому

      @@tech_craft I'm having the same problem as Alex

    • @regl0s
      @regl0s Рік тому

      Same for me, it seems that you can just use npm as suggested and then use the code-server command as is, without the need to specify /.yarn/...

    • @limestone_xyz
      @limestone_xyz Рік тому

      anyone found a solution fir this? I'm having the same issue.

  • @renmedalla
    @renmedalla Рік тому +1

    Need help with the code-server install via yarn. I keep getting the ff error “error /usr/local/share/.config/yarn/global/node_modules/code-server: Command failed. Exit code: 1” and further down it shows “yarn.lock file not present, not running in development mode. use npm to install code-server!”. Any ideas?

    • @tech_craft
      @tech_craft  Рік тому +2

      Not sure of the exact errors but the latest docs recommend `npm` for ARM installs now. You can see the docs here; coder.com/docs/code-server/latest/npm

    • @renmedalla
      @renmedalla Рік тому +1

      @@tech_craft Would you be able to revisit code-server and update your video? A lot has changed and although I was able to get code-server installed with npm the dependencies are simply broken. It seems to be hardly functional as it is now. Thanks.

  • @aboobakrkaraG
    @aboobakrkaraG Рік тому

    Does this work on the iPad Air need vscode

    • @tech_craft
      @tech_craft  Рік тому

      It does. If you have a USB-C Air then it works the same as with the iPad Pro. If you have a Lightning Air then you'll need a different connection method. See this video: ua-cam.com/video/cD3JN8BHosI/v-deo.html

  • @duggrein409
    @duggrein409 Рік тому

    I am running into a yarn lock file issue after running "yarn global add code-server" any suggestions?

    • @tech_craft
      @tech_craft  Рік тому

      I usually delete (or move yarn.lock) and try again when doing this.

  • @shekcbanny
    @shekcbanny 2 роки тому +1

    Apple should just make tablet version of macos. Or a different linux distro supporting tablet features on their ipad for Ipads to be a usable computer. Otherwise its just a big-sized smartphone

    • @tech_craft
      @tech_craft  2 роки тому

      I agree. I was disappointed that iPadOS 16 was so underwhelming for pro use cases. I really don’t get all the hype around it

  • @arturfil
    @arturfil Рік тому

    So I have ubuntu on my raspberry pi, following the other tutorial you have but just using firefox is a hassle, would you say using raspbian OS is better?

    • @tech_craft
      @tech_craft  Рік тому +1

      Raspbian is still the least-friction setup, mostly because third parties create RPi docs/packages with RPi OS in mind. Ubuntu is catching up, but if you're facing problems, trying RPi OS is a good place to start.

    • @arturfil
      @arturfil Рік тому

      @@tech_craft Okay I got Ubuntu to work with vscode and Firefox, I'll try over clocking it and see how it goes

    • @regl0s
      @regl0s Рік тому

      @@arturfil hey, do u mind telling me how u got firefox working? the only thing happening to me is that it's complaining about not being able to open at display :2. Thank you so much in advance

    • @arturfil
      @arturfil Рік тому

      @@regl0s On his video of Ubuntu on ipad he puts on a comment that you have to run the following command:
      xhost +si:localuser:$USER
      and after that you should be fine

    • @regl0s
      @regl0s Рік тому +1

      @@arturfil thank you very much

  • @cinnamonrage
    @cinnamonrage Рік тому

    Is there a guide for serving a website to localhost:4200, or similar, and showing it in another window? I’m sure I found it on a video of yours and can’t find it again.

    • @tech_craft
      @tech_craft  Рік тому

      You can access anything running on the Pi using the Pi’s own hostname, there’s no real need to tunnel to localhost.

    • @cinnamonrage
      @cinnamonrage Рік тому

      @@tech_craft Ah, that’s perfect. I’m trying to live the iPad lifestyle. Linux is a black box to me as someone’s who’s always been a windows developer. Your videos have been invaluable. I’ve had to go to eBay for a zoo though as none exist anywhere else 😂

    • @cinnamonrage
      @cinnamonrage Рік тому

      @@tech_craft Sorry, I have noticed I can get to the site via the USB0 IP (through ifconfig). Appending :4200 to the address didn’t work though. Any suggestions?

  • @porroapp
    @porroapp 2 роки тому

    Is this still relevant if you have github codespace?

    • @tech_craft
      @tech_craft  2 роки тому +1

      I think so. The last time I tried it, Codespaces didn't play too well in Safari on iOS. I'm hopeful that Codespaces and GitPod will both get that resolved eventually.

  • @keshav8497
    @keshav8497 2 роки тому

    So is this basically using ipad as a monitor for rasberry pi ? ignoring all M1 powers ?

    • @tech_craft
      @tech_craft  2 роки тому

      It’s doing things the iPad can’t do, M1 or otherwise.

  • @leongreennightmare1760
    @leongreennightmare1760 Рік тому

    tutorialng your tutorial video, i feel much more confident

  • @bobsisic5714
    @bobsisic5714 Рік тому

    Do I need a raspberry pi for this setup to use a vs code

    • @tech_craft
      @tech_craft  Рік тому

      You need a Pi for this exact setup, but you can also use pretty much any other machine that you have access to from your iPad. Sadly, the iPad won't run full VS Code so you'll need to host the server version somewhere.

  • @moomdog5663
    @moomdog5663 2 роки тому

    honestly i’m done ive tried running through this tutorial 5 separate times, and it always gets hung up when i try and connect using the local url in safari, and it never connects. Can someone please tell me what i’m doing wrong?

    • @tech_craft
      @tech_craft  2 роки тому

      What's your setup? Are you running the Pi connected over USB-C or WiFi?

  • @sebastianpeschl3206
    @sebastianpeschl3206 Рік тому

    I got an warning ("code-server > @coder/logger@3.0.0" has unmet peer dependency "@google-cloud/logging@^9.2.1") and an error (/usr/local/share/.config/yarn/global/node_modules/code-server: Command failed.) during execution of "sudo yarn global add code-server". It would be kind to get some help to determine what couses this problem. I am using a fresh install of Bullseye 64Bit (no desktop ) on an Pi4B and try the installation via SSH and follow the updated guide on the website. Thanks for your assistance.

    • @tech_craft
      @tech_craft  Рік тому

      First thing to check is which version of NodeJS is installed. What does `node -v` return?

    • @expedition346
      @expedition346 Рік тому

      @@tech_craft i have this same problem and node -v returns “v16.18.1”

  • @HuyNguyen-dx2il
    @HuyNguyen-dx2il 2 роки тому

    Would this setup possible with a Rpi Zero W?

    • @tech_craft
      @tech_craft  2 роки тому +1

      In theory yes. In practice, I suspect there will be too little memory for this to work well on the Zero.

    • @HuyNguyen-dx2il
      @HuyNguyen-dx2il 2 роки тому

      @@tech_craft Thanks for the info!
      BTW glad to see you're back. Keep up the good works!

  • @adfkbjanaklfjbqer1645
    @adfkbjanaklfjbqer1645 2 роки тому

    Any way to use this on the go outside of the home?

    • @tech_craft
      @tech_craft  2 роки тому

      Yeah, a few good options.
      1. You can carry the Pi with you. That's how this project started for me.
      2. You can run a machine in your home and make it accessible on the Internet. Port forwarding, VPN or services like remote.it are good options for this.
      3. You can run a machine in the cloud on a one of the many cheap providers like Linode or Digital Ocean.

    • @adfkbjanaklfjbqer1645
      @adfkbjanaklfjbqer1645 2 роки тому

      I have been trying to access the pi on the go taking it with me without internet connection and it wont connect via usb c. Any suggestions on what may be causing this?

    • @tech_craft
      @tech_craft  2 роки тому

      Which OS are you using? Also, which cables are you using?

  • @kwadwoamponsah
    @kwadwoamponsah Рік тому

    What I understand is that with out a pi, an Ipad has no long term use for someone looking to explore software developing as a hobby?

    • @tech_craft
      @tech_craft  Рік тому +1

      Without another device to connect to your options on the iPad are certainly limited. You do have some good options, especially if you want to explore for a hobby. Pyto is a pretty complete Python 3 environment on the iPad that is actively developed. Codea is an interesting tool for learning with the Lua language.

  • @cesar6277
    @cesar6277 2 роки тому

    I get an error with npm, it can't be installed, and as a result I can't install yarn as well

    • @AdonisDeonarine
      @AdonisDeonarine 2 роки тому

      Same!

    • @tech_craft
      @tech_craft  2 роки тому

      What's the error message?

    • @cesar6277
      @cesar6277 2 роки тому

      @@tech_craft bash: npm: command not found
      Even after doing "sudo apt-get install npm"

    • @MrMicmac88
      @MrMicmac88 2 роки тому

      Using a node version 14.x resolved the problem for me.
      And note that an install via yarn is depreciated, following the code-server doc : coder.com/docs/code-server/latest/npm