You guys are amazing and leaders in the industry. The only issue I personally would like to see is the ability to run PHP Code, or Laravel, just imagine the PHP speed and your steel! 🤠
First, amazing! Very well made video. Really like that you even managed to quickly cover wrangler and its use with some details about the CLI tool. Thank you. Second, I need to find friends like you have whom I can call to get $100B fund to my silly ideas I would watch that email trigger project.
What a great video, thanks! I haven't done serverless before (have done a lot of flask projects in the past), but going through the tutorial has been very smooth, I can see building lots of projects on the CF platform.
Cloud provider: Let's make a tutorial about how to use our tool and UI Also Cloud provider: Let's completely revamp our tool and UI so it looks different, uses different config and different commands
Am i the only one here who is lost because I don't want to use the middleware 'hono'? 40 minutes in and I thought I was following a beginners tutorials to start learning Cloudflare Workers, Am I wrong here?
Well, you are learning Workers! As soon as you start managing multiple routes in a Workers function, it becomes easier to manage it with Hono. That's why we suggest it (or a similar routing library like itty-router) for most developers.
Thank you for your kind reply, i re-read my comment and I definitely sound like i was grumpy. true is i am battling my own demons and frustration kicks in sometimes, i apologize to everyone.
Are you going to update this tutorial to reflect the change in documents that you reference? Just curious, I am able to follow along, but even the layout of the documentation pages you show have changed, which makes it a bit more of a challenge to follow a beginner toot. Thanks! loving it so far!
I still can't access my env object with my worker, not sure why yet since on the browser dashboard it says my env variable is set and I should be able to access it in my fetch
Hmmm I can't get this to work, downloaded straight from GitHub, I'm getting ""Model input is not valid: missing required input text_input"". Any thoughts on what I might be missing?
'wrangler 3.67.1' doesn't work properly, I can't start my project even when just after installing the project. Why is that? I used 'npm create cloudflare and follow any instruction. error: X [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above. MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
It was good up to Env. The template is a little different now has 'worker-configuration.d.ts' interface Env { } and now has index.ts. const app = new Hono(); // Fails with error message: Type '{ Bindings: Env; }' does not satisfy the constraint 'Env'. Types of property 'Bindings' are incompatible. Type 'Env' is not assignable to type 'Bindings'.
great video thank you! is there any good content on implementing libraries that have node dependencies? I've been struggling with node compat errors for some time now...
I have a question. At 40:00 you create a new Ai() object. If creating new Ai() is very expensive and requires a lot of compute, is it possible to create that object outside of the GET request so you don't have to recreate a new Ai() on every request? I'm asking because I have a similar use case in my app where I need to create an expensive object, but once created, the methods on the object run very quickly. Is this a case for durable-objects offered by Cloudflare? Does this mean my app is stateful if I want a JavaScript objects to persist through requests?
The @cloudflare/ai package used here is deprecated but the run command can be called directly from the AI binding as per the updated docs. However, doing this I get the following TypeError: Argument of type '"@cf/thebloke/mistral-7b-instruct-v0.1"' is not assignable to parameter of type 'BaseAiImageToTextModels'. Typescript assumes the wrong overload due to the messages object not being interpreted correctly. I fixed the error by defining messages with the type RoleScopedChatInput[]
just signed up for cloudflare and found this. great service, great free tier, great video! i love how CF supports and handles the free tier!
1:13 1:14
1:19
Р-н 1:26
Woohoo! Glad you liked it.
This is too good. More of this please :) Thank you Kristian.
You guys are amazing and leaders in the industry. The only issue I personally would like to see is the ability to run PHP Code, or Laravel, just imagine the PHP speed and your steel! 🤠
First, amazing! Very well made video. Really like that you even managed to quickly cover wrangler and its use with some details about the CLI tool. Thank you.
Second, I need to find friends like you have whom I can call to get $100B fund to my silly ideas
I would watch that email trigger project.
Absolutely amazing, thanks for that!
Keep them coming!
this is so good, now need an ai agent trained on cloud flare docs
What a great video, thanks! I haven't done serverless before (have done a lot of flask projects in the past), but going through the tutorial has been very smooth, I can see building lots of projects on the CF platform.
Cloud provider: Let's make a tutorial about how to use our tool and UI
Also Cloud provider: Let's completely revamp our tool and UI so it looks different, uses different config and different commands
Thank you, we need more tutorials like this to use R2 and others with a web site.
Great tutorial,Thank you CF :).We need more on Cloudflare Wokers.
Please do a video on email triggers as you mentioned. I am trying to build something and the video will be super helpful
WOW In the morning I saw examples were Hello Rust and re-checking again I got this.
Thank you Kristain. Tutorials are super awesome. Really loved to listen to you.
Glad you like them!
Enabling users to toggle local mode on and off is an excellent UX.
I would love to see the ai-email-summarizer!
This is a useful video. Can you do one with R2 on worker and it is being used as an assets cdn for images, videos, PDFs, etc.
Cheers for this, and interesting to see Kitty in the wild
Great video - thanks so much!
You're very welcome!
Am i the only one here who is lost because I don't want to use the middleware 'hono'? 40 minutes in and I thought I was following a beginners tutorials to start learning Cloudflare Workers, Am I wrong here?
Well, you are learning Workers! As soon as you start managing multiple routes in a Workers function, it becomes easier to manage it with Hono. That's why we suggest it (or a similar routing library like itty-router) for most developers.
Thank you for your kind reply, i re-read my comment and I definitely sound like i was grumpy. true is i am battling my own demons and frustration kicks in sometimes, i apologize to everyone.
great tutorial, are there also tutorials for streaming text responses with cloudflare workers?
Are you going to update this tutorial to reflect the change in documents that you reference? Just curious, I am able to follow along, but even the layout of the documentation pages you show have changed, which makes it a bit more of a challenge to follow a beginner toot. Thanks! loving it so far!
top notch tutorial, thank you cloudflare, love you.
You are very welcome.
can we get a sample of a react server components and cloudflare workers?
22:22
@@4ssarabio 22:35
@@4ssarabio0:16
0:35 0:36
0:42 0:43 0:44
wait this is epic
I'd love to see the email trigger project that you made. Thank you.
can you do R2 tutorial please
I wish we could access env as easily in Cloudflare pages with Remix. It was such a chore.
I still can't access my env object with my worker, not sure why yet since on the browser dashboard it says my env variable is set and I should be able to access it in my fetch
Amazing tutorial!
would be cool to see the email ingestor + summarizer project 👍👍
Very good and informative
Tres interessant! Merci
What font are you using in KiTTy to get that fancy VIM status bar? Beautiful!
Nevermind, I figured it out. Had to install NeoVim and NVChad.
Does anyone have any project ideas I could do using cloudflare workers?
Excellent video. Would love to see a video from you on email triggers aummarizing with AI.
Does this means i can host a full stack nodejs app thro cloudflare workers?
Thank you ❤❤❤❤
I'm looking forward to tutorial on using new Python Worker.
Hmmm I can't get this to work, downloaded straight from GitHub, I'm getting ""Model input is not valid: missing required input text_input"". Any thoughts on what I might be missing?
Great video
Can you use bun instead of npm?
'wrangler 3.67.1' doesn't work properly, I can't start my project even when just after installing the project.
Why is that?
I used 'npm create cloudflare and follow any instruction.
error:
X [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
when are more advanced courses are coming?
It was good up to Env. The template is a little different now has 'worker-configuration.d.ts' interface Env {
} and now has index.ts.
const app = new Hono(); // Fails with error message:
Type '{ Bindings: Env; }' does not satisfy the constraint 'Env'.
Types of property 'Bindings' are incompatible.
Type 'Env' is not assignable to type 'Bindings'.
For instantiating hono, you don't need to write . also the AI bindings can be enabled in the toml file. it works but Typescript still nags though 🤦
You can enable the AI binding in the toml file and then include in your index.ts:
type Env = {
AI: Ai
}
const app = new Hono(()
Bro how do you import npm libraries and build them during deploy ? Have to change something in toml?
Nope, as long as you're using the default Wrangler set up, we will bundle any external dependencies for you.
How to solve CORS error while submitting Blogger Form Widget, by using cloudflare custom email
This is a test comment from Selenium!
great video thank you!
is there any good content on implementing libraries that have node dependencies? I've been struggling with node compat errors for some time now...
0:59
1:04 ❤
how can I get started, it's great
I have a question. At 40:00 you create a new Ai() object. If creating new Ai() is very expensive and requires a lot of compute, is it possible to create that object outside of the GET request so you don't have to recreate a new Ai() on every request? I'm asking because I have a similar use case in my app where I need to create an expensive object, but once created, the methods on the object run very quickly. Is this a case for durable-objects offered by Cloudflare? Does this mean my app is stateful if I want a JavaScript objects to persist through requests?
❤️🙏
❤
40:00
Nobody’s using these 3rd tier “somebody else’s server” aka “cloud” services
? Do you not know who cloudflare is? How much of the internet they serve?
Also “cloud services” are HUGE
@@ND6K Nobody uses them to host apps. Couldn’t care less about their unrelated services.
@@JohnSmith-op7lsLmao so much overconfidence..
Workers are used by a lot of companies.
Do you know vercel edge middleware is powerful by workers??
@@JohnSmith-op7ls come out from your cave
You know this how?
The @cloudflare/ai package used here is deprecated but the run command can be called directly from the AI binding as per the updated docs. However, doing this I get the following TypeError: Argument of type '"@cf/thebloke/mistral-7b-instruct-v0.1"' is not assignable to parameter of type 'BaseAiImageToTextModels'. Typescript assumes the wrong overload due to the messages object not being interpreted correctly. I fixed the error by defining messages with the type RoleScopedChatInput[]
Thanks bro 👍 You really saved my time.
Using Kitty. A man with taste 🤌