Jerry 0.2.1

dotnet tool install --global Jerry --version 0.2.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Jerry --version 0.2.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Jerry&version=0.2.1                
nuke :add-package Jerry --version 0.2.1                

Jerry

Jerry, a static web server based on ASP.NET Core

Install

You can choose either method to install Jerry

Compiled Binaries (AOT)

Download executable for your OS platform in Release, without installing .NET runtime.

.NET Tool

Requires .NET 8.0 SDK

dotnet tool install -g Jerry

Docker

docker pull ediwang/jerry

Usage

As .NET Tool or Standalone Executable

Options:
  -d, --directory <directory>  Web content directory. [default: .]
  -p, --port <port>            HTTP server port. [default: 8080]
  --directory-browser          Directory browser [default: False]
  -v, --verbose                Verbose log [default: False]
  --version                    Show version information
  -?, -h, --help               Show help and usage information

Example

jerry -d "E:\Workspace\wwwtest" --directory-browser

This will serve the content of E:\Workspace\wwwtest on port 8080, and enable directory browser.

image

As Docker Container

docker run -p 8080:8080 -v /some/wonderful/wwwtest:/wwwtest ediwang/jerry -d /wwwtest

免责申明

Jerry 及其配套组件均为免费开源的产品,仅用于学习交流,并且不直接向中国提供服务,中国访客请于下载后立即删除。

任何中国境内的组织及个人不得使用 Jerry 及其配套组件构建任何形式的面向中国境内访客的网站或服务。

不可用于任何违反中华人民共和国(含台湾省)或使用者所在地区法律法规的用途。

因为作者即本人仅完成代码的开发和开源活动(开源即任何人都可以下载使用),从未参与访客的任何运营和盈利活动。

且不知晓访客后续将程序源代码用于何种用途,故访客使用过程中所带来的任何法律责任即由访客自己承担。

《开源软件有漏洞,作者需要负责吗?是的!》

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.2.1 75 11/13/2024
0.1.3 1,695 11/18/2023
0.1.2 1,624 11/18/2023
0.1.1 1,418 11/16/2023
0.1.0 1,445 11/16/2023