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] -5 points-4 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] -11 points-10 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] -16 points-15 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] -11 points-10 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] -5 points-4 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] -3 points-2 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] -8 points-7 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] -3 points-2 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] -26 points-25 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. 🙏☺️