Live data from Hacker News

Show HN: I made an open-source Notion-style WYSYWIG editor

novel.sh

21–30 of 140 posts

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#21

This is pretty slick. Unobtrusive prompt and then you get a pretty intrusive drop-down. Pretty it up. It has a wonderful response and flow and I would be interested in using this in future projects.

The dropdown is part of the Notion styling.

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#23

How is it possible for the LLM completion to be so fast? I can't even run 169M RNN models that quickly.

Oh, it just uses OpenAI.

https://github.com/steven-tey/novel/blob/62d32be43dae8aa40fa...

...and has a 50-request limit per day.

https://github.com/steven-tey/novel/blob/62d32be43dae8aa40fa...

...and trims the content to, um. 500 characters?!

https://github.com/steven-tey/novel/blob/62d32be43dae8aa40fa...

So past a certain point you'll get the same completion repeatedly / a completion of the start of your document, cut off.

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#24
Tangent: 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?

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#25

How is it possible for the LLM completion to be so fast? I can't even run 169M RNN models that quickly.

Oh, it just uses OpenAI. https://github.com/steven-tey/novel/blob/62d32be43dae8aa40fa... ...and has a 50-request limit per day . https://github.com/steven-tey/novel/blob/62d32be43dae8aa40fa... ...and trims the content to, um. 500 characters?! https://github.com/steven-tey/novel/blob/62d32be43dae8aa40fa... So past a certain point you'll get the same completion repeatedly / a completion of the start of your document, c…

I think the nature/feel of the quick response is likely due to the fact the completion call is streaming "stream: true" [1]. Then, they are parsing it back to text as it streams the response back.

[1] https://github.com/steven-tey/novel/blob/62d32be43dae8aa40fa...

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#27

Are there any examples of something similar that has the ability to seamlessly interact with tables as well? Notion seems to be the only player in the space that effectively uses its tables as linkable databases, most similar products seem to either lack table functionality or they're just simple formatted text. So much of my daily work revolves around databases and Excel, I would love the ability to have multiple vi…

Not the answer anyone was expecting, but SharePoint Online. Wiki pages, every list you create is a SQL table with a robust API, and the power platform is one of the best no/low code solutions available. I create full react applications around this and host the SPA in a SharePoint document library.

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#28

Are there any examples of something similar that has the ability to seamlessly interact with tables as well? Notion seems to be the only player in the space that effectively uses its tables as linkable databases, most similar products seem to either lack table functionality or they're just simple formatted text. So much of my daily work revolves around databases and Excel, I would love the ability to have multiple vi…

Not the answer anyone was expecting, but SharePoint Online. Wiki pages, every list you create is a SQL table with a robust API, and the power platform is one of the best no/low code solutions available. I create full react applications around this and host the SPA in a SharePoint document library.

Can you recommend a good tutorial?

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#29

Tangent: 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?

With contenteditable="true" you get a decent rich text editor. It is however a headache to get consistent output in different browsers.

Re: Show HN: I made an open-source Notion-style WYSYWIG editor

#30

Are there any examples of something similar that has the ability to seamlessly interact with tables as well? Notion seems to be the only player in the space that effectively uses its tables as linkable databases, most similar products seem to either lack table functionality or they're just simple formatted text. So much of my daily work revolves around databases and Excel, I would love the ability to have multiple vi…

Have you heard of Obsidian? It's a note-taking app build on locally stored markdown files with bidirectional linking and a great ecosystem of third party plugins. One of the most popular plugins is https://github.com/blacksmithgu/obsidian-dataview which lets you treat your notes as databases and query them to form tables. The creator has been working on its successor, Datacore https://github.com/blacksmithgu/datacore for a while - Datacore might come close to what you're looking for, its goals include WYSIWYG views and live editing inside tables.
Post reply on HN