Agreed. It is curious how the agent got nudged to add auth in that one.
I did another ad-hoc but this time I added "Use guest auth" to the prompt. This way you don't need to enter an email. Full prompt below
Create a habit tracking app where users can create habits, mark daily completions, and visualize streaks. Include features for setting habit frequency (daily/weekly), viewing completion calendars, and tracking overall progress percentages. Use guest auth
When you're experimenting on ideas, it's really nice when time to hello world is near zero. It's also nice when you aren't limited to a certain number of dbs or your projects get paused. This makes it so much more delightful to hack.
When you do want to get closer to the code, we think Instant provides a nicer abstraction for working with agents and getting deligthful experiences like a sync engine out of the box
Everything else is the same. Will let y'all be the judge which is better.
Both where made in one-shot with this prompt:
Create a habit tracking app where users can create habits, mark daily completions, and visualize streaks. Include features for setting habit frequency (daily/weekly), viewing completion calendars, and tracking overall progress percentages.
You can use `db.subscribeQuery` on the server to react to react to changes. We plan to add webhooks soon to make this even easier. And yes eventually we'd love to support SDKs in other languages too!
You can certainly use Instant without AI! We indexed on making the API easy to understand so projects built with Instant are easy to maintain. We also invested in our AX experience since we saw more folks coming to us when trying to build apps with AI
We use LWW on the attribute level which greatly reduces conflicts. There are certainly cases where you'll need a different CRDT but this works great for a lot of use cases.
Appreciate it! We thought it was a nice touch too and a fun way to highlight the power of Instant!
Realizing we didn’t highlight this as a use case — but you can use our ephemeral app feature (it’s free) to easily add your own interactive demos into essays!
Agreed lots of opportunity for simplification. There’s so much context in this space.
When talking about why sync we mention optimistic updates, multiplayer, and offline mode. To motivate the complexity of sync we talk about websockets, optimistic queues, and IndexedDB. To explain how we work we talk about triples, datalog, and CTEs.
We try to give a clean interface so devs don’t need to worry about this complexity, but yea it’s been an ongoing iteration to make both easier and transparent to understand!
Back then most folks weren't building full-on apps with AI yet.
Since then we've seen a large number of people find us through content on creating apps with AI. We felt our previous messaging didn't speak to that and we thought it was time for a refresh.
We also invested a lot to make the agent experience with Instant a delight!
I did another ad-hoc but this time I added "Use guest auth" to the prompt. This way you don't need to enter an email. Full prompt below
Create a habit tracking app where users can create habits, mark daily completions, and visualize streaks. Include features for setting habit frequency (daily/weekly), viewing completion calendars, and tracking overall progress percentages. Use guest auth
Aesthetic version: https://with-aes-guest-auth.vercel.app/
Non-aesthetic version: https://wo-aes-guest-auth.vercel.app/
I'd give the edge to the aesthetic one.