3 ms·
It would be interesting to see this baked into a browser-based text editor. Make it fully client side and you can potentially save the git history in localstora
by zyxley 12y ago
It would be interesting to see this baked into a browser-based text editor. Make it fully client side and you can potentially save the git history in localstorage and use it as an offline web app. I wonder if there are any git servers that support websockets...
- teraflop 12y agoNo need for websockets. Git has supported pushing and pulling via HTTP for many years.
- azeirah 12y agoYou don't need git for that, simply save every keystroke made by the user.
- WickyNilliams 12y agoCan't tell if you mean overwriting after every keystroke (if so, no history); or saving a "fresh copy" after each keystroke (history, but terribly inefficient - localStorage has space limitations); or saving a series of diffs (how far do you have to go down that path before you realise you should have just used git?)