Skip to content
forked from gnh1201/welsonjs

WelsonJS - Build Windows desktop apps with JavaScript, HTML, and CSS based on WSH/HTA or GTK.

License

Notifications You must be signed in to change notification settings

asmnext/welsonjs

This branch is 2 commits ahead of, 1327 commits behind gnh1201/welsonjs:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4927360 · Jun 5, 2022
Mar 4, 2022
Dec 22, 2021
May 17, 2022
Mar 4, 2022
May 30, 2022
May 30, 2022
Jul 27, 2020
Apr 15, 2022
Nov 6, 2020
Nov 18, 2020
May 3, 2022
Apr 20, 2022
May 30, 2022
Nov 1, 2021
May 9, 2022
Aug 22, 2021
Dec 9, 2021
May 3, 2022
Dec 10, 2020
Sep 21, 2021
Apr 28, 2022
Sep 21, 2021
Nov 5, 2020
Nov 5, 2020
Aug 10, 2021
Mar 27, 2022
Mar 4, 2022
Feb 10, 2022
May 4, 2022
Aug 16, 2021
Aug 10, 2021
Aug 9, 2021
Nov 18, 2020
Jul 27, 2020
Apr 20, 2022
Nov 4, 2020
Nov 12, 2020
May 3, 2022

Repository files navigation

welsonjs

WelsonJS - Build a Windows desktop apps with JavaScript, HTML, and CSS based on WSH/HTA or GTK.

Buy me a coffee

Structure

Structure

Specifications

Included libraries

  • lib/std (Standard library)
  • lib/system (System library)
  • lib/base64 (BASE64 Encode and Decode)
  • lib/db (Database interface)
  • lib/file (File I/O interface)
  • lib/http (HTTP interface)
  • lib/json (JSON Encode and Decode)
  • lib/registry (Windows Registry interface)
  • lib/security (Security Policy interface)
  • lib/sendmail (Sendmail interface with 3rdparty)
  • lib/shell (Command Prompt interface)
  • lib/timer (setTimeout polyfills)
  • lib/powershell (Windows Powershell interface)
  • lib/service (Windows Service interface)
  • lib/oldbrowser (ES5/ES6, HTML/JS/CSS compatibility)
  • lib/uri (URI scheme interface)
  • lib/winlibs (Windows DLL(Dynamic-link library) interface)
  • lib/autohotkey (AutoHotkey interface)
  • lib/autoit (AutoIt3/AutoItX interface)
  • lib/shadowsocks (Shadowsocks interface)
  • lib/excel (Microsoft Excel interface)
  • lib/vbscript (VBScript interface)
  • lib/wintap (Windows-TAP interface)
  • lib/tun2socks (TUN2SOCKS interface)
  • lib/hosts (Hosts file interface)
  • lib/gtk (GTK/GladeXML server GUI interface)
  • lib/chrome (Chrome Web Browser Debugging interface)
  • lib/toolkit (WelsonJS.Toolkit native component)

Make your own sayhello example

1. Write a file lib/sayhello.js

exports.VERSIONINFO = "SayHello Library (sayhello.js) version 0.1
exports.global = global;
exports.require = global.require;

exports.say = function() {
    console.log("hello");
}

2. Write a file sayhello.js

var SayHello = require("lib/sayhello");

function main() {
    console.log("calling say()");
    SayHello.say();
    console.log("ended say()");
}

exports.main = main;

3. Execute file on the command prompt

C:\Users\John\Documents\GitHub\welsonjs> cscript app.js sayhello
calling say()
hello
ended say()

How to make your own setup file

  • Please check setup.iss file it could be compile with Inno Setup

Screenshots

Screenshot 1

Thanks!

Thanks 1

Related projects

Image stocks

Contact me

About

WelsonJS - Build Windows desktop apps with JavaScript, HTML, and CSS based on WSH/HTA or GTK.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 81.5%
  • CSS 17.2%
  • C# 0.5%
  • HTML 0.4%
  • Inno Setup 0.2%
  • Batchfile 0.1%
  • Other 0.1%