TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I Use Minimal In-Browser Text Drafting Area

1 pointsby primaprashant4 months ago
You are writing a prompt for Claude and you press the enter key to add a new line but you end up sending the text. How annoying! Has it ever happened to you on Slack? On Discord?<p>I spend a lot of time writing text in different places: Slack, Discord, Google Docs, Sheets, GitHub comments, prompting LLMs, and sometimes even in the chat in Google Meets. Each tool handles the Enter key a little differently, sometimes it sends the message, sometimes it adds a new line. I’ve lost count of the times I pressed Enter expecting to start a new line, only to see the message being sent. It’s frustrating and disrupts my train of thought.<p>To solve these problems, I created a simple HTML page that offers a single, consistent text area for drafting. It’s nothing fancy; it’s just a big `&lt;textarea&gt;` that covers the entire viewport. The text I enter is automatically saved to `localStorage`, so it’s preserved across browser restarts. I host this html file on a subdomain of my personal website so it’s available anywhere, including my phone.<p>I created this setup around July, 2024 and this minimal setup has brought a small but meaningful quality-of-life improvement in my daily workflow. I easily use this setup for drafting text 20-30 times a day. Hopefully it can be useful for you too!<p>The entire html file is present in this [GitHub Gist](<a href="https:&#x2F;&#x2F;gist.github.com&#x2F;primaprashant&#x2F;4b14f25eb66c48de97e5974a8bc79cef" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;primaprashant&#x2F;4b14f25eb66c48de97e597...</a>) for you to self-host on your own subdomain.

no comments

no comments