A minimalist text editor that lives entirely in your URL.
GitHub RepoImpressions1.8k

A minimalist text editor that lives entirely in your URL.

@githubprojectsPost Author

Project Description

View on GitHub

A Text Editor That Lives in Your URL Bar

Sometimes the most clever tools are the ones that challenge our basic assumptions. We're used to applications taking up windows, tabs, or at the very least, a few megabytes of disk space. But what if a usable text editor needed none of that? What if it was just... a URL?

That's the exact idea behind textarea, a project by Anton Medv that shrinks a functional text editor down to a single, shareable web address. It’s a fascinating experiment in minimalism and a neat party trick for developers who appreciate clever hacks.

What It Does

In essence, textarea is a self-contained, minimalist text editor. The entire state of your document—every character you type—is encoded and stored directly in the URL's fragment identifier (the part after the #). There's no backend, no database, and no local storage. The URL is the document.

Why It's Cool

The brilliance here is in its constraints and its implementation.

  • Ultra-Portable & Shareable: Your work is instantly shareable. Just copy the URL. The person you send it to will see exactly what you see, ready to edit. It's the ultimate in collaboration with zero setup.
  • No Installation, No Login: It runs in any modern browser. There's nothing to install, no account to create, and no "save" button—editing the URL automatically "saves" your work.
  • A Clever Technical Hack: It uses the browser's built-in textarea element (hence the name) and the TextEncoder API to efficiently compress your text into a URL-safe format. The entire logic to encode, decode, and manage the editor state happens client-side with just a bit of JavaScript.
  • Surprisingly Usable: Despite the gimmick, it's a real editor. You can write notes, snippets, or even draft a short email. It's perfect for those quick bits of text you don't want to open a full app for.

How to Try It

This is the easiest part. You don't even need to clone the repo to try the concept.

  1. Head over to the live demo: https://antonmedv.github.io/textarea/
  2. Start typing in the box. Watch as the URL in your browser's address bar magically fills with encoded text.
  3. Copy that URL and paste it into another browser tab (or send it to a friend). It should load with your exact text.

To poke around under the hood or run it locally, you can check out the GitHub repository. It's a small, readable codebase.

Final Thoughts

Is textarea going to replace VS Code or Vim? Of course not, and it's not trying to. Its value is in its radical simplicity and as a proof-of-concept. It reminds us how much you can do with the web platform's native capabilities.

As a developer, I can see myself using this for quickly jotting down a code snippet to send in a chat, drafting a social media post, or as a temporary notepad when I don't want to leave my terminal. It's a fun, useful tool that embodies the spirit of hacking something together with elegance.

Give it a try. It might just become your new favorite way to share a few lines of text.


Follow us for more interesting projects: @githubprojects

Back to Projects
Project ID: f05fad7b-cb98-481d-99d0-fef38ef1a800Last updated: December 30, 2025 at 08:50 PM