https://electron.atom.io/
Build cross platform desktop apps with JavaScript, HTML, and CSS
#multi_platform #cross_platform #css #js #electron #osx #windows #linux #desktop #application
Build cross platform desktop apps with JavaScript, HTML, and CSS
#multi_platform #cross_platform #css #js #electron #osx #windows #linux #desktop #application
How do you know if a remote web server is Linux based or Windows based? (Ignore this if there is pfsense/ha proxy in front)
The output is similar to:
Look at the
#os #linux #windows #ping #ttl #iranhost
ping
the remote ip:ping iranhost.com
The output is similar to:
PING iranhost.com (174.142.214.47): 56 data bytes
64 bytes from 174.142.214.47: icmp_seq=0 ttl=105 time=174.379 ms
64 bytes from 174.142.214.47: icmp_seq=1 ttl=105 time=180.315 ms
64 bytes from 174.142.214.47: icmp_seq=2 ttl=105 time=177.937 ms
Look at the
ttl
part of the output. If it's above 100, it is a windows based machine otherwise it is a Linux based machine.#os #linux #windows #ping #ttl #iranhost
How to create a an application for your platform? Let's say an
I suppose you have
Now you can generate a native app from your website using the command below:
There are many parameters you can give to
#nativefier #nodejs #npm #electron #mac #windows #exe
EXE
file for windows and .app
for MAC or a binary for linux.I suppose you have
nodejs
and npm
already installed. You need to install nativefier
node module using the command below first:npm install -g nativefier
Now you can generate a native app from your website using the command below:
nativefier "https://www.google.com/" --name="Google"
There are many parameters you can give to
nativefier
in order to set custom settings on it. Check nativefier --help
for that.#nativefier #nodejs #npm #electron #mac #windows #exe