{"id":22606256,"url":"https://github.com/w-sodalite/satex","last_synced_at":"2025-04-11T05:15:26.314Z","repository":{"id":215596759,"uuid":"739245132","full_name":"w-sodalite/satex","owner":"w-sodalite","description":"一个轻量级、高性能的HTTP网关，使用Rust语言开发，项目灵感来自于Spring Cloud Gateway","archived":false,"fork":false,"pushed_at":"2025-04-09T03:03:21.000Z","size":382,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T05:15:21.486Z","etag":null,"topics":["actix","api-gateway","tokio","tower"],"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/w-sodalite.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":"2024-01-05T05:27:24.000Z","updated_at":"2025-04-09T03:03:15.000Z","dependencies_parsed_at":"2024-04-30T07:28:55.052Z","dependency_job_id":"8afc5a2b-b3b2-41c3-ab42-46f2f346092f","html_url":"https://github.com/w-sodalite/satex","commit_stats":null,"previous_names":["w-sodalite/satex"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-sodalite%2Fsatex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-sodalite%2Fsatex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-sodalite%2Fsatex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-sodalite%2Fsatex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w-sodalite","download_url":"https://codeload.github.com/w-sodalite/satex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345268,"owners_count":21088245,"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":["actix","api-gateway","tokio","tower"],"created_at":"2024-12-08T14:12:59.190Z","updated_at":"2025-04-11T05:15:26.287Z","avatar_url":"https://github.com/w-sodalite.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Satex\n\n[![Build Status](https://github.com/w-sodalite/satex/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/w-sodalite/satex/actions/workflows/rust.yml)\n[![Crates.io](https://img.shields.io/crates/v/satex)](https://crates.io/crates/satex)\n\n一个轻量级、高性能的HTTP网关，使用Rust语言开发，项目灵感来自于`Spring Cloud Gateway`。\n\n\u003e NOTICE(🫡): v0.3版本将以前的代码完全重构，有一些v0.2的功能暂时还未完全实现，目前也在积极开发中。\n\n## 初衷\n\n因为学习Rust有一段时间了，但是平时上主要用的是Java，刚好最近维护的公司的网关(基于`Spring Cloud Gateway`)\n有些性能问题，想着能不能使用Rust来开发一个和`Spring Cloud Gateway`差不多的网关。\n然后就开发了这个项目。所以如果熟悉`Spring Cloud Gateway`，配置文件应该看着会比较熟悉。秉承能复用社区生态绝不重复造轮子，\n所以项目中使用了大量开源的组件，比如`actix-net`、`rustls`、`hyper`等。(不得不说，rust的生态真不错!😍)\n\n## 特性\n\n- 异步IO\n- thread-per-core线程模型\n- TLS支持\n- 动态路由\n- 丰富的路由组件以及灵活的路由配置\n- 兼容[tower](https://crates.io/crates/tower)和[tower-http](https://crates.io/crates/tower-http)的生态，包括中间件、服务和工具等。\n\n## 实现\n\n| 组件     | 实现                                                                                        |\n|--------|-------------------------------------------------------------------------------------------|\n| 异步运行时  | [tokio](https://github.com/tokio-rs/tokio)                                                |\n| 网络     | [actix-net](https://github.com/actix/actix-net)                                           |\n| TLS    | [rustls](https://github.com/rustls/rustls)                                                |\n| HTTP协议 | [hyper](https://github.com/hyperium/hyper)                                                |\n| 中间件    | [tower](https://crates.io/crates/tower) [tower-http](https://crates.io/crates/tower-http) |\n\n## 运行\n\n```shell\n# 使用当前目录的satex.yaml文件\ncargo run \n```\n\n```shell\n# 指定配置文件路径\ncargo run -- -c ./satex.yaml\n```\n\n## 文档\n\nTODO\n\n## License\n\nThis project is licensed under the [MIT license](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-sodalite%2Fsatex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw-sodalite%2Fsatex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-sodalite%2Fsatex/lists"}