Welcome, @nitro.build to the Firebase App Hosting community! I'm overjoyed to see our first community-driven platform support!
And Cloud Functions for Firebase no longer needs "onFlow". There's direct support for Genkit in the new "onCallGenkit" function, which automatically turns a Flow into a Callable Function. Callable functions have always supported features like AppCheck natively.
For Next.js we'll use the firebaseContext middleware to enforce App Check and type safe client API. Again, if your flow supports streaming, so does the handler:
You can host this on any express path you want now. Streaming is automatic, and auth/context middleware is platform agnostic. Here, we use the "apiKey" middleware which stores, and optionally validates, an API key.
No matter where you want to deploy Genkit (on or off of Google Cloud) we can start with the following (streaming) Genkit code:
During this release, I helped focus on practical usability & portability. Genkit logic is decoupled from how you host it. A reusable Genkit action, can be easily hosted in Express, @nextjs.org, and Cloud Functions for Firebase with ~1LOC. Examples of each platform below:
Last week, @firebase.com Genkit Node went 1.0/GA! Despite "Firebase", in the name we did a lot of work to ensure no risk Google lock-in (models or infra).
With Genkit you iterate quickly w/ high level abstractions. A property change lets you change models for flows or tools.
Do any of my real life friends want a free inexpensive injket printer? I need to print a few ink pages for my out of town wedding, but I have another. I also have a dual vesa mount that I'm no longer using.
Firebaseβs IDX lets you build iOS apps in the browser.
I hate iOSβ choice of granting full access to photos & going in settings and grant access to a single photo before opening the dialog to select the picture. Why not an OS secure dialog from the get-go where an app only ever has access to a single photo (e.g. a la expiring token URIs) once I pick it?
And they keep coming in. They follow and like a few of my posts
Hey #NodeJS devs. Does anyone have a definitive explanation for which order import vs request should be in package.json.exports?
Soβ¦ yeahβ¦. Zuck bent the knee. Howβs the water here nowadays?
I canβt quite explain why I get so many follows but not much engagement. Am I on a starter pack? If so, which? Startups? Parse? Firebase? Google serverless? GCP? I donβt mind catering to wherever my network prefers; I shitpost on threads enough for my personal needs anyway
Sometimes you have to stop to appreciate how good your life is. This is from a recent text: β[Wifey] is furious I watched an X-Men show without her and Iβm about to find out if Iβm so lucky I managed to marry into a family where punishment is rewatching X-Men β97.β
Somehow my phone decided that the correct wifi network to connect to in my house is the wifi network emitted by an unknown power strip. Now I have two questions.
firebase.blog/posts/2024/1... also, this week weβve fixed a bug where enterprise users without a default compute account could not deploy. Every time you tried, it paged me personally, so I hope thatβs sufficient apology π
The end of the year blog post for #Firebase App Hosting is here. It takes a look back at what weβve done, announces a few new features, and gives a preview of the immediate next releases ππ
Sf life
How it started: I have a planned order of picking up prescriptions, groceries, and breakfast to keep the cold stuff cold and the warm stuff warm
How itβs going: I guess weβll do this in whichever order I find parking
I like to take people along my (volatile) emotional journey while coding:
I discovered my WiFi is getting errors establishing modern TLS connections and Iβm being forced to downgrade. Does anyone else have #Xfinity and use their XB7-T router, especially in the Bay Area? I have a test site to see if itβs an XFinity bug or if my network in particular is FUBARd.
My wife got me a 43β 4K HDR USB-C monitor for Christmas. Itβs so big that I can now see grain in my 4K RAW photos. And just in time Adobe Lightroom has AI tools to remove it! (At the cost of 10s/photo). For scale, thatβs a 16β MBP next to it.
My new printer comes with a CD? And itβs only for Windows? Back until Vista? ok boomer
I really wish Google summaries were smart enough not to include text thatβs only visible when you click a link that says βshow spoilersβ. I tried to catch a minor detail I missed in an audiobook with a Google search and it included a major twist saved for the epilogue.
I often wonder what Iβd do if I retired. I think my first year would be spent playing #adventOfCode, one year per month.
I actually made #NodeJS deadlock today when tinkering with my SSE networking implementation. I deadlocked a single threaded language. I feel like I deserve a medal or something.
IOS 18 suggested a wallpaper of my dog and I said βsure.β Turns out it was a live picture and lock screens play live pictures now. Every time I unlock my screen I see my dog sitting sideways, looking at me, and wagging his tail. Best OS ever!
Hey #nodejs community. I see a lot of use cases where async generators would have made sense but arenβt used. Why are they not more popular?
Omg. Where can I buy that? Local, hilarious, and hazy IPA?? π€€