'ds' is a simple HTTP server written in pure PowerShell. The purpose of 'ds' is to host pages or simple Web application on the Windows machines without IIS and other heavy peripherals. Furthermore, 'ds' enables users to write EPS (PowerShell-embedded) HTML like erb or PHP files and render dynamic web pages with PowerShell.
- ds.ps1 (tcp listener)
- ds_lib.ps1 (req - resp parsing)
- eps.ps1 (EPS lib)
Start server:
PS> .\ds.ps1 [port]
Stop server: just shut down the PowerShell session/window.
- To solve the security warning when running scripts, try "set-executionpolicy bypass" which is easiest way.
Please feel free to test and bug reports are welcomed very much. Author email: eyaswoo@163.com