News for hackers. Stuff that matters.
Re:Slfsrv – Create simple, cross-platform GUI applications by brent_noorda on Tuesday October 07, 2014 @07:44PM (#8424608)
Good idea. I'll add "fetch files from other domains" to the TODO list, as either it's own call, or maybe do something like allowing "http://" protocols in the SLFSRV.read() method.

cross-origin issues would probably prevent some xmlhttprequest calls directly. Meanwhile, here is one current hack you could use to read files from other domains (although it assumes that "curl" is installed):

SLFSRV.exec( { program:'curl', args:['curl','https://news.ycombinator.com/'] }, function(ret) { console.log(ret.stdout); } );

Re:Slfsrv – Create simple, cross-platform GUI applications by robbrown451 on Tuesday October 07, 2014 @08:54PM (#8424809)
Sounds great. Yeah I had noticed that exec function might work. :)

I've downloaded the binary and am playing with it....holy crap I love this thing. It's perfect for some stuff I'm currently working on. I'm glad it is so simple, although I'm sure there are some things that could be added eventually to make it a bit better. (sandboxing and various other permissions things come to mind)