Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Time to give up on Qt?. Parent comment
This is already done in Brackets, you could just copy/paste the code from https://github.com/adobe/brackets-app/blob/master/src/win/ce... and https://github.com/adobe/brackets-app/blob/master/src/win/ce... as it's under MIT license.
With the bridge in place you can access files from JavaScript as follows:
brackets.fs.readFile('path/to/file.txt', 'utf-8', function(file) { console.log(file); });
There are no comments on this comment yet.
This is already done in Brackets, you could just copy/paste the code from https://github.com/adobe/brackets-app/blob/master/src/win/ce... and https://github.com/adobe/brackets-app/blob/master/src/win/ce... as it's under MIT license.
With the bridge in place you can access files from JavaScript as follows:
There are also corresponding methods for writing files, deleting files and reading whole directories.