pereorga / minimalist-web-notepad

Minimalist Web Notepad
https://notes.orga.cat
1.13k stars 282 forks source link

Can I add a real-time refresh function? #37

Closed mS0gxokXEsg5ysJ7J79kzWiqO1fHgFA6ZR8eEls closed 4 years ago

mS0gxokXEsg5ysJ7J79kzWiqO1fHgFA6ZR8eEls commented 4 years ago

After editing, all devices can automatically refresh the page to display the content in real time. Is this feature open source added?

domOrielton commented 4 years ago

I don't think this would be easy to do and keep it minimal - you could use Ratchet or similar to add the functionality but this would move the project away from being minimalist.

There is a NodeJS and Websockets implementation of a minimal notepad I've used before that has realtime updates - https://github.com/petercunha/Pad - that might fit your requirements, with the option to save the notes here.

Hope this helps.

mS0gxokXEsg5ysJ7J79kzWiqO1fHgFA6ZR8eEls commented 4 years ago

I don't think this would be easy to do and keep it minimal - you could use Ratchet or similar to add the functionality but this would move the project away from being minimalist.

There is a NodeJS and Websockets implementation of a minimal notepad I've used before that has realtime updates - https://github.com/petercunha/Pad - that might fit your requirements, with the option to save the notes here.

Hope this helps.

No No No ! Real-time refresh is the most basic function, just like the water, electricity and coal you use every day. Without this feature, it is difficult to have a perfect user experience, especially on a mobile phone screen with a smaller screen. Do you have to manually pull down and refresh the text each time? This is almost anti-human. Hahaha ~

domOrielton commented 4 years ago

This implementation is meant to be minimal - under 3kb last time I checked - and additional features are difficult to add without adding size and keeping it minimalist. If you can do it then I'm sure others would be grateful if you forked the project and added real-time refresh, would definitely be a useful addition.

pereorga commented 4 years ago

Closing this for now. Thanks!