descriptionSVR.JS - a web server running on Node.JS
homepage URLhttps://svrjs.org
repository URLhttps://git.svrjs.org/svrjs.git
ownerwebmaster@svrjs.org
last changeThu, 13 Feb 2025 12:53:06 +0000 (13 13:53 +0100)
last refreshWed, 26 Mar 2025 13:28:12 +0000 (26 14:28 +0100)
content tags
README.md

SVR.JS - a web server running on Node.js
It's free as in freedom, scalable, secure, and configurable.

Static Badge Website Docker Pulls GitHub Repo stars X (formerly Twitter) Follow Mastodon Follow


Features

Static file handling

Security

Configuration and customization

Compression and content delivery

Authentication and access control

Gateway interfaces

Additional functionality

Building SVR.JS

To build SVR.JS, you need Node.js 18.0.0 or newer.

Before building SVR.JS, install the npm packages using this command:

npm install

After installing the packages, build SVR.JS with this command:

npm run build

After running the command, you will get bundled SVR.JS script, around with built-in utilities and assets in the dist directory. You will also get a zip archive in out directory, that can be installed using SVR.JS installer. Additionally, you will get the SVR.JS Core package contents in the core directory, which you can publish by running npm publish in the core directory.

Installation (built from source)

To install SVR.JS you just built from the source code, you can install it via SVR.JS installer for GNU/Linux or manually.

If you want to install SVR.JS manually, you can read the server documentation.

If you want to install via SVR.JS installer for GNU/Linux, run this command:

curl -fsSL https://downloads.svrjs.org/installer/svr.js.installer.linux.20240509.sh > /tmp/installer.sh && sudo bash /tmp/installer.sh

You will be then prompted about the type of installation. Choose option “2” to install SVR.JS from the zip archive, and type in the path to the zip archive (hint: it is in the out directory).

After typing the path, you may be prompted to install dependencies via GNU/Linux distribution’s package manager. Proceed with the installation of dependencies.

After installation, SVR.JS should be listening at http://localhost.

SVR.JS documentation

You can read the SVR.JS documentation to get information on how to use SVR.JS.

npm scripts

Contribute

See SVR.JS contribution page for details.

License

This project is licensed under the MIT/X11 License - see the LICENSE file for details.

shortlog
2025-02-13 Dorian Niemiecchore: update dependencies to latest versionsmain
2025-02-09 Dorian Niemiecfix: correct the error description for 416 status code
2025-01-28 Dorian Niemiecfix: disable legacy server-side JavaScript in webroot...
2025-01-27 Dorian Niemiecfix: make "users" property configurable in virtual...
2025-01-27 Dorian Niemiecfix: check for PBKDF2 hashes in users in virtual hosts too
2025-01-26 Dorian Niemiecfeat: introduce more secure and faster defaults for...
2025-01-24 Dorian Niemiecfix: make non-standard codes and HTTP to HTTPS redirect...
2025-01-23 Dorian Niemiectest: make the non-standard code consistent in two...
2025-01-23 Dorian Niemiecchore: update dependencies to latest versions
2025-01-23 Dorian Niemiecfeat: add global-only configuration property validation
2025-01-23 Dorian NiemiecRevert "perf: generate the server string before calling... HEAD
2025-01-23 Dorian Niemiecrefactor: remove zlib.createBrotliCompress error check...
2025-01-21 Dorian Niemiecfix: fix Punycode deprecation warning by replacing...
2025-01-18 Dorian Niemiecperf: add the URL sanitizer cache
2025-01-18 Dorian Niemiecrefactor: optimize the function for obtaining the non...
2025-01-18 Dorian Niemiecchore: update dependencies to latest versions
...
tags
10 months ago 4.5.0
10 months ago 4.4.0
11 months ago 4.3.0
11 months ago 4.2.0
12 months ago 4.1.0
12 months ago 4.0.2
13 months ago 4.0.1
13 months ago 4.0.0+fixedextraction
13 months ago 4.0.0
14 months ago 4.0.0-beta3
14 months ago 4.0.0-beta2
14 months ago 4.0.0-beta1
14 months ago 3.15.7
14 months ago 3.15.6
16 months ago 3.15.5
17 months ago 3.15.4
...
heads
8 months ago main
9 months ago HEAD
9 months ago next
10 months ago stable
10 months ago lts
14 months ago beta
14 months ago stable-3.x
14 months ago main-3.x
19 months ago simpleserve-aprilfools