Algorithm-Arena / weekly-challenge-5-copy-pasta

3 stars 0 forks source link

Submission - Pâtes à la tomate #2

Open alcpereira opened 7 months ago

alcpereira commented 7 months ago

Description

A fullstack app that converts the type in the backend and sends it back to the client to store into the next format (with a loop text > html > xml).

Unfortunately I discovered way too late that ClipboardEvent.clipboardData.setData is not the same as Clipboard.write 🤦 (now I understand the original suggested loop). Too bad I spent too much time debugging it, I would have definitely tried playing around with steganography for a lossless solution, and ReadableStream on both FE/BE , but it's Sunday 2AM 😅

Again, huge thanks for those challenges, this is refreshing and fun to dive into the core APIs of the browsers.

Links

It's funny that I'm certainly using the Clipboard API right now by pasting links while selecting the text on Github 😄

How to try it

npm install
npm run dev