{"id":13437533,"url":"https://github.com/wyhaya/see","last_synced_at":"2025-09-18T02:33:57.697Z","repository":{"id":36498020,"uuid":"174645485","full_name":"wyhaya/see","owner":"wyhaya","description":"Simple and fast Web server","archived":false,"fork":false,"pushed_at":"2024-03-04T21:35:23.000Z","size":197,"stargazers_count":212,"open_issues_count":8,"forks_count":19,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-01-04T04:09:10.006Z","etag":null,"topics":["http","rust","server","static-server","web"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wyhaya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-09T03:54:50.000Z","updated_at":"2024-12-14T06:51:37.000Z","dependencies_parsed_at":"2024-06-19T02:52:51.516Z","dependency_job_id":"ad12f28a-eff5-4b9a-8297-a444a55aa121","html_url":"https://github.com/wyhaya/see","commit_stats":{"total_commits":59,"total_committers":6,"mean_commits":9.833333333333334,"dds":"0.35593220338983056","last_synced_commit":"b4dd0d2ff09aa18ff4a976f7d29f920bcc1d5f57"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyhaya%2Fsee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyhaya%2Fsee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyhaya%2Fsee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyhaya%2Fsee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wyhaya","download_url":"https://codeload.github.com/wyhaya/see/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233441977,"owners_count":18676778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","rust","server","static-server","web"],"created_at":"2024-07-31T03:00:58.065Z","updated_at":"2025-09-18T02:33:52.388Z","avatar_url":"https://github.com/wyhaya.png","language":"Rust","funding_links":[],"categories":["Applications","应用程序 Applications","应用","http","应用 Applications"],"sub_categories":["Web Servers","Web服务器 Web Servers","Web 服务器","网络服务端 Web Servers"],"readme":"# see\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/wyhaya/see/ci.yml?style=flat-square\u0026branch=main)](https://github.com/wyhaya/see/actions)\n[![Crates.io](https://img.shields.io/crates/v/see.svg?style=flat-square)](https://crates.io/crates/see)\n[![LICENSE](https://img.shields.io/crates/l/see.svg?style=flat-square)](LICENSE)\n[![Document](https://img.shields.io/badge/config-document-success.svg?style=flat-square)](docs/)\n\n\u003e [!WARNING]  \n\u003e * !!! This project contains severe bugs\n\u003e * !!! No plans for fixes or patches\n\u003e * !!! DO NOT use it in any environment\n\n## Overview\n\nSimple and fast web server as a single executable with no extra dependencies\nrequired.\n\n## Features\n\n- Built with [Tokio](https://github.com/tokio-rs/tokio) and\n  [Hyper](https://github.com/hyperium/hyper)\n- TLS encryption through [Rustls](https://github.com/ctz/rustls)\n- `HTTP/1` and `HTTP/2` support\n- Content compression `auto`, `gzip`, `deflate` or `br`\n- Rewrite rules for redirection\n- Allow/deny addresses allowing wildcards\n- Location with [regex](https://en.wikipedia.org/wiki/Regular_expression)\n  matching\n- Reverse proxy\n- Basic authentication\n- Error handling\n- Customized logs\n- And more\n\n## Usage\n\nQuick start in current directory:\n\n```bash\nsee start\n```\n\nor specify the port and directory via parameters:\n\n```bash\nsee start -b 80 -p /root/www\n```\n\nAlso, you can use `see -c [FILE]` to specify a configuration file or just use\nthe default one in `~/.see.conf`. Below, a simple configuration example to start\nthe HTTPS server:\n\n```sh\nserver {\n    listen 80\n    root /root/www\n}\n\nserver {\n    listen 443\n    root /root/www\n    host example.com\n    https {\n        key ./ssl.key\n        cert ./ssl.pem\n    }\n}\n```\n\n## Documentation\n\nThe documentation is available at [docs/](docs/). Take a look at it to get more\ninformation about more configuration options.\n\n## Installation\n\nDownload the compiled executable corresponding to your system from the\n[release page](https://github.com/wyhaya/see/releases).\n\n### Cargo\n\n```bash\ncargo install see\n# or\ncargo install --git https://github.com/wyhaya/see\n```\n\n### Docker\n\n```bash\ndocker pull wyhaya/see\n```\n\n#### Container\n\nAdd the following to `see.conf`:\n\n```sh\nserver {\n    listen 80\n    echo Hello, world!\n}\n```\n\nand run the container:\n\n```bash\ndocker run -idt --name see -p 80:80 -p 443:443 -v '$PWD'/see:/ wyhaya/see\n```\n\nlastly, open the link \u003chttp://localhost\u003e and you should see `Hello, world!`.\n\n## Licensing\n\n`see` is released under MIT license. Check the [LICENSE](LICENSE) file for\nmore details.\n\n---\n\n## ToDo\n\n- [ ] Fix docker container (ubuntu, ca-certificates)\n- [ ] Fix the bug of matching https and http on the same port\n- [ ] Support global configuration\n- [ ] Support certificate with password\n- [ ] Daemon for Unix systems and service for Windows\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyhaya%2Fsee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwyhaya%2Fsee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyhaya%2Fsee/lists"}