How to use your programming environment from ANY computer

  Рет қаралды 27,933

typecraft

typecraft

Күн бұрын

🚨🚨This video is sponsored by Coder: coder.com/ 🚨🚨
X: / typecraft_dev
We’ve all been there. We messed up our environment because we installed something for a new project. We dropped our laptop, and boom, it was time for a new one. Or maybe you just upgraded to a new one - unless you have a Framework, amirite?
Going through and having to set things up again can be fun, don’t get us wrong - but not when you’re under a deadline. We’re exploring Coder.com, which sponsored this video.
Think of your computer as a thin client, and all of your development takes place in an orchestrated self-hosted (YAY FOR FREE STUFF) solution. In a team environment, you can use hosted solutions like Digital Ocean, AWS EC2 instances, and more.
In this video, we’re going to demonstrate just how straightforward it is to get started - even hosting this on your local machine. With a few simple configurations, you can click a button and have a pristine environment dedicated to your project.
But what about your Neovim configs? Tmux or Zellij? No worries. You can have these setups ready every time you ssh in. More of a VS Code user? The user-friendly interface offers a one-click solution that instantly drops you in your project in VS Code.
There’s a lot to like about Coder - from being free for self-hosting to just making it easier to get in and ship features without dealing with “works on my machine” or worse, it doesn’t work on my machine because of an environmental issue.
Let’s get after it.
Chapters:
0:00 - breaking a computer
1:50 - what is coder?
2:40 - how does coder work?
4:20 - locally host coder to spin up workspaces
7:00 - deploy our NEOVIM config anywhere with dotfiles
9:55 - create a new workspace
10:50 - showing off deploying neovim
11:54 - thin client concept
12:30 - spin up workspaces for co-workers
13:48 - why we made this video

