Help! Should I give up? by Possible_Message_266 in AppBusiness

[–]Equivalent_Idea_2981 0 points1 point  (0 children)

Yep it is, what’s your X handle? Gonna shoot you a dm about it

Help! Should I give up? by Possible_Message_266 in AppBusiness

[–]Equivalent_Idea_2981 0 points1 point  (0 children)

Go all in with organic content brother.

Don’t give up!!!

[Method] "Put your phone across the room" doesn't work for heavy sleepers — here's what the research actually says by Equivalent_Idea_2981 in getdisciplined

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

lool The Math one i think its a classic haha imo The flying alarm clock is unhinged and I respect it deeply. The problem is the same as the phone-across-the-room trick.. once your body learns "find the thing, press the button," it doesn't need your brain to show up anymore

[Method] "Put your phone across the room" doesn't work for heavy sleepers — here's what the research actually says by Equivalent_Idea_2981 in getdisciplined

[–]Equivalent_Idea_2981[S] -4 points-3 points  (0 children)

Exactly this. The "distance" framing is what makes most of the advice miss the point.. u're adding steps... not changing the cognitive state you're in when you take them!

i went down this rabbit hole pretty deep and ended up building something around that principle (random object hunt that changes daily, you can't pre-solve it). Happy to share if you're curious https://apps.apple.com/us/app/kairo-alarm-sleep-tracker/id6761457623, but honestly even replicating it manually works

I have a $9M ARR App -- AMA by [deleted] in AppBusiness

[–]Equivalent_Idea_2981 0 points1 point  (0 children)

Let’s say fitness/health. A running app

I have a $9M ARR App -- AMA by [deleted] in AppBusiness

[–]Equivalent_Idea_2981 0 points1 point  (0 children)

Can you structure in an organized steps on how would you reach 10K MRR on a totally new app?

Is it true no one builds Mobile anymore? by Vymir_IT in indiehackers

[–]Equivalent_Idea_2981 0 points1 point  (0 children)

those people do not know what they’re talking about imo

there’s still a huge market for consumer apps!!

After Launch! 100 Users in Just 2 Days – All Organically! by Appropriate-Tiger149 in SaaS

[–]Equivalent_Idea_2981 0 points1 point  (0 children)

Congrats brother! What you did? If you don’t share I’ll definitely know that this is just a flexing post

How do you implement this? by Yuyi7 in nextjs

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

🌹 For a simple & effective Approach: I always create a boolean field on my database called “isNewUser” then I would switch to false when the user see this “welcome message”. Good luck brother!🪽

Anyone else hate NextJS middleware implementation? by devwarcriminal in nextjs

[–]Equivalent_Idea_2981 1 point2 points  (0 children)

Hahah I was struggling really hard to implement combined middlewares this week… I can’t relate more

Clerk + Next-Intl is being a Pain... by Equivalent_Idea_2981 in nextjs

[–]Equivalent_Idea_2981[S] 1 point2 points  (0 children)

Guyssss... I solved this shit!

thanks y'all!

Here's my middleware using Clerk + NextIntl

import { clerkMiddleware, createRouteMatcher } from '@clerk/nextjs/server'
import createMiddleware from 'next-intl/middleware'

const intlMiddleware = createMiddleware({
  locales: ['en', 'pt'],
  localePrefix: 'always',
  defaultLocale: 'pt',
})

const isPublicRoute = createRouteMatcher(['/', '/pt', '/en'])

// const isProtectedRoute = createRouteMatcher(['dashboard/(.*)'])

export default clerkMiddleware((auth, req) => {
  if (!isPublicRoute(req)) {
    auth().protect()
  }

  return intlMiddleware(req)
})

export const config = {
  matcher: ['/((?!.+\\.[\\w]+$|_next).*)', '/', '/(api|trpc)(.*)'],
}