Тёмный

VSCode on iPad Pro - Full Setup Guide with Raspberry Pi 

Tech Craft
Подписаться 92 тыс.
Просмотров 106 тыс.
50% 1

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

Наука

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 260   
@tech_craft
@tech_craft Год назад
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 года назад
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. 👍🏼
@a9udn9u
@a9udn9u 2 года назад
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.
@sergysh
@sergysh 2 года назад
Fabulous!! It really works. I ran java ee development on iPad. Magic!! Thank you!
@zed9zed
@zed9zed 2 года назад
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 года назад
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.
@maddoggLP
@maddoggLP 2 года назад
Thank you very nice tutorial! Thinking of buying an iPad setup now.
@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!
@fernandosalaroli3629
@fernandosalaroli3629 2 года назад
Do a video on xmonad and VNC!!! Thanks for the videos, they are great!
@angkhoavo366
@angkhoavo366 Год назад
Very helpful..thanks a lot.
@jadenkhentagon3876
@jadenkhentagon3876 Год назад
super dope... thanks
@PaulShadwell
@PaulShadwell 2 года назад
Nice job. Much better.
@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 года назад
I've found that code-server is very particular about the version of NodeJS that it requires.
@eliasdetrois
@eliasdetrois 2 года назад
I absolutely love your videos and the pi is such a great addition to the iPad👍
@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
@rlindbuechl790
@rlindbuechl790 11 месяцев назад
Is there any option to change the Zoom level for the whole VSCode screen? It‘s a little small on the iPad 11“
@usercentered
@usercentered 2 года назад
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.
@Hookmodo
@Hookmodo Год назад
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 :)
@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
@chronoshift1423
@chronoshift1423 11 месяцев назад
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?
@mannkeithc
@mannkeithc 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.
@glitchlife4639
@glitchlife4639 Год назад
Can you use this method to turn the Ipad into a portable monitor for a steam deck?
@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 Год назад
It runs on the server. In this mode you’re basically using the iPad as a remote terminal.
@luchonazar
@luchonazar Год назад
Hello! Thanks for the video, are these steps the same if I use the Ubuntu image?
@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.
@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 года назад
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.
@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 года назад
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
@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.
@andrewgluck8740
@andrewgluck8740 2 года назад
Blink shell now has code built in!
@tech_craft
@tech_craft 2 года назад
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.
@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.
@DudeWithADrone
@DudeWithADrone 2 года назад
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 года назад
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
@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?
@rishiniranjan1746
@rishiniranjan1746 2 года назад
funny and cool and creative
@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?
@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.
@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?
@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.
@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 года назад
I'm trying to find the time to return to more Home Automation content!
@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?
@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 Год назад
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
@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?
@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 года назад
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.
@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 Год назад
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.
@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.
@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
@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
@meermohamad4707
@meermohamad4707 Год назад
Thank you sir, in tNice tutorials tutorial I've learnt alot from you!
@Pawwzzzu
@Pawwzzzu 14 дней назад
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?
@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.
@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 года назад
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
@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 Год назад
I just got a Steam Deck so if I figure out a since setup I will certainly share!
@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
@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.
@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 года назад
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* :)
@amalh99
@amalh99 Год назад
Anyone can explain how did he opened the terminal in the ipad ? I didnt get it
@a96415
@a96415 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
@tokyodrift42
@tokyodrift42 2 года назад
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…..:(
@aboobakrkaraG
@aboobakrkaraG Год назад
CAN THIS WORK ON THE IPAD AIR
@OlleMattsson
@OlleMattsson 2 года назад
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 года назад
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 года назад
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
@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.
@gevilomar
@gevilomar Год назад
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
@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.
@SukantoDhali
@SukantoDhali Год назад
My GMS (app) softs different. Why?
@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 года назад
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`.
@erfanesfahanian5321
@erfanesfahanian5321 10 месяцев назад
So you run the server on the iPad too am I right?
@beduncs
@beduncs 2 года назад
Have you been able to use the Jupyter Extension inside of code-server with this setup?
@tech_craft
@tech_craft 2 года назад
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.
@triinulepa4719
@triinulepa4719 9 дней назад
Please make a video how to install or use Android Studio in iPad over Linux Server
@MrDmoney1984
@MrDmoney1984 2 года назад
Can you please have a link for that pi case
@tech_craft
@tech_craft 2 года назад
Here you go: geni.us/M5ph
@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.
@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 года назад
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 года назад
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.
@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.
@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 Год назад
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 Год назад
@@arturfil thank you very much
@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 года назад
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
@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.
@renmedalla
@renmedalla Год назад
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 Год назад
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 Год назад
@@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.
@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?
@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
@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.
@s6yx
@s6yx 2 года назад
just run the vscode docker container on pi and presto. Takes 2 mins
@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.
@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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-cD3JN8BHosI.html
@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.
@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 😅😅
@LoveEtiowo-qz5wg
@LoveEtiowo-qz5wg 8 месяцев назад
Please take it slowly
@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?
@HuyNguyen-dx2il
@HuyNguyen-dx2il 2 года назад
Would this setup possible with a Rpi Zero W?
@tech_craft
@tech_craft 2 года назад
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!
@zeelux55
@zeelux55 Год назад
Is there a way to do it with npm? Yarn is not working thanks
@tech_craft
@tech_craft Год назад
There is an npm install option but it's not recommended for ARM machines: coder.com/docs/code-server/latest/install#npm
@zeelux55
@zeelux55 Год назад
thanks worked for me
@zeelux55
@zeelux55 Год назад
but when i want to open a folder it always says that the path doesnt exist, I use /code-server
@porroapp
@porroapp 2 года назад
Is this still relevant if you have github codespace?
@tech_craft
@tech_craft 2 года назад
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.
@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”
@shekcbanny
@shekcbanny 2 года назад
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
@Shareef945
@Shareef945 2 года назад
Hi, I get the error "the engine node is incompatible with this module. Expected version 16 and got 14". I've tried a sudo apt update/upgrade but its still not working. What do I do?
@-ParallaX
@-ParallaX 2 года назад
no need to do this method anymore , vs code made vs on any device just yesterday you can check it out on their youtube channel.
@Shareef945
@Shareef945 2 года назад
@@-ParallaX perfect, thanks a lot!
@-ParallaX
@-ParallaX 2 года назад
@@Shareef945 np
@tech_craft
@tech_craft 2 года назад
In case you can't get into the private beta for VSCode remote. Code Server has switched node to version 16. So rather than this command: curl -fsSL deb.nodesource.com/setup_14.x | sudo -E bash - You need this: curl -fsSL deb.nodesource.com/setup_16.x | sudo -E bash -
@Shareef945
@Shareef945 2 года назад
@@tech_craft Perfect! Thanks for your help
@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
@leongreennightmare1760
@leongreennightmare1760 Год назад
tutorialng your tutorial video, i feel much more confident
@redeagledave
@redeagledave Год назад
Hey, my Raspberry pi 3B+ crashes after I use "yarn global add code-server". I tried it with "yarn cache clean" three times but it won't stop crashing. Could somebody help me?
@tech_craft
@tech_craft Год назад
What kind of crash are you experiencing?
@redeagledave
@redeagledave Год назад
@@tech_craft Well I figured out, that my raspi was getting too low voltage 😅 But thank you for your reply anyway!
@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.
@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?
@Nalla02
@Nalla02 Год назад
I do not understand which Raspberry OS I have to install. Can you tell me please?
@tech_craft
@tech_craft Год назад
I installed the 64-bit Lite version: www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
@Nalla02
@Nalla02 Год назад
@@tech_craft Thank you!
Далее
Code Server Is An AWESOME Replacement for VS Code!
13:01
skibidi toilet 76 (part 1)
03:10
Просмотров 15 млн
Inside my iPad SSH Setup
16:35
Просмотров 108 тыс.
Zed “kills” VSCode
12:10
Просмотров 652 тыс.
I tried using the iPad for Web Design
8:03
Просмотров 53 тыс.
How to use VS Code from ANYWHERE
5:19
Просмотров 297 тыс.
I tried coding on my iPad for 7 days
7:25
Просмотров 1,7 млн
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33