great tutorial! I followed from beginning to end and everything works. At the end you mentioned part-2 of this video and I've searched your channel but I couldn't find it..was there a part-2 to this great tutorial?
Hey, thanks for the comment. I have not planned part 2 yet because I just had my first child born and am loaded at work otherwise. I do plan on bringing more Bun goodies once things settle down though
For the API I would use something like Hono or Elysia. For the frontend I would use Vue. Nuxt would be cool too but it’s not fully functional with Bun yet last I checked.
Thanks! You would need to either inline it into the html or setup the server to read the file from disk and reference it. But honestly think at that point it maybe best to use a framework like Hono or Elysia to handle static files.
It’s not VSCode, it’s Neovim running in Windows terminal - so probably the terminal’s default font - Cascadia Code. I don’t use this machine as my daily.
That’s a good question! There was a video called the BETH stack by someone else where they used @elysiajs/html and typed-html . I would have to look into that more to give you a good answer.
i'm following the same as you. But somehow i can't see anything logging out when i run file.ts. I also can't write file. Help me plz const file = Bun.file('package.json') const contents = await file.text() console.log(contents);
@@astrea4231Ah that sucks.. is the code in github or something to look at? It would be impossible for me to tell you what might be going wrong via comments 😅
Haha I’m sorry. It annoyed me too actually. It’s the only board I have for now but will figure out a way to make it more bearable. Thanks for the feedback.
@@KaizenCodes You can use a dynamic microphone like a Shure SM58 or Shure SM7b if you want to invest. Those reject unwanted noise. Also you can switch to a keyboard with different switches. Blue clicky switches are noisy. Personally I didn't find the sound annoying at all. I found it rather pleasant.
00:00 What we build at the end & installing
03:28 Explore Bun API
44:28 Bun HTMX app
This is such a timely upload, just as htmx and bun are taking off! Thank you
Loooool. Was waiting for the Udemy courses to come out. I knew the news around bun would create a bunch of these training videos.
you could even buy a whole udemy course bundle
great tutorial! I followed from beginning to end and everything works.
At the end you mentioned part-2 of this video and I've searched your channel but I couldn't find it..was there a part-2 to this great tutorial?
Hey, thanks for the comment. I have not planned part 2 yet because I just had my first child born and am loaded at work otherwise. I do plan on bringing more Bun goodies once things settle down though
Awesome!... Would love to see Bun + HTMX + Turso.
thanks for sharing..., hope HTMX popular soon
Thanks for the tutorial, I was looking for the tech stack which best with making a bun cms, any suggestion?
For the API I would use something like Hono or Elysia. For the frontend I would use Vue. Nuxt would be cool too but it’s not fully functional with Bun yet last I checked.
This was awesome ❤, I'm really impressed with bun. Just one question, why didn't you just use the bun router to dispatch the requests?
awesome
Very hard to follow on what are you doing with that terminal editor thing.
Would you prefer VSCode for videos instead?
what terminal program is that? BTW this tech seems super cool. Very exciting, dont think I can go back.
are you talking about neovim?
@@CoolestPossibleName im taking about the terminal he was using for his wsl
@@boot-strapper It's Windows Terminal, bro
@@I_Lemaire it’s not
22:28
did you use neo vim for this video? I want to which IDE are you use and how to use it
Yes Neovim for the code editing 👍
Kaizen, excellent video, how can I reference a local css or js
file from the index.html in your example app, thanks
Thanks! You would need to either inline it into the html or setup the server to read the file from disk and reference it. But honestly think at that point it maybe best to use a framework like Hono or Elysia to handle static files.
Nice video, I have a doubt, like node, bun will need a version manager like NVM?
It’s too early to say, I actually hope not. I like that Bun self manages with bun upgrade. But probably at some point someone will create it 😅
which vscode font do you use?
That's not vscode it's neovim
does it work with Svelte like this !!!
yes works with every modern js framework svetle, nextjs ect ect
What's that VSCode font? It's not JetBrains Mono. Thanks in advance.
It’s not VSCode, it’s Neovim running in Windows terminal - so probably the terminal’s default font - Cascadia Code. I don’t use this machine as my daily.
What font name are you using in the terminal and configs nvim?
github.com/Eckhardt-D/kaizen.nvim my nvim config. As for the font, I think it’s JetBrains Mono.
@@KaizenCodes thank you.
Came here for the bun and HTMX, stayed because I heard the SA accent lol. Also playing with HTMX now, still wana start a side project with bun
Namibian, but yeah pretty much same thing.. and cool! Elysia is something I would suggest
bro same xD
What other options do we have if the goal is to render components serverside? React with renderToString is one of them. Is there anything else?
That’s a good question! There was a video called the BETH stack by someone else where they used @elysiajs/html and typed-html . I would have to look into that more to give you a good answer.
@@KaizenCodes Why not just have components as html (+tailwind/css?) strings? In may cases, that's enough ;)
i'm following the same as you. But somehow i can't see anything logging out when i run file.ts. I also can't write file. Help me plz
const file = Bun.file('package.json')
const contents = await file.text()
console.log(contents);
Is there a package.json file in the directory that you’re running the command in?
@@KaizenCodes Yeah I tried possible paths too. But when I run it, it just show nothing and do nothing
@@astrea4231Ah that sucks.. is the code in github or something to look at? It would be impossible for me to tell you what might be going wrong via comments 😅
yeah htmx with tailwind css
fullstack app w/t nuxt, zod, prisma, supabase
prisma, lmaoooooooooo
Honestly, great video but I want to hear your voice, not your obnoxious clicky keyboard.
Haha I’m sorry. It annoyed me too actually. It’s the only board I have for now but will figure out a way to make it more bearable. Thanks for the feedback.
@@KaizenCodes You can use a dynamic microphone like a Shure SM58 or Shure SM7b if you want to invest. Those reject unwanted noise. Also you can switch to a keyboard with different switches. Blue clicky switches are noisy. Personally I didn't find the sound annoying at all. I found it rather pleasant.
@@KaizenCodes All my keyboards have blue switches -- so for me please keep on clicking! Let us hear you hacking, damped keys is for gamers!
stopped watching when you said you were using windows 🤮
To be fair, using WSL 😂