Love the simplicity! Is text stored locally (and securely) or is it on a server somewhere? I'm not familiar with how LocalStorage works. Great work on this @syndicatefx
@patrickryanlane Hey, thanks! Text is stored only on your browser, using the Web Storage API, no where else. In simple terms the browser has its own "data-base" to store key/value pairs. Read about the concept here: https://developer.mozilla.org/en...
@patrickryanlane Nope, not at the moment. If i do it will only be for the download file extension(choose .txt or .md), but i'm not planning on adding syntax highlighting or previews.
@maxine_kerley_bowen Not sure what you mean by minimal margins. The margins on either side of the text are hard coded in the CSS, and get progressively smaller on smaller window sizes. But there is no way right now for a user to customize those settings.
Hello everyone!
I'm Paulo Nunes, and i built TextPad.
I built it for personal use, copy/pasting text online, drafting ideas i want to publish, and taking notes when doing research without switching between a text editor and the browser.
Hope it's useful for you too, thank you!
@geonomad Can you tell me what software you're using to open your .txt file on your computer? Those characters are explained here: https://en.wikipedia.org/wiki/By...
I couldn't replicate that on any editors i use, but since TextPad saves file as "text/plain;charset=utf-8", that is the reason you might be seeing those characters at the beginning of your file, based on the wiki link above.
@syndicatefx I am saving the file from Chrome/51.0.2704.103 on W10 and opening with Editpad Pro 5.4.5. You are right it is saving it as a UTF-8 stream instead of plain text. If I convert from UTF-8 to ANSI, they go away. No big deal. My editor was just expecting pure text in the file.
@zac_46 I have not used Papier thoroughly. But from what i could gather from a quick test, this is what i think the main differences are between TextPad and Papier(which looks/feels like a great app too, by the way).
- TextPad is browser vendor independent, no extensions to install, works on all modern browsers.
- Lightweight and fast, even on mobile(the whole online app is one html file weighing 22.7kb).
- Also uses LocalStorage, though in a much simpler way because there is no text formatting going on. Resulting in a small footprint on storage capacity which for text purposes isn't that significant but still takes up less than Papier.
- Enables you to directly download your text as a .txt file, Papier only has print option if you want to store a copy on your disk.
- TextPad uses html textarea element, Papier uses a contenteditable div. Paste text into it without bringing in any formatting of the original copied text, cleaner output and less error prone.
Wrapping up i think the only things TextPad really misses are the text formatting options, keyboard shortcuts and synchronization. Otherwise they are equal in features.
VC Puzzle