Attributes
Includes Deno configuration
Repository
Current version released
8 months ago
Dependencies
deno.land/x
Lethean Server
Clientside PWA server written using Danet and Deno
This server is designed to be a secure and private server for running PWA’s and other services.
Install
deno install -A -f -n lthn --unstable https://deno.land/x/lthn/mod.ts
Features
- Static File Server
- Filesystem Service
- Download Service
- Process Manager
- Process stdIn/stdOut ZeroMQ WebSocket
- OpenPGP / CryptPkcs8 / QuasiSalt
- Json object store
-
.ini
service - handlebars based Config file generator
- Package manager to install 3rd party apps
- Docker container control
- REST API
- Websocket API
Development setup
Install (Automatic)
Install Deno (Manual not needed if using Makefile)
Linux/MacOS:curl -fsSL https://deno.land/install.sh | sh
PowerShell(Windows): irm https://deno.land/install.ps1 | iex
Homebrew (Mac): brew install deno
git clone https://github.com/dAppServer/server.git
cd server
make run
Deno Tasks
deno task dev-server
deno task test
deno task compile
deno task compile-lin
deno task compile-lin-arm
deno task compile-mac
deno task compile-mac-m1
deno task compile-win
Make commands
make build-linux Build binary for Linux
make build-macos-arm Build binary for macOS Arm
make build-macos Build binary for macOS Intel
make build-windows Build binary for Windows x86_64
make build Build binary for the host machine
make fmt Format code
make help Show this help
make run Run Server
make test-apps Run Testsuite: apps
make test-auth Run Testsuite: Auth
make test-crypt Run Testsuite: Crypt
make test-docker Run Testsuite: Docker
make test-io Run Testsuite: IO
make test-rest Run Testsuite: REST
make test-xmrig Run Testsuite: xmrig
make test Run full testsuite
make vendor Update Vendor bundle