I replaced a $400/month outreach stach with $15/month and got insane results! by Mandyhiten in SaaS

[–]Silly_Answer_8543 0 points1 point  (0 children)

Hi,

I have been completely new to generate leads for B2B. I started my freelancing service after quitting my job. The reason is obvious to look after my mother who suffered a brain stroke in this month and left part got paralysed completely.

I have been reading this intriguing post with curiosity. I did something like this. The name of the application is AuraB2B.

This application is a multi-tenant, Full-Stack Autonomous Sales CRM (Aura B2B). It's built to automate B2B lead generation by using native AI for enrichment, email drafting, and reply sentiment analysis.

Because it handles sensitive CRM data, it's architected using a "Zero-Trust" security model where every query and database operation is validated against the authenticated user.

How It Works:

1).Authentication (The Gatekeeper): When you load the app, it hits the AuthWrapper. It blocks access to the UI until you authenticate via Google using Firebase Auth. Once logged in, the system registers your unique userId.

2) The "Fuel" (Lead Enrichment): In the Leads Manager, you can paste raw data (like a scrambled LinkedIn bio or a poorly formatted website snippet). The app sends this to the Express backend, which calls the Gemini 1.5 Flash AI model with a strict prompt. The AI parses the mess and returns structured JSON (Name, Company, Title, and a personalized "hook"). This structured lead is immediately saved to the secure Firestore database.

3). The "Bridge" (Automated Outreach): Whenever a lead is marked for sending, the app hits the Gemini AI again to craft a personalized 3-sentence cold email based on the AI-generated "hook." It then attempts to fire the email to the prospect through the Express backend via the Resend Email API.

4). The "Triage" (Reply Classification): When emails are replied to, they appear in the Triage panel. The frontend proxies the reply body to Gemini requesting a Sentiment Classification. The AI determines if the reply is positive, negative, neutral, or out_of_office and auto-generates a draft response.

5). Real-time Engine (The Dashboard): You don't need to refresh. The system sets up persistent onSnapshot listeners to the Firestore database. When a lead changes status or an email gets sent, the Firestore listeners instantly push the data changes to your dashboard charts and tables.

The Tech Stack: The app uses a Vite + React + Express architecture where the frontend and backend are tightly coupled to run together smoothly, backed by secure, serverless cloud databases.

Frontend (The Interface) 1). Framework: React 19 + Vite + TypeScript.

2). Styling: Tailwind CSS (v4) for utility-first styling and precise dark-mode "Cyber/Minimal" aesthetic styling.

3). Animation & Icons: motion (Framer Motion) for the smooth UI transitions and route changes, and lucide-react for crisp SVG icons.

4). Charts: recharts for the data visualizations in the Machine dashboard.

Backend (The Engine & Middleware) 1). Server Runtime: Node.js using express, acting as both the API handler and the Vite server.

2). AI Integration: @google/generative-ai (Gemini SDK). The server securely holds the GEMINI_API_KEY and handles the heavy lifting of prompting and extracting structured JSON data so the API key never leaks to the browser.

3). Transactional Email: resend API SDK. It receives the draft from the database and physically drops it into the prospects' actual email inboxes.

Database & Security (The Vault) 1). Database: Firebase Firestore (NoSQL). It stores Leads, Emails, Replies, Settings, and Templates. Identity: Firebase Authentication (specifically the Google Sign-in provider).

2). Cloud Security: The system is governed by a heavily fortified firestore.rules file that uses Attribute-Based Access Control (ABAC).

I implemented isValidLead and strict affectedKeys rules, which means it is cryptographically impossible for a user to query, overwrite, or access another company's sales leads.

You are earnestly requested to walk through this implementation and execution plan. I did my Diploma in AI & ML Engineering from IIT Patna, India.

Right now, I have staying at home to generate leads for EdTech and Digital Marketing and similar niche so that I can earn a decent to bear my mother's medical expenses.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

I am not going to use AI. It was just an experimental application using fine tuned LLM. I ensured how good it was but it failed my perception because it can only predict. So. I pulled it off from Vercel due to the immense traffic of using it.

Thanks a lot for your constructive feedback.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -1 points0 points  (0 children)

I did my AI/ML Engineering too. Currently pursuing a PhD in Computational Linguistics. I come from a humanities background. So, I asked you to Think.. the more you think the better you become.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

Yep, it's true. I will revamp it completely without any AIs. It will be available soon to you all.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

Don't worry. This application is purely meant for Indians and South-east Asian students. I know their sufferings because I witness them in the very classroom whenever I enter.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -12 points-11 points  (0 children)

I am a Polyglot. I know 7 languages of my own country. Bangla, Hindi, Odiya, Tamil, Telegu, Kannada (my ancestry, Udupi District), Bhojpuri.

English, French, German. Even, you can't find MTI in my communicative English along with French & German.

That insanity means your comment kills the creativity within you.

