WebCode is an offline Electron code editor for learning and building small web applications with HTML, CSS, and JavaScript.
The project is intentionally focused: write code, preview it safely, run simple validation tests, save a project, and learn through an approachable desktop workflow.
WebCode is under active development. The repository has automated validation and cross-platform installer builds, but release artifacts are currently unsigned. Use the latest GitHub release for packaged builds and main for the current development version.
- HTML, CSS, and JavaScript editors powered by Ace.
- Sandboxed live preview.
- Simple JavaScript validation tests.
- Local project save and load as JSON.
Ctrl+Enter/Cmd+Enterto run code.Ctrl+S/Cmd+Sto save a project.- Desktop preview window.
- Offline desktop assets; no runtime CDN dependency.
- Windows NSIS installer, macOS DMG, Linux AppImage, and Linux
.debbuild targets.
Download the latest installer from the Releases page.
The Windows NSIS installer registers WebCode with Windows and includes the normal uninstall entry. The uninstaller is generated by Electron Builder as part of the Windows installation; it is not a separate manually maintained application.
Release artifacts are currently unsigned. Windows SmartScreen or macOS Gatekeeper may show a warning until code signing and notarization are configured.
Requirements:
- Git
- Node.js 22 or a compatible current LTS release
- npm
git clone https://github.com/Louis2324/WebCode.git
cd WebCode
npm ci
npm startFor live development:
npm run devBuild a local installer for the current platform:
npm run packageRun the repository checks:
node --check main.js
node --check preload.js
node --check menu.js
node --check dist/script.js
npm testGitHub Actions validates every pull request and every push to main. The CI workflow installs dependencies, validates package metadata, checks JavaScript syntax, runs tests when available, and builds an unpacked Electron bundle.
The release workflow runs only for version tags matching v*.*.*. Before building, it verifies that the tag matches package.json. It then builds these artifacts in parallel:
- Windows x64 and ARM64 NSIS installers.
- macOS x64 and ARM64 DMG and ZIP packages.
- Linux x64 and ARM64 AppImage and
.debpackages.
The workflow collects the artifacts, generates SHA256SUMS.txt, and publishes a GitHub Release with generated notes. Signing and notarization are intentionally disabled until the required repository secrets and certificates are configured.
main.js Electron main process
preload.js Secure renderer bridge
menu.js Application menu
dist/ Renderer assets and bundled Ace files
assets/ Application icons and build resources
.github/workflows/ Validation and packaging automation
.github/ISSUE_TEMPLATE/ Structured issue forms
Read CONTRIBUTING.md before opening a pull request. Use feature/, fix/, or docs/ branch names.
Please follow the Code of Conduct. Security vulnerabilities should be reported privately according to SECURITY.md.
WebCode is released under the ISC License.