top | item 27994692

Show HN: Notes.cx – A simple, anonymous online notepad \w Markdown support

80 points| hxii | 4 years ago |notes.cx | reply

43 comments

order
[+] philshem|4 years ago|reply
You can use your browser as an offline (temporary) text editor, which I find useful with screen sharing.

Enter this into your browser’s address bar:

    data:text/html, <html contenteditable>

https://twitter.com/philshem/status/1420282427969318916?s=20

and with focus

    data:text/html, <html style=" max-width: 64ch;margin: auto;font-size: calc(1rem + 1vw);line-height: 1.4;font-family: monospace;padding: calc(1rem + 4vw);"><body contenteditable><script>document.addEventListener("DOMContentLoaded", () => {document.body.focus()})</script>
https://twitter.com/getflourish/status/1420308275422285830?s...
[+] dugmartin|4 years ago|reply
I have this as a bookmarklet and I use it frequently when pairing for ephemeral notes:

    data:text/html, <html contenteditable><head><title>ScratchPad</title><style>body{font-family:monospace}</style></head>
I like having the title so I can see it in the tab and the font setting makes cutting/pasting code look better.
[+] mattowen_uk|4 years ago|reply
I'm going to get torched for this, but surely Notepad.exe or your-distros-default-text-editor would be easier ?
[+] spijdar|4 years ago|reply
That's odd. I assumed it would act like, well, an input box akin to the one I'm typing this comment in, but it's not. At the very least, Ctrl + Backspace doesn't work (on Firefox on Linux) to delete entire words, which works everywhere else.
[+] usrme|4 years ago|reply
Is there something similar that is offline? All I'm interested in is just opening up a bookmark without an internet connection and being able to jot down stuff with Markdown support; it being able to save state is even not necessarily required.
[+] honie|4 years ago|reply
I was bored, here you go! A completely offline browser-based markdown editor!

https://notes.cx/ZkZNL9vFr

Edit: Updated styles. Clarified what it is.

[+] ghosty141|4 years ago|reply
Markdown and offline is always a bit problematic. It's a format that needs to be rendered with a browser, so it's just not very suitable for offline/non-browser use.
[+] quaintdev|4 years ago|reply
[+] hxii|4 years ago|reply
Telegraph was actually one of the inspirations I used for Notes.cx. However, I didn't use a JavaScript editor (Quill) in my case and I have no idea what the privacy and retention policies are like on Telegra.ph.
[+] rkalla|4 years ago|reply
This is slick.

1 suggestion - make a Created (published) note optionally editable... so when the note is originally being edited there is a checkbox to allow it to be editable or not, so once it's published, it's fixed in space and time...

The viewer of an uneditable note can have a button to "Edit a Copy" of the note to create their own version of it and publish it under their own URL, but they can't edit the content of the original one.

NOW you've got yourself a forever tool here.

[+] gabipurcaru|4 years ago|reply
this looks nice and clean. Generally, the problem with these services is that they can easily be used for malicious purposes -- fronts for data exfiltration, scamming etc., so there will be some cost attached to responding to various queries and takedown requests

https://mediasonar.com/2019/07/11/pastebins-data-breach/

[+] john-doe|4 years ago|reply
From the help page: “every note you create (anonymously) lives for 24 hours”
[+] dugmartin|4 years ago|reply
I'm wondering for other folks that have created tools like this how do you do moderation of anonymous content as I can see this quickly devolving into a cesspool.

The thought of that has held me back from a couple of ideas I've had that allowed for public anonymous text.

(btw, I don't want to get into a discussion about if moderation is needed)

[+] hxii|4 years ago|reply
I think that due to the retention policy (24 hours) that I implemented as well as lack of any "social-like" features (likes, upvotes, comments, indexing, visibility), the tool is pretty self-moderating.

That said, I'd love to hear what others think on this subject as well.

[+] jack_riminton|4 years ago|reply
I find these super quick note taking tools incredibly handy. I love dillinger.io but I always find myself using docs.new because I can create a note within a second

Feature request: a keyboard shortcut to save or "create", because I'm lazy and scrolling down and clicking create is just too much :)

[+] hxii|4 years ago|reply
Keyboard shortcuts are actually something I thought about! I'll have to experiment with this a little bit to see how it can be implemented in a non-obtrusive and useful way.
[+] debarshri|4 years ago|reply
It would be cool if it has notion like "/" commands to inject codeblocks and other assets.

Nice project!

[+] hxii|4 years ago|reply
Thanks! A Notion-like editor is possible (using something like Editor.js - https://editorjs.io/) but would require much more development which would make this project quite a bit more complex :)
[+] benrbray|4 years ago|reply
Needs $inline$ and $$block$$ math!
[+] a9h74j|4 years ago|reply
There is a tool out there to combine markup-interpretation and mathjax (IIRC) for $ $ and $$ $$, applying them to the same <textarea> for translation onLoad(). I don't have a name for you right now to search for.
[+] hxii|4 years ago|reply
Should be fairly easy to add since Parsedown offers support for LaTeX. The thing is - I'd need to add KaTeX. I'll look into it!
[+] riffic|4 years ago|reply
there's only one thing that comes to mind when I see the .cx top-level domain.