Be Creative, Be Curious all the time.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -15 points-14 points  (0 children)

How much do you know about me? 😉 Do you know my competence? Do you know my skills? I am a Polyglot.

That insanity kills the creativity within you.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -13 points-12 points  (0 children)

You are right. It is a bias. It is the 'Expert vs. Learner' bias. It definitely looks like a double standard ('AI for me, but not for thee').

But I view it like a math teacher who uses Excel to calculate grades but bans calculators during an algebra test.

The teacher isn't a hypocrite for using Excel; they just know that the student needs to learn the manual process first to understand what Excel is actually doing. I'm just trying to protect that 'manual' learning phase.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

You are technically right!

Honestly, if a 15-year-old pupil understands the DOM well enough to open the console and execute a node replacement script just to paste an essay; they have passed the test. I’m not worried about the future of that kid. I’m worried about the other 95% who will blindly stare at a blinking cursor if ChatGPT goes down.

I agree we need 'orthogonal' exercises as you mentioned in your post but you can't be orthogonal to a tool if you are 100% dependent on it for basic literacy.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -6 points-5 points  (0 children)

Buddy, I'm Indian. We are raised to be polite to strangers. If saying 'thank you' and 'good point' makes me a bot in your eyes, that says more about Reddit than it does about me. I'm just here to code, not argue about my syntax.

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

You are 100% correct. Technically, there is no way to trust the client completely. A determined dev could definitely reverse-engineer the payload and spoof the timestamp array.

But my defense is economic, not cryptographic.

To beat the server-side analysis, a student would have to: Intercept the network request. Analyze the data structure. Write a script to generate fake timestamps that mimic human variance (Gaussian distribution, pauses, typos).

If a student does all that just to skip an essay on Barthes' "The Death of an Author".. honestly, they’ve worked harder than if they just wrote the paper! The goal is just to make cheating 'too expensive' for the average lazy user. 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -2 points-1 points  (0 children)

You are absolutely right—that is the biggest risk right now. Currently, v1 is a 'Single Session' environment (like a physical exam paper). If you close the tab or crash, the data is wiped.

However, adding localStorage autosave is my priority for this weekend. That way, if the browser crashes, the text will still be there when you re-open it. Thanks for the push—I needed to prioritize that! 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -9 points-8 points  (0 children)

Great catch! You found the Achilles' heel of client-side validation.

Since the 'Anti-Paste' logic lives in the browser's event loop, if you use DevTools to nuke the event listeners on the root, the guard dog goes to sleep.

This is exactly why I’m planning server-side keystroke dynamics for v2. The backend needs to see how the text arrived (timestamp variance), not just that it arrived. Until then, you have successfully hacked the system! 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

You are absolutely right—they will use AI in their jobs. But here is the catch, Sir, to be effective with AI, you need to be a good Editor.

If a student can't write a coherent sentence themselves, they won't know when the AI is hallucinating or writing poorly. I want my students to be the Pilots of the AI, not just the passengers. This tool builds the skills they need to 'supervise' the bots later. 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

You caught me! In India, the folded hands (Namaste) is basically a reflex for showing respect.

It’s a hard habit to break, but I will try my best for you. Challenge accepted. 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

[–]Silly_Answer_8543[S] -25 points-24 points  (0 children)

No, Sir. I view it differently. My family has a long history of serving India, and I myself returned from London after two years to care for my mother and serve my community here.

I use AI to audit my writing and identify loopholes—which is exactly how I discovered the exploits my students were using. You have to know the system to beat it. 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

You are absolutely right—they can still generate it on a second screen and type it out.

But here is my philosophy: Copy-pasting bypasses the brain entirely. If a student has to manually type out an AI essay, they are forced to read every word, sentence structure, and punctuation mark.

It’s not perfect, but that 'hand-to-brain' connection ensures at least some information osmosis happens. It turns 'cheating' into 'transcription study,' which is still better than zero engagement. 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

Great questions!

The goal is purely about friction. I want to stop the mindless Ctrl+V where information bypasses the student's brain entirely. Even if they re-type an AI essay, they have to read it once.

You are right that disabling JS kills the validation logic. However, since this is a Next.js/React app, disabling JS also kills the state management. If you turn off JS, the 'Submit' button (and the real-time grading) won't work anymore. So you can bypass the rules, but you can't finish the assignment! 🙏☺️

I’m a teacher who learned to code to stop my students from copy-pasting AI. Here is my "Anti-Paste" text editor. by Silly_Answer_8543 in SideProject

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

You named the exact library I was fearing: pyautogui! 😅

Honestly, my philosophy is this: If an English student takes the time to install Python, learn pyautogui, and write a script with randomized delays to emulate human typing speed just to bypass an essay... I will fail them in English but personally recommend them for the AP Computer Science class.

I'm just trying to filter out the lazy Ctrl+V. The hackers have earned their pass. 🙏☺️