Code Monkey home page Code Monkey logo

rws's Introduction

rws

rws โ€” fast, reliable and secure webserver.

Fast. Compiled to native binary for maximum performance.

Reliable. Does not rely on garbage collector, no performance degradation.

Secure. Provides read-only access to files, eliminating most of the attacks.

Download

Download binary from Google Drive.

Installation

Open INSTALL for details.

Configuration

Open CONFIGURE for details.

Frequently Asked Questions

Open FAQ for details.

Documentation

Open documentation for details.

Development

Open DEVELOPER for details.

Community

Use GitHub discussions, issues and pull requests.

There is Rust Web Server Discord where you can ask questions and share ideas.

Follow the Rust code of conduct.

Features

  1. Cross-Origin Resource Sharing (CORS). Allowing resources to be used on other domains can be crucial for providing APIs and services. Knowing how cumberstone and difficult is the process to setup the CORS, server ships with CORS enabled to all requests by default.
  2. HTTP Range Requests. Server supports requests for the part of the file, or several different parts of the file.
  3. HTTP Client Hints. Proactively asking client browser for suitable additional information about the system.
  4. X-Content-Type-Options set to nosniff, prevents from MIME type sniffing attacks.
  5. X-Frame-Options. Site is not allowed to be embedded into iframe on other domains.
  6. Symlinks. You can have symlinks in your folder and they will be resolved correctly.
  7. Caching done right. It means no caching and therefore no outdated uncontrollable resources.
  8. Resolving .html files without .html in path. It means if you try to open /some-html-file it will open file some-html-file.html and won't show 404 not found error. Same applies for folders. If you try to open /folder it will open file folder/index.html
  9. Extensive logging. It means server prints the request-response pairs as they are so you can see all the details like request method, path, version and headers.
  10. No third party dependencies.

Donations

PayPal page to send donations, so I can buy some whole plant food, or open vinyl pressing facility or spend my time snowboarding, whatever.

Links

  1. Rust TLS Server
  2. http-to-https-letsencrypt
  3. Rust Web Framework
  4. crypto-ext
  5. file-ext

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.