Just curious.
Show HN: I made an open-source Notion-style WYSYWIG editor
91–100 of 140 posts
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#92Tangent: On the note of web based text field for "normal users", what's the best UX you can get while also trying to be as no-JS-friendly as possible? Are there CSS-only tricks to make editing in an input field nice? I'm making a low-JS site, but it also has a lot of input fields, user content generation, etc. In "modern CSS" i feel like Input boxes should be better than they are. Is JS the only way?
“Normal users” have JS enabled and don’t care how much JS you send them. They don’t even know what it is. I feel like if you’re targeting a no-JS crowd, that’s a very specific crowd, i.e. this one.
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#93Tangent: On the note of web based text field for "normal users", what's the best UX you can get while also trying to be as no-JS-friendly as possible? Are there CSS-only tricks to make editing in an input field nice? I'm making a low-JS site, but it also has a lot of input fields, user content generation, etc. In "modern CSS" i feel like Input boxes should be better than they are. Is JS the only way?
Rich text editing is probably not possible or not worth it. However, most people who disable JS are probably fine with not using rich text and definitely shouldn’t expect it. Just add a CSS stylesheet which turns into something half-decent, put a note that markdown is supported, and make a plain text editor.
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#94For a text editor like this a base LLM would be more appropriate, one that does just autocomplete, without being instruction tuned. Unfortunately these base models are either unavailable (GPT-4), outdated (GPT-3/davinci) or otherwise restricted (GPT-3.5 aka code-davinci-002 is only available via Microsoft Azure and more expensive than the instruction tuned GPT-3.5-turbo model).
divinci-003 is outdated? I actually switched back to it after trying gpt4 for a while because I thought it was too assistant-y. I have a switch to use gpt4 when I feel like I need it to be smarter but I rarely reach for it.
https://platform.openai.com/docs/model-index-for-researchers
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#95Earlier quoted context omitted.
I built on the same stack and have a similar opinion. It’s only easy if you’re depending on the webrtc implementation. If you’re coordinating changes across your own server, you gotta put in some work.
I did not rely on the webrtc implementation. Really you gotta do a lot of "echo server"-style shraing of messages and some sync messages from time to time but Yjs/CRDT stuff works pretty smoothly on this front. But my requirements are pretty loose
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#96To generate the image, I simply cloned the provided github URL and used the nextjs Dockerfile[1] and removed all of the cruft. The Dockerfile is available here[2].
1: https://raw.githubusercontent.com/vercel/next.js/canary/exam...
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#97Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#98At the risk of sabotaging stuff I've worked on, it's _astoundingly easy_ to glue together Y.js, prosemirror, and a little bit of express.js to get a distributed Notion clone with conflict free resolution. Like I have something that I got working in 3 days with multiple pages, so links between things, and cursor syncing (most of this work is provided by wonderful people with full-featured libraries!). There's some tri…
Notion is goat-ed! It's one of the greatest software ever created in our time imho. Y.js sounds amazing – gonna have to look into it! Have been using Liveblocks for real-time data stuff, the DX is a breeze to work with!
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#99Earlier quoted context omitted.
I did not rely on the webrtc implementation. Really you gotta do a lot of "echo server"-style shraing of messages and some sync messages from time to time but Yjs/CRDT stuff works pretty smoothly on this front. But my requirements are pretty loose
With Yjs, how do you persist data in a "normal" database? And yeah, it may he easy for text editing (as pretty much all work is already done) but what if you have some other features where you want to get "live syncing"? It starts out easy but can become harder imo.
In the end I have just been stuffing the data structure directly into postgres “as-is”. I think there are some tricks you can use to shrink some historical data but I think it’s pretty straightforward if you get to a size where the data size matters
Re: Show HN: I made an open-source Notion-style WYSYWIG editor
#100Earlier quoted context omitted.
Notion is goat-ed! It's one of the greatest software ever created in our time imho. Y.js sounds amazing – gonna have to look into it! Have been using Liveblocks for real-time data stuff, the DX is a breeze to work with!
What's the reason for such high praise for Notion? Asking honestly as I have used it and genuinely don't get the admiration.