Francisco Moretti
@franmoretti_
Followers
1K
Following
31K
Media
152
Statuses
1K
Founding Engineer Alaro AI. Building https://t.co/iM5LxodPBy (OSS AI Chat template)
London
Joined March 2013
Introducing Sparka: Your prod-ready AI Chat Template! π Built with: β‘ Next.js 15 π TypeScript π€ Vercel AI SDK v5 π οΈ AI SDK Tools π Streamdown π§© AI Elements π Better Auth π§ Drizzle ORM π PostgreSQL π΄ Redis βοΈ Vercel Blob β¨ Shadcn/UI π¨ Tailwind CSS 4 π tRPC π‘οΈ Zod 4
40
57
846
I no longer add new models to my AI app Vercel AI Gateway exposes a /v1/models endpoint. I cache it for 1h in a server component and pass it down via context. New models available. No deployment needed. Credits to the AI Gateway team for model updates and @nishimiya for adding
4
2
51
I've made a big mistake. I spent a lot of time building features for anonymous support, such as conversation history, chat renaming, chat deletion, and a local storage adapter. I just eliminated all of that to reduce complexity and better support authenticated users. While
2
0
9
Scripts + usage in Sparka repo: https://t.co/TTxy3WkDfU
github.com
Production-ready AI chat template built with Next.js, Vercel AI SDK. Launch AI apps 10x faster. - FranciscoMoretti/sparka
0
0
1
New in Sparka: DB branching with @neondatabase This is how I develop and run migrations locally without a local DB Added some scripts to package.json for this flow: 1. Run `db:branch:start` to create a DB branch and check out to it. 2. Develop on the DB branch, run migrations,
4
1
12
Sparka now comes with the Store from @aisdktools It runs a Zustand store under the hood and has some selectors out of the box This means: - No more prop drilling - No need to use React memo for components - Great performance Thanks @pontusab for helping me get this through
4
3
24
Sparka now comes with Sign in with @vercel β² Thanks @better_auth for adding support so quickly. That migration fron Next Auth payed of
1
0
14
Happy Monday! β² @Vercel Streamdown 1.6 is out, which features some incredible updates and amazing community contributions.
16
7
219
It's been a dream come true to join the Vercel Open Source Program. Working alongside the best with support to keep the project affordable provides a lot of fuel to focus on shipping. Thanks @vercel !
Open source powers the web. We're helping power open source. Meet the Vercel OSS Program, Fall cohort.
4
1
15
Updated my Christmas Photo website. Now using Nano Banana Pro! Just 1 line change thanks to @aisdk Link to the project π
2
1
2
AI SDK Tools v1.1.0 just shipped: - useArtifact now returns [data, actions] - Artifact versions - Updated dependencies - Performance and stability improvements
8
10
142
Just shipped a resizable artifact panel Here's how to do it: - Desktop: Chat panel + Artifact panel in a Resizable component - Mobile: Artifact panel if opened, Chat panel otherwise Change between the 2 modes with CSS media queries (e.g. "hidden md:block") Code below β¬οΈ
4
0
25
Evalite + Sparka integration β
Templates now include evals for your agent. @mattpocockuk cooked. Evalite uses the Vitest runner, allowing all Vitest features and plugins. This solves so many problems! E.g. how do you ensure your agent saves in the DB for users but not for
0
6
29
Happy Monday! β² @Vercel Streamdown version 1.5 is out, which features some incredible updates and amazing community contributions π
10
7
208
My last 2 weekends, I built an AI Christmas Photo Editor β¨ β
Next.js Tutorial 2025 - Start Your Next.js Journey Here by @wesley_bytegrad β
Simplest Way to Build an AI Image Generator (Next.js, AI SDK, Shadcn, Nano Banana) by @theorcdev Devtools @vercel
@v0
@GitHubCopilot
3
2
5
A side effect of using Evalite: it fixed my tsconfig Just casually navigating to the library code to see why it's not finding the import and the solution was documented there. Only @mattpocockuk could...
1
2
86
The dance of reasoning blocks I had logic to group all these reasoning parts, but I ditched it because this is simple and looks great. The "Reasoning" component is all you need and it's free in AI Elements. Reasoning Component: - Thinking text shimmer - Nice auto-closing
2
1
19
Upgrading to AI SDK v6 was a breeze Zero breaking changes! Simply update packages and you get all the new features (Agent, structured output, etc). Kudos to the @aisdk team for keeping it backwards compatible.
1
0
20