Nucleus is a plain-text editor hidden in a bookmarklet. It is fully responsive and supports all HTML5-supporting browsers. Nucleus is ultra-lightweight - it doesn't support any formating at all and saves itself along with your files when you save it. You can save Nucleus documents in PDF format by utilising the print-to-PDF functionality of your browser. It is also fully customizable and open-source - simply change the source code.
- An HTML5 compliant web browser
- Open a new tab in your browser
- Paste this code into the address bar:
data:text/html, <html> <title>Nucleus</title> <style> body { font: 1.5rem/1.5 monospace; max-width: 60rem; margin: 0 auto; padding: 4rem; } @media screen and (max-width: 720px) { .hide { visibility: hidden; height: 5px; } } @media screen and (max-width: 620px) { .hide { height: 0px; } body { max-width: 100vw; padding: 0rem; margin: 10px; } } @media print { .hide { visibility: hidden; height: 0px; } body { padding: 0rem; } } </style> <body> <p class="hide"><b>Directions: </b> Press Ctrl/Cmd+S to save | Ctrl/Cmd + O to open | Ctrl/Cmd + P to print <br /> <small>You are viewing, editing or creating a document in Nucleus. There is no autosave functionality. Documents save as HTML files and can be opened in any modern browser.</small> </p> <h1 contenteditable style="font: large;" id="title">Title</h1> <div contenteditable style="height: 100%">Enter content here...</div> <script type="text/javascript"> document.getElementById("title").addEventListener("input", function() { document.title = document.getElementsByTagName("h1")[0].innerText; }, false); </script> </body> </html>
- Press enter
- Save as a bookmark or desktop shortcut
Why not localstorage save?