All Projects → wyhaya → See

wyhaya / See

Licence: mit
Simple and fast web server

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to See

Jsonrpcserver
Process JSON-RPC requests in Python
Stars: ✭ 126 (-6.67%)
Mutual labels:  server
Nano
Lightweight, facility, high performance golang based game server framework
Stars: ✭ 1,888 (+1298.52%)
Mutual labels:  server
Spreadsheet server
A python server harnessing the calculational ability of LibreOffice Calc (thanks to 'pyoo'). It provides 'instant' access to the cell ranges of a set of spreadsheets.
Stars: ✭ 132 (-2.22%)
Mutual labels:  server
Flock
Automated deployment of Swift projects to servers
Stars: ✭ 127 (-5.93%)
Mutual labels:  server
Old
每天大红包 · 旧版(不再维护,仅供参考)
Stars: ✭ 1,611 (+1093.33%)
Mutual labels:  server
Ardb
A redis protocol compatible nosql, it support multiple storage engines as backend like Google's LevelDB, Facebook's RocksDB, OpenLDAP's LMDB, PerconaFT, WiredTiger, ForestDB.
Stars: ✭ 1,707 (+1164.44%)
Mutual labels:  server
Http Server
a simple zero-configuration command-line http server
Stars: ✭ 11,280 (+8255.56%)
Mutual labels:  server
Luna
A highly scalable and efficient Runescape server. Targets revision #317
Stars: ✭ 133 (-1.48%)
Mutual labels:  server
Stocazzo
Stocazzo As A Service
Stars: ✭ 129 (-4.44%)
Mutual labels:  server
Health
Laravel Health Panel
Stars: ✭ 1,774 (+1214.07%)
Mutual labels:  server
Ocpp
Python implementation of the Open Charge Point Protocol (OCPP).
Stars: ✭ 127 (-5.93%)
Mutual labels:  server
Docker Vlmcsd
vlmcsd is a replacement for Microsoft's KMS server.
Stars: ✭ 128 (-5.19%)
Mutual labels:  server
Express Env Example
A sample express environment that is well architected for scale. Read about it here:
Stars: ✭ 130 (-3.7%)
Mutual labels:  server
Server Go
🎨OpenIoTHub Server[内网穿透和物联网设备管理服务器]
Stars: ✭ 127 (-5.93%)
Mutual labels:  server
Jstp
Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
Stars: ✭ 132 (-2.22%)
Mutual labels:  server
Hydra
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Compatible with MITREid.
Stars: ✭ 11,884 (+8702.96%)
Mutual labels:  server
Armor
Uncomplicated, modern HTTP server
Stars: ✭ 1,629 (+1106.67%)
Mutual labels:  server
Orderly
Ordered process (re)start, shutdown, and supervision.
Stars: ✭ 134 (-0.74%)
Mutual labels:  server
Practical Server Side Swift
Vapor 4 code samples for the Practical Server Side Swift book
Stars: ✭ 133 (-1.48%)
Mutual labels:  server
Compose Server Side
Experiment with server side rendering using compose and ktor
Stars: ✭ 131 (-2.96%)
Mutual labels:  server

see

GitHub Workflow Status Crates.io LICENSE Document

Overview

Simple and fast web server as a single executable with no extra dependencies required.

Features

  • Built with Tokio and Hyper
  • TLS encryption through Rustls
  • HTTP/1 and HTTP/2 support
  • Content compression auto, gzip, deflate or br
  • Rewrite rules for redirection
  • Allow/deny addresses allowing wildcards
  • Location with regex matching
  • Reverse proxy
  • Basic authentication
  • Error handling
  • Customized logs
  • And more

Usage

Quick start in current directory:

see start

or specify the port and directory via parameters:

see start -b 80 -p /root/www

Also, you can use see -c [FILE] to specify a configuration file or just use the default one in ~/.see.conf. Below, a simple configuration example to start the HTTPS server:

server {
    listen 80
    root /root/www
}

server {
    listen 443
    root /root/www
    host example.com
    https {
        key ./ssl.key
        cert ./ssl.pem
    }
}

Documentation

The documentation is available at docs/. Take a look at it to get more information about more configuration options.

Installation

Download the compiled executable corresponding to your system from the release page.

Cargo

cargo install see
# or
cargo install --git https://github.com/wyhaya/see

Docker

docker pull wyhaya/see

Container

Add the following to see.conf:

server {
    listen 80
    echo Hello, world!
}

and run the container:

docker run -idt --name see -p 80:80 -p 443:443 -v '$PWD'/see:/ wyhaya/see

lastly, open the link http://localhost and you should see Hello, world!.

Licensing

see is released under MIT license. Check the LICENSE file for more details.


ToDo

  • [ ] Fix docker container (ubuntu, ca-certificates)
  • [ ] Fix the bug of matching https and http on the same port
  • [ ] Support global configuration
  • [ ] Support certificate with password
  • [ ] Daemon for Unix systems and service for Windows
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].