Convex Community

CC

Convex Community

Join the Convex Discord! Explore Convex, the open-source reactive database for app developers.

Join

support-community

show-and-tell

general

self-hosted

announcements

Hey Convex team, regarding llms rule

Hey Convex team, regarding llms rule files ๐Ÿ‘€

Is there an offline-only mode for Convex

Is there an offline-only mode for Convex? My app model is like so: Free users -> Offline IndexedDB only to save db costs Premium Subbed -> Sync between online and offline to enable multidevice access + Online backups So I need to switch between the two based on the paid_sub state. If there's nothing like this first party but someone has a workaround/method to accomplish the same, it'll be a great help. ...

Any news on the pay as you go plan and

Any news on the pay as you go plan and pricing?

Iโ€™m new to Convex and have some

Iโ€™m new to Convex and have some questions about the larger picture of an application that uses Next.js. Convex describes itself as the missing backend for your frontend. But, given a react frontend, there still seem to be some advantages of using Next.js (eg for SSR or SSG for SEO) that Convex and react alone cannot provide. Am I thinking about that correctly? But, there is some overlap in concern between Next.js and Convex. For example, I could deploy actions or HTTP APIs to either the Next.JS side or the Convex side....

Hi all. Convex newbie here ๐Ÿ‘‹

Hi all. Convex newbie here ๐Ÿ‘‹ My app has "accounts" and "users" where each user is associated with an account. If a user is created (not via an invitation) then a new account is created and the user is associated with it. How should i approach this? I thought about using the afterUserCreatedOrUpdated callback in convexAuth but the user is already tried to be created but fails because it doesnt have an account associated with it....

Admin dashboard for marketplace and CMS

Hey, I just need a quick suggestion/advice. I am trying to build a marketplace where multiple stores can sell their products, therefore I need two interfaces:...

Hi here there an example for persistance

Hi here there an example for persistance text streaming which has the has the thread and messages schema. Iam finding an issue where i need to pass my threadId to use with useStream() from "@convex-dev/persistent-text-streaming/react". My goal is to list all message base on my threadId, Is there a way for me to pass a body?...

technical debt/overhead

ik the Convex team just tells us to avoid adding technical debt/overhead, but in my use case, it means cutting down (3-15)x(batch.length) mutations/queries per expensive action (all of the actions are expensive, either calling a GPU endpoint/model provider). The technical debt in question is massive, as each function will highly likely require backtracking to the root function in case of change, or it can compromise auth. Am i being paranoid?

Guys need help calculating my yearly

Guys need help calculating my yearly expense for using Convex. Can anyone from the team help?

Media event queue manager

Hi guys, I was wondering if someone could give me some advise. I have a small service written in go that runs on a VPS. The service is managing some media event queues. Simplified it has multiple queues (something like multiple media players). Each queue can be in either "loading/playing/stopped/paused/idle" state. Each event has a duration and some data relevant to the event type. Each state transition synchronises with firebase and client applications listen on changes to respective queue. Looking for some opinions on what would be best approach to migrate that to convex? Scheduled functions? Workflows component or maybe to roll a dedicated convex component for that? Hoping to bounce some ideas before I start to model this....

internal calls from outside

thanks, would be cool if you could call internal mutations from a trusted environment outside convex with a service token

OpenAI Codex with Convex

l Hey! Anyone have experience using OpenAI Codex with a Convex Repository?

Can we query the `workflows` table from

Can we query the workflows table from Workflow component to see active tasks? Any guidance on filtering this per-user or etc? Or should I track this information myself? Not sure where to ask this couldn't find a workflows chat...

Google Auth vs. GitHub cli use

how can I run convex dev (with the cloud option) when I have signed up with google instead of github?

yeah I guess it's a delicate balance of

yeah I guess it's a delicate balance of keeping the official docs simple and actionable and not overloading them with the more advanced use cases. but I completely agree that it's often too difficult to find documentation for these more advanced use cases. I think links/references to them should be placed together with the official entry point docs

Convex Cursor Rules / Best Practices

I wonder if the Convex Cursor Rules should be updated to include some language on debouncing? I feel like a good piece of software architecture to have between queries/mutations and UI is a good set of debouncing fx's.

Razorpay

Hey Team, how can I integrate Razorpay payment gateway (a popular payment gateway solution for Indian transactions) into my Convex project? I am using Next.js for my front-end. I am stuck in the process

Advanced Message Filtering

It actually optimizes, because when it sorts its queries, it takes the pagination integer value and brings the values โ€‹โ€‹on page x, for example, it can show values โ€‹โ€‹between 5, 50 and 60, which means that instead of 1 million records, it only pulls 10 and performs pagination

Delaying values

yep, you can do that from a react hook

search Notion for "paginated query

search Notion for "paginated query caching". ๐Ÿ˜›
No description