Пікірлер: 125
@leanghok120
@leanghok120 28 күн бұрын
Thanks nerd
@Cyclically
@Cyclically 28 күн бұрын
🤓
@CodingWithLewis
@CodingWithLewis 28 күн бұрын
Finally, someone is talking about branches all over the sidewalk when I am trying to code.
@shinni7609
@shinni7609 28 күн бұрын
was i the only person who thought he's going to speak about nixos XD
@typecraft_dev
@typecraft_dev 28 күн бұрын
maybe soon? :)
@Pemol10
@Pemol10 28 күн бұрын
@@typecraft_dev do it 🙏
@deathblade287
@deathblade287 28 күн бұрын
considering the mac content, I was thinking maybe nix darwin
@diego898
@diego898 28 күн бұрын
Definitely thought this was either about nixos or at least nix dev environments or something!
@fuzzy-02
@fuzzy-02 28 күн бұрын
How can you mention another religion before a priest of Arch Linux
@MeneM2Mateo
@MeneM2Mateo 27 күн бұрын
That's a Thinkpad. At most, the pavement is now broken. Just continue working my dude.
@SimplyWondering
@SimplyWondering 27 күн бұрын
not sure i like that you left the sponser to the end should be stated a lot more strongly up front. you can do better, transparency is important.
@ZiRo815
@ZiRo815 27 күн бұрын
Exactly. I trust this guy, but my spidey sense was tingling watching him championing some bs SaaS product. I don’t want to engage with content like this, and if he’s going to sell his viewer base to sponsors like this (“oh, this is a sponsored video, by the way” right at the end) then I’m out. I’m unsubscribing until better is done.
@statuschannel8572
@statuschannel8572 9 күн бұрын
he clearly mentioned the sponsor in the description on first line
@MiguelRodriguez-di9rr
@MiguelRodriguez-di9rr 28 күн бұрын
"not a git branch" love it
@WeshalbDennNicht
@WeshalbDennNicht 28 күн бұрын
That's where NixOS (with Flakes) comes in. Just recently dived in and I'm absolutely loving it so far! Thanks Nerd!
@Thundechile
@Thundechile 28 күн бұрын
Coder seems ok, but I didn't quite get what it really gives versus a simple combination of stow (dotfiles management) + docker compose (client projects).
@Thundechile
@Thundechile 28 күн бұрын
Maybe sharing editor setups? But that's not a thing developers want to do normally. Everybody has their own preferences.
@typecraft_dev
@typecraft_dev 28 күн бұрын
yeah I think it has a better use case in a business sense. Like the freeelance web dev example. easy to share a pre-built coding environment to get someone up to speed really quick on a project
@karomba123
@karomba123 28 күн бұрын
Thanks for making these videos because I feel like I learn something new
@ankushroy1729
@ankushroy1729 28 күн бұрын
Daamn the first play was gold. I'm all down for it 😂😂
@Kaka-zs4cp
@Kaka-zs4cp 28 күн бұрын
Chezmoi and Ansible Both are free, and if you ever break your computer, you are one curl away of setting everything up the way you like it, or to share yourr setup to others (minus the secrets)
@ORLYWTF
@ORLYWTF 28 күн бұрын
This is what I’ve been using, but I’m curious if coder would be a better fit as I’ve felt Ansible is a little bit of overkill for my needs.
@jhonyortiz5
@jhonyortiz5 27 күн бұрын
I've been using those two tools as well 😂 I think the third part to all of this is timeshift on my desktop. Gives me the most relevant parts of nixos and flexibility to easily restore my computer or set another up. Any other gems you guys can think of that help with automation like this?
@Kaka-zs4cp
@Kaka-zs4cp 27 күн бұрын
@@jhonyortiz5 if you ever discover something new! Don’t forget to share it with us!
@isaacny
@isaacny 26 күн бұрын
WOW That looks amazing, I'll be trying out as it seems to fit perfectly to my use case. I need to setup complex workspaces for developers, but most importantly, from within the workspaces have access to a microservices architecture already setup in the remote network.
@PatrickvL02
@PatrickvL02 28 күн бұрын
Thanks, will check this out. For now I use distrobox to setup dev environments for different projects.
@adrianhaley4815
@adrianhaley4815 28 күн бұрын
Aaaaay. Day just got much better. Such good content :)
@gungun974
@gungun974 28 күн бұрын
Seem Nice. Really except the fact I’m already immortal with Nix. I can replicate my self anywhere with only one command ! If you see me on your computer, be afraid ! You could see my full custom neovim workbench running on your computer installed with one command and in 10s ! Join the cult… I mean Nix Today !
@typecraft_dev
@typecraft_dev 28 күн бұрын
sounds really cool
@magicinternetmoney8715
@magicinternetmoney8715 28 күн бұрын
I was literally just looking for this!
@PetrenkoAndrii
@PetrenkoAndrii 28 күн бұрын
What a nice tool and content! Thanks! Would you like to make more detailed video about this tool?
@submariner_42
@submariner_42 28 күн бұрын
LETS GO! AWESOME VIDEO
@magicinternetmoney8715
@magicinternetmoney8715 28 күн бұрын
Can you do a full demo of setting this up (i.e. ssh-ing into the instance from terminal or whatever) as a YT short?
@mxsaad
@mxsaad 28 күн бұрын
Ur videos are so useful man keep going
@esra_erimez
@esra_erimez 27 күн бұрын
The content is great, very informative and interesting. But the wit is priceless.
@savagepro9060
@savagepro9060 28 күн бұрын
0:17 A million virtual pieces!
@coolbalyan
@coolbalyan 28 күн бұрын
Dev container are same
@holdthat4090
@holdthat4090 28 күн бұрын
I manifested this video.
@TheBearmoth
@TheBearmoth 28 күн бұрын
I thought you were about to go full Nix on us. Thanks for the great video and new tool recommendation!
@typecraft_dev
@typecraft_dev 28 күн бұрын
maybe soon I'll do nix ;)
@TheBearmoth
@TheBearmoth 28 күн бұрын
The idea of Nix + Home Manager sounded cool. One tool to manage both package installation and config across both my work macOS and home Linux systems. In the end I opted for simple: custom bash installers and GNU Stow to manage dotfiles :)
@WaldirBorbaJunior
@WaldirBorbaJunior 27 күн бұрын
Interesting... I'll try it.
@halcyon321
@halcyon321 28 күн бұрын
Nice try. ThinkPad's are indestructible🤣 Great video though. Always learn something new from you👍
@typecraft_dev
@typecraft_dev 28 күн бұрын
thats why I used it as the prop! I knew I wouldn't break it
@user-eg6nq7qt8c
@user-eg6nq7qt8c 28 күн бұрын
This is all very cool! I do something similar but it's just ssh + mutagen which I find easier.
@ordazgustavo
@ordazgustavo 28 күн бұрын
In summary: never touch grass
@typecraft_dev
@typecraft_dev 28 күн бұрын
That’s the moral of the story
@LocoFreeman
@LocoFreeman 28 күн бұрын
That's a really interesting idea, but as you said probably more practical for work, especially your sharing environment example.
@Vinicius7cordas
@Vinicius7cordas 28 күн бұрын
Why not use `stow` for creating the symlinks?
@fuzzy-02
@fuzzy-02 28 күн бұрын
We need more stuff like the intro,
@mariobonacho
@mariobonacho 28 күн бұрын
When you say beefy, can u give specifics? Im studying right now, and it seems something interesting to try when i have projects with my colleagues, or did i completely missed the proper use case for this tool? Anyway, amazing videos, this school year is almost over and i cant wait to spend a couple of weeks looking at that nerd face of yours. Great job, thank you
@c_kemper
@c_kemper 27 күн бұрын
Nix and direnv… almost guaranteed identical setup on any machine. You should give it a shot.
@Mankepanke
@Mankepanke 27 күн бұрын
I don't get it. Instead of putting a version controlled Dockerfile in each project, I put a non-version controlled Dockerfile for each project on a server that I then have to SSH to? Adding a new person was already just "run the container" so what do I actually get except for more things to maintain?
@jasondchambers
@jasondchambers 23 күн бұрын
This is brilliant. I followed your lead but took my template many steps further fully automating my devenv using Ansible making the developer experience indistinguishable from my hand-crafted “thick-client” devenv.
@froedge
@froedge 28 күн бұрын
Gotta learn to code before this video applies x) Great as always haha
@aliriano15
@aliriano15 28 күн бұрын
Good vid! This is very similar to Dev Containers, right? It has been a life saver in work
@typecraft_dev
@typecraft_dev 28 күн бұрын
Yes, it is!
@aliriano15
@aliriano15 28 күн бұрын
@@typecraft_dev Definitely a before/after in my professional experience. So easy to switch between devices, I couldn't estimate how much time it saves my team.
@DJRanoia
@DJRanoia 28 күн бұрын
I have a video idea. Can you do a tmux video on how to keep your state after a restart?
@AlexanderAbelt
@AlexanderAbelt 28 күн бұрын
I need this for Thunderbird.
@maxz999
@maxz999 28 күн бұрын
Does it handle localhost for developing a website? UI work would be quite difficult without a solution for that.
@deadmet21
@deadmet21 28 күн бұрын
please make a video about gnu stow.
@hapaise2924
@hapaise2924 28 күн бұрын
Make a video on how ot make dotfiles! i use macos and i use your nvim config and the tmux and also alac but want use dotfiles`
@loremipsumamet2477
@loremipsumamet2477 28 күн бұрын
Next docker or nix tutorials would be amazing ✨️ With LazyGit, LazyDocker and LazyVim 😂
@typecraft_dev
@typecraft_dev 28 күн бұрын
We are 100% preparing a mini docker course :)
@loremipsumamet2477
@loremipsumamet2477 28 күн бұрын
​@@typecraft_devthankyou 🔥
@pedro_alonso
@pedro_alonso 26 күн бұрын
I was like "so devcontainers with extra steps" until I see you installing neovim and dotfile config in the container
@therealslimaddy
@therealslimaddy 28 күн бұрын
NIX comments incoming…
@typecraft_dev
@typecraft_dev 28 күн бұрын
Lol
@_TeaMaster
@_TeaMaster 28 күн бұрын
Use Nix btw.
@jasondchambers
@jasondchambers 23 күн бұрын
I recently switched to use GNU stow to take care of symlinking my dot files for me
@kf5268
@kf5268 2 күн бұрын
BTW, why not using stow as example?
@ArtJarocki
@ArtJarocki 28 күн бұрын
I guess it would be a good idea, if you create several educating videos about RoR. You have an ability to tell about complicated things simple.
@mouhamedbourouba3637
@mouhamedbourouba3637 28 күн бұрын
Stow with install script is all i need. 🙂
@user-eg6nq7qt8c
@user-eg6nq7qt8c 28 күн бұрын
hah, yeah pretty much.
@HeroGambit
@HeroGambit 28 күн бұрын
Why not with ansible + vagrant ?
@Spl4tt
@Spl4tt 28 күн бұрын
I have an ansible script that sets up my computer. I'm good to go in around 30mins or so
@aminnairidev
@aminnairidev 28 күн бұрын
Do you know if it works with a browser like chromium? This would be awesome to be able to spin up a Web server and have the output directly on our browser to really get that full stack juice?
@softwarewalaa
@softwarewalaa 23 күн бұрын
Hey Typecraft Sir , I'm a CS Student in 2nd year , what do you advice me to do and what not to do for being a good programmer and developer ; I also love your series of Neovim for newbie and the linux is still continued , love From INDIA 🇮🇳
@Nutch.
@Nutch. 28 күн бұрын
*proceeds to trip and drop my server*
@typecraft_dev
@typecraft_dev 28 күн бұрын
hahaha. that got me!
@Ramilkos
@Ramilkos 17 күн бұрын
so, it’s like dev containers from the another angle
@dluca182
@dluca182 9 күн бұрын
I tried it, but i dont get to the web interface about the templates, it just opens a visual studioi code editor in the browser
@dluca182
@dluca182 9 күн бұрын
nvm, i accidentally downloaded 'code-server', that is actually another thing on their own page, where is just a vscode env self hosted....arguably names could have been chosen differently
@driden1987
@driden1987 28 күн бұрын
Thought this was going to be an ssh vid
@typecraft_dev
@typecraft_dev 28 күн бұрын
With this setup, you can do just that. By the end, a simple ssh command gets you in.
@starmountpictures
@starmountpictures 28 күн бұрын
I just keep all my dotfiles in a git repo
@AestheticAMV
@AestheticAMV 28 күн бұрын
can't we use github codespaces for this?
@robertbeene2949
@robertbeene2949 27 күн бұрын
You can but you’ve got limited hours before it costs money. This is much more flexible and if you self-host, no cost.
@jeffrey5602
@jeffrey5602 28 күн бұрын
LETS GOOO
@sideone3581
@sideone3581 27 күн бұрын
Automation and Backups are Infinite Configuration hell Just do from scratch 💀
@offfright4795
@offfright4795 22 күн бұрын
what does he mean by client here?
@alexstone691
@alexstone691 28 күн бұрын
I have tried coder and couldnt even get it to start up with vague errors
@CoderHQ
@CoderHQ 28 күн бұрын
Hi @alexstone691, thank you for your feedback and for giving Coder a try. I'm sorry to hear you had trouble getting it to start. Could you please share more details about the errors you encountered? We'd love to help resolve the issue and improve your experience.
@esra_erimez
@esra_erimez 27 күн бұрын
Your keyboard is ASMR
@SamarKhan-qr3qy
@SamarKhan-qr3qy 25 күн бұрын
Linux on thinkpad is a different kind of emotion
@vikingthedude
@vikingthedude 28 күн бұрын
Is that a Babel js cap? Wtf
@esra_erimez
@esra_erimez 27 күн бұрын
But... but... but... what about JetBrains?
@britneyfreek
@britneyfreek 28 күн бұрын
took me almost until the end: everything runs in the browser.
@robertbeene2949
@robertbeene2949 27 күн бұрын
If you just click the links, yes. But you can SSH from your terminal as well!
@naranyala_dev
@naranyala_dev 26 күн бұрын
work anywhere
@gerwazy373
@gerwazy373 24 күн бұрын
wait until he discover nix
@ponirvea
@ponirvea 28 күн бұрын
nix fixes this (btw)
@savagepro9060
@savagepro9060 28 күн бұрын
0:02 Free-lance web developer my a$$. You're a walk-by hacker. Someone should've called the cops! 🤣😂😅😆😁
@xavi_6767
@xavi_6767 28 күн бұрын
There are other branches? What is this "Down the street" you are talking about?
@acmethunder
@acmethunder 28 күн бұрын
"Real life branch".... sounds fake.
@redwind3475
@redwind3475 28 күн бұрын
0:16 Totally inaccurate. No mere fall could ever damage a mighty Thinkpad.
@Yunus8
@Yunus8 28 күн бұрын
Bro Can you make a linux arch hyprland installation video for beginners?
@mohammadbasyouni7171
@mohammadbasyouni7171 26 күн бұрын
Bro, just replace/copy your ssd 😅
@Cool-Linux-Penguin
@Cool-Linux-Penguin 28 күн бұрын
1 hour
@johnblomberg389
@johnblomberg389 27 күн бұрын
Yeah, that's gonna be an unsubscribe from me dawg... I don't respect someone who makes a 15 min long ad masquerading as a "review" only to do the bare minimum legal cover at the end. C'mon man you can do better than this, I understand you need money but like.. begging for a gofund me would have been more respectable than this to be honest. I dunno what to say, disappointed I guess.
@dawidkos7092
@dawidkos7092 16 күн бұрын
I don't see personally any problem with that. If he said it at the beginning you wouldn't watch then? If so, why did you watch it in the first place if its not something you're interested in.
@johnblomberg389
@johnblomberg389 15 күн бұрын
@@dawidkos7092 If he said it in the beginning he would set the stage in a fair way, by being sponsored I have to take into account that it might be biased (obviously) Now he waited until the end for a reason, so that it would seem like something he just discovered and wanted to share. It is disingenuous even if it wasn't intended in that way.
@sphamandlamtambo4624
@sphamandlamtambo4624 26 күн бұрын
Just use NIX flakes
@Queeebo
@Queeebo 26 күн бұрын
I hate it when I am not within the first 99 likes >:(
@j_t_eklund
@j_t_eklund 28 күн бұрын
nix! self hosted local git self hosted VPN .. 🌱 😁👾🤪😇🔥💫✨💯💨
@ShreyashKasar
@ShreyashKasar 28 күн бұрын
You're one of the interesting KZfaqr I found 🫠🫠
Tmux will SKYROCKET your productivity - here’s how
10:02
typecraft
Рет қаралды 73 М.
Cool Tools I’ve Been Using Lately
23:11
Theo - t3․gg
Рет қаралды 185 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 7 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 138 МЛН
The Holy Grail of Neovim Note Taking
14:38
DevOps Toolbox
Рет қаралды 300 М.
Use Your Home PC from ANYWHERE???
25:35
Kalos Likes Computers
Рет қаралды 1,3 МЛН
I tried Neovim Distributions so you don't have to
9:12
typecraft
Рет қаралды 139 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 918 М.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
typecraft
Рет қаралды 67 М.
TempleOS in Qemu
32:50
Mental Outlaw
Рет қаралды 257 М.
Why I Use C | Prime Reacts
13:00
ThePrimeTime
Рет қаралды 131 М.
Making Tmux Better AND Beautiful -- here’s how
10:56
typecraft
Рет қаралды 61 М.
From 0 to IDE in NEOVIM from scratch | FREE COURSE // EP 1
19:48
We can now write scripts using these languages, but is it worth it?
8:28
iOS 18 vs Samsung, Xiaomi,Tecno, Android
0:54
AndroHack
Рет қаралды 92 М.
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 27 МЛН