I didn't play with the HN API but I wonder if it's possible to post comments using the API. I haven't seen any program support user comments, it would be neat to be able to post comments using vim :-)
Hi, plugin author here. It's not currently possible to post comments using the official API (or any of the unofficial APIs), but this probably wouldn't be difficult to implement using a standard POST request to the actual Hacker News web server. The harder part would be getting the interface for posting comments inside of Vim user friendly; it would probably be similar to how fugitive.vim lets you enter git commit me…
Show HN: vim-hackernews
11–20 of 38 posts
That'd be awesome. Opening up a scratch buffer and then using that for the contents of the comment in the POST would work pretty well. I dig it.
Re: Show HN: vim-hackernews
#12It will be very useful at work for reading HN and pretending I am working :)
Re: Show HN: vim-hackernews
#13[deleted]
Re: Show HN: vim-hackernews
#14Amazing!
Re: Show HN: vim-hackernews
#15[deleted]
No, Vim is more or less incapable of dealing with JS because it lacks support for asynchronous processes with two way data flow.
Re: Show HN: vim-hackernews
#16I didn't play with the HN API but I wonder if it's possible to post comments using the API. I haven't seen any program support user comments, it would be neat to be able to post comments using vim :-)
Do you think they deliberately don't make that functionality part of the public API just so people won't create bots?
No, it's not that. I don't know why they don't allow comments via the official API.
Maybe @dang would be kind enough to let us know if we'll ever be able to use the API to post AUTH and post comments.
Re: Show HN: vim-hackernews
#17Re: Show HN: vim-hackernews
#18The Emacs community embraced vim through evil-mode, the vim community is now implementing the rest of the OS.
Re: Show HN: vim-hackernews
#19Well, it certainly looks better than the current Hacker News design.
Re: Show HN: vim-hackernews
#20Fun!