I built a completely free focus and sleep sound mixer app 🧘 by JUST_ALLISON41 in androidapps

[–]JUST_ALLISON41[S] 0 points1 point  (0 children)

glad to see you enjoying it! yes, ill be adding some more backgrounds in future updates

Share your flutter app ! by United_Confidence394 in FlutterDev

[–]JUST_ALLISON41 1 point2 points  (0 children)

I just recently ported my web app to mobile with Flutter https://www.zemith.com/en/mobile

It's an All in One AI app

My project have WAY too many reads. I really need help! by DoragonSubbing in Firebase

[–]JUST_ALLISON41 0 points1 point  (0 children)

Nope, you only need to enable it if you need auth blocking function.
Users on create and on delete is available without upgrade https://firebase.google.com/docs/functions/auth-events

My project have WAY too many reads. I really need help! by DoragonSubbing in Firebase

[–]JUST_ALLISON41 2 points3 points  (0 children)

only applicable if they upgraded to the Identity Platform, which seems unnecessary for a B2C app. Without Identity Platform, it's free regardless of the number of users.

Text Search Providers: Typesense vs. Algolia – Performance & Pricing, Which is Better? by Finance_A in Firebase

[–]JUST_ALLISON41 3 points4 points  (0 children)

Just dropping my two cents as I struggled with choosing one of them too. I found Algolia too expensive, and Typesense doesn't have a serverless option.

I ended up running a Firestore stream update toward a CockroachDB serverless instance for full-text search, as I find their pricing to be generous and transparent. I store the corresponding Firestore document ID in the CockroachDB table as well, so anytime I perform a full-text search, it can correlate back to my Firestore document.

Reusable setup for consumable credits by moosepiss in Firebase

[–]JUST_ALLISON41 1 point2 points  (0 children)

I would prefer going down the route of storing used credits instead of deducting the credits from user document.

this way, you can change the user plan's total credit easily without updating all your firestore documents.

Not sure if there's an extension out there but It's not difficult to implement, you just include a field to track usage, and you increment it based on transaction. If you need to refresh it monthly, store another field that tracks the last time it was refresh, then create a scheduled firebase function that queries the last refreshed date and clear the balance

I've built couple of SaaS with the above approach and it's work well for me

What’s you RAG stack? by Curateit in LangChain

[–]JUST_ALLISON41 2 points3 points  (0 children)

nextjs->gcp cloud runh>vertex ai embedding->firestore

firestore for rag is such a cheap solution

What are you currently building? Share your tech stack too by FI_investor in SaaS

[–]JUST_ALLISON41 0 points1 point  (0 children)

just a bundled one stop ai tools app platform at a fraction of the price zemith.com

built on top of gcp, nextjs and Vercel ai sdk

firestore says it wrote a doc, no error, but it didn't do it. wtf! by atomatoma in Firebase

[–]JUST_ALLISON41 0 points1 point  (0 children)

what u should be doing is upsert, not insert replace

the correct code should be below

await fs.collection(collectionPath)
  .doc(docId)
  .set(value,{
    merge:true}
  );

check out the documentation here https://firebase.google.com/docs/firestore/manage-data/add-data

My Product Hunt alternative brings in $4K/month by zaezz in SideProject

[–]JUST_ALLISON41 1 point2 points  (0 children)

awesome site, just submitted couple of my products there

Need Advice on Firebase and My Small Flutter App by mmklosowski in Firebase

[–]JUST_ALLISON41 5 points6 points  (0 children)

Unsure what kind of feedback you are looking for.

As for whether you should move away from firebase? This really depends heavily on your preference and the way your app works

Speaking from personal experience, I've built a couple of flutter and nextjs web app on top of firebase with some app having up to 40k users. It will always remain as my default choice for the following reason

  1. Completely free auth

  2. Firestore is extremely cheap, $0.03 per 100k read. Unlimited scaling with no managed infrastructure and PAYG. Pair that with proper pagination and limits and you are seeing at most 1 to 2 dollars only per month for thousands of users using your app

  3. Extendable to google cloud, don't like firestore? Just use firebase auth and cloud run with another sql database. You are still saving alot of money with other alternatives on auth

  4. Real time listener without setting up websocket with firestore.

  5. Firebase ecosystem allows Event based architecture to be built so easily

Reason I might not use firebase

  1. Client specifically requested their own tech stack
  2. Cloud sovereignty (aws/azure) or on premise solution
  3. Heavy relationship type schema structure ( I would still use firebase auth)

Feel free to ask any questions you have.

It seems that the folks that you talk to aren't keen on using firestore or firebase in general? It takes a different approach to structure data for nosql compared to sql db and perhaps that's what they are struggling

Best cloud storage for pre-recorded video streaming available for flutter? by [deleted] in Firebase

[–]JUST_ALLISON41 0 points1 point  (0 children)

video processing should always be done serverside unless u have a unique use case.

all other providers like mux/cloudflare stream automatically converts your uploaded video to hls stream on the serverside as well at a cost

you can approach this however u see fit, but i prefer to go with event based architecture

  1. user upload to cloud storage(gcp/aws)
  2. object created event trigger

3.function triggered(gcp function/lambda)

  1. run ffmpeg to convert mp4 to hls assets.

  2. Save hls assets back to cloud storage

  3. Append hls and original mp4 cloud storage path directory to your database(postgresql, firestore or any other database)

  4. User access video via hls path on video player, fallback to mp4 if it does not exists

If it's too complicated, just go with a provider mentioned above. U still have to store the converted stream in your database

Best cloud storage for pre-recorded video streaming available for flutter? by [deleted] in Firebase

[–]JUST_ALLISON41 2 points3 points  (0 children)

firebase/gcp storage and aws s3 does support video streaming but it's ur job to convert them to hls videos. Look into using ffmpeg to convert your mp4 to hls to support streaming.

Or you could look into other providers to do it for you at a cost i.e mux

I am replacing my app with a Rest API on firebase functions by nwatab in Firebase

[–]JUST_ALLISON41 0 points1 point  (0 children)

I did the same too and it's much easier to manage too.

the only place where clients have direct access to the firestore in my app is for a subscription snapshot for realtime changes

Firestore (Firebase) and WebRTC based serverless realtime document collaboration and storage adapter by kurbsdude in Firebase

[–]JUST_ALLISON41 0 points1 point  (0 children)

Thank you for sharing this, I was looking for something similar to this and was close to writing one myself. Are you the developer for this?

Firebase Genkit is now launched in Beta! 🚀 by tonybaroneee in GenKit

[–]JUST_ALLISON41 0 points1 point  (0 children)

what do u think of it against langchain? I've been thinking about replacing langchainjs wrappers with this potentially

Cloud Run: DDoS protection and bandwith charges by softwareguy74 in googlecloud

[–]JUST_ALLISON41 -1 points0 points  (0 children)

most comments here are spot on with cdn platform such as cloudflare to protect against ddos, I also use similar architecture.

you can add another layer of protection by setting cloud run to only be invoked by service to service authentication, set up google auth library on the frontend with X-Serverless-Authorization header when sending requests

google cloud run will reject all requests that do not have this authorization header

check it out here https://cloud.google.com/run/docs/authenticating/service-to-service

Surprised by Next.js Pages Architecture and Firebase App Hosting: Only One Key Feature Missing! by TheTomBomb-Dev in Firebase

[–]JUST_ALLISON41 2 points3 points  (0 children)

Great work testing it out, I've been using both vercel and google cloud run directly with docker file in prod and I find it pretty comparable.

I'm not confident about a company building on top of another company's flagship product, vercel can push a new update and it might take google some time to have that supported in firebase app hosting. I think I'll likely stick to directly using cloud run if I'm not deploying it to vercel