-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
319 lines (263 loc) · 13.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<!DOCTYPE html>
<html lang="zh">
<head>
<title>Melody API Getaway</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="manifest" href="manifest.json">
<link rel="shortcut icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Nunito:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/jquery.fancybox.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body data-spy="scroll" data-target=".site-navbar-target" data-offset="300">
<div id="overlayer"></div>
<div class="loader">
<div class="spinner-border text-primary" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
<div class="site-wrap" id="home-section" style="overflow: hidden;">
<div class="site-mobile-menu site-navbar-target">
<div class="site-mobile-menu-header">
<div class="site-mobile-menu-close mt-3">
<span class="icon-close2 js-menu-toggle"></span>
</div>
</div>
<div class="site-mobile-menu-body"></div>
</div>
<header class="site-navbar py-4 js-sticky-header site-navbar-target" role="banner">
<div class="container">
<div class="row align-items-center">
<div class="col-6 col-md-3 col-xl-4 d-block">
<h1 class="mb-0 site-logo">
<a href="index.html" class="text-black h2 mb-0">
Melody
<span class="text-primary">.</span>
</a>
</h1>
</div>
<div class="col-12 col-md-9 col-xl-8 main-menu">
<nav class="site-navigation position-relative text-right" role="navigation">
<ul class="site-menu main-menu js-clone-nav mr-auto d-none d-lg-block ml-0 pl-0">
<li><a href="#home-section" class="nav-link">开始</a></li>
<li><a href="#features-section" class="nav-link">特性</a></li>
<li><a href="#about-section" class="nav-link">关于</a></li>
<li><a href="https://granty1.github.io/melody-docs/" class="nav-link">文档</a></li>
<li><a target="blank" href="https://granty1.github.io/melody-config/" class="nav-link">可视化配置</a></li>
<li><a href="https://github.com/granty1/melody" class="nav-link">开源</a></li>
</ul>
</nav>
</div>
<div class="col-6 col-md-9 d-inline-block d-lg-none ml-md-0" ><a href="#" class="site-menu-toggle js-menu-toggle text-black float-right"><span class="icon-menu h3"></span></a></div>
</div>
</div>
</header>
<div class="site-blocks-cover" style="overflow: hidden;">
<div class="container">
<div class="row align-items-center justify-content-center">
<div class="col-md-12" style="position: relative;" data-aos="fade-up" data-aos-delay="200">
<!-- <img src="images/undraw_investing_7u74.svg" alt="Image" class="img-fluid img-absolute"> -->
<img src="images/img-1.png" alt="Image" class="img-fluid img-absolute">
<div class="row mb-4" data-aos="fade-up" data-aos-delay="200">
<div class="col-lg-6 mr-auto">
<h1>简易高效的API网关</h1>
<p class="mb-5"><span class="text-primary">Melody</span>是一个强大的引擎,它可以 转换 、 聚合 或从您自己或第三方服务中处理数据。还实现了前端和微前端模式的后端,以消除处理多个REST服务的必要性,将客户机与微服务实现细节隔离开来。</p>
<div>
<a href="https://github.com/granty1/melody/releases/tag/v1.0.0" class="btn btn-primary mr-2 mb-2">Get Melody 1.0</a>
<a href="https://github.com/granty1/melody" class="btn btn-info mr-2 mb-2">Clone in Github</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="site-section" id="features-section">
<div class="container">
<div class="row mb-5 justify-content-center text-center" data-aos="fade-up">
<div class="col-7 text-center mb-5">
<h2 class="section-title">支持特性</h2>
<p class="lead"><span class="text-primary">Melody</span>的核心功能是创建一个API,该API充当许多微服务到单个端点的聚合器,为您自动完成繁重的工作。</p>
</div>
</div>
<div class="row align-items-stretch">
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4" data-aos="fade-up">
<div class="unit-4 d-block">
<div class="unit-4-icon mb-3">
<span class="icon-wrap"><span class="text-primary icon-autorenew"></span></span>
</div>
<div>
<h3>内容转码</h3>
<p>Melody可以使用多种内容编码类型,包括:json、string、noop、rss、yaml、xml,甚至许客户端通过解析其Accept标头进行选择。</p>
<p><a href="#">Learn More</a></p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4" data-aos="fade-up" data-aos-delay="100">
<div class="unit-4 d-block">
<div class="unit-4-icon mb-3">
<span class="icon-wrap"><span class="text-primary icon-merge_type"></span></span>
</div>
<div>
<h3>数据聚合</h3>
<p>Melody允许你将多个不同编码的服务响应直接操作,包括:数据合并、筛选、过滤、分组、映射,同时也提供对数组元素的属性操作的支持。</p>
<p><a href="#">Learn More</a></p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4" data-aos="fade-up" data-aos-delay="200">
<div class="unit-4 d-block">
<div class="unit-4-icon mb-3">
<span class="icon-wrap"><span class="text-primary icon-language2"></span></span>
</div>
<div>
<h3>流量控制</h3>
<p>通过简单配置,即可自定义流量控制阈值、流量控制方式,分层细化配置规则,使控制更加严谨,同时可以指定从IP限定或者请求头限定。</p>
<p><a href="#">Learn More</a></p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4" data-aos="fade-up">
<div class="unit-4 d-block">
<div class="unit-4-icon mb-3">
<span class="icon-wrap"><span class="text-primary icon-timeline"></span></span>
</div>
<div>
<h3>顺序代理</h3>
<p>网关大部分从不同的后端同时获取所有数据,但有时您需要延迟后端调用,直到注入上一个调用的结果为止。顺序代理允许您链接后端请求。</p>
<p><a href="#">Learn More</a></p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4" data-aos="fade-up" data-aos-delay="100">
<div class="unit-4 d-block">
<div class="unit-4-icon mb-3">
<span class="icon-wrap"><span class="text-primary icon-library_books"></span></span>
</div>
<div>
<h3>日志处理</h3>
<p>日志一直是个头疼的问题,Melody本身提供了默认终端输出、syslog输出,同时也做了与类似graylog这样的服务的集成,方便您管理和查看。</p></p></p>
<p><a href="#">Learn More</a></p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4 mb-lg-4" data-aos="fade-up" data-aos-delay="200">
<div class="unit-4 d-block">
<div class="unit-4-icon mb-3">
<span class="icon-wrap"><span class="text-primary icon-lock"></span></span>
</div>
<div>
<h3>安全机制</h3>
<p>针对网关本身,Melody实现了集中安全策略,包括:主机白名单、点劫持保护、MIME嗅探预防、XSS防护,同时允许HSTS,未来将集成OAuth2。</p>
<p><a href="#">Learn More</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="feature-big">
<div class="container">
<div class="row mb-5 site-section">
<div class="col-lg-7" data-aos="fade-right">
<img src="images/undraw_gift_card_6ekc.svg" alt="Image" class="img-fluid">
</div>
<div class="col-lg-5 pl-lg-5 ml-auto mt-md-5">
<h2 class="text-black">自动生成有向图</h2>
<p class="mb-4">根据配置文件,Melody可以帮你生成有向图查看配置参考</p></p>
<div data-aos="fade-left">
<img src="images/config.png" alt="config.png" width="350px" height="170px">
</div>
</div>
</div>
<div class="mt-5 row mb-5 site-section ">
<div class="col-lg-5 order-1 order-lg-2" data-aos="fade-left">
<img src="images/undraw_metrics_gtu7.svg" alt="Image" class="img-fluid">
</div>
<div class="col-lg-7 pr-lg-5 mr-auto mt-5 order-2 order-lg-1">
<h2 class="text-black">可视化配置</h2>
<p class="mb-4">所有Melody端点配置都存储在json配置文件中。您可以手动编辑此文件,也可以使用Melody可视化设计工具直观地设计API接口。</p>
<div class="author-box" data-aos="fade-right">
<!-- <div class="d-flex mb-4"> -->
<div class="mr-auto text-black">
<strong class="font-weight-bold mb-0">5分钟即可上手</strong>
</div>
<!-- </div> -->
<blockquote>“不喜欢编辑文本文件吗?没问题,使用<a target="blank" href="https://granty1.github.io/melody-config/">可视化的配置方式</a>”</blockquote>
</div>
</div>
</div>
</div>
</div>
<div class="site-section bg-light" id="about-section">
<div class="container">
<div class="row mb-5">
<div class="col-12 text-center">
<h2 class="section-title mb-3">关于我们</h2>
</div>
</div>
<div class="row mb-5">
<div class="col-lg-6" data-aos="fade-right">
<img src="images/undraw_bookmarks_r6up.svg" alt="Image" class="img-fluid">
</div>
<div class="col-lg-5 ml-auto pl-lg-5">
<h2 class="text-black mb-4 h3 font-weight-bold">Melody 团队</h2>
<p class="mb-4">Melody通过消除SOA体系结构的所有复杂性,同时提供独特的性能,来帮助应用程序开发人员快速发布功能。</p>
<ul class="ul-check mb-5 list-unstyled success">
<li>更快、更好、更高效</li>
<li>开源贡献</li>
<li>欢迎加入我们</li>
</ul>
<p><a href="#" class="btn btn-primary">了解更多</a></p>
</div>
</div>
</div>
</div>
<div class="footer py-5 text-center">
<div class="container">
<div class="row mb-5">
<div class="col-12">
<p class="mb-0">
<a href="#" class="p-3"><span class="icon-wechat"></span></a>
<a href="#" class="p-3"><span class="icon-qq"></span></a>
<a href="https://github.com/granty1" class="p-3"><span class="icon-github"></span></a>
<a href="#" class="p-3"><span class="icon-weibo"></span></a>
</p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<p class="mb-0">
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="icon-heart text-danger" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank" >Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</p>
</div>
</div>
</div>
</div>
</div> <!-- .site-wrap -->
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.countdown.min.js"></script>
<script src="js/bootstrap-datepicker.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.fancybox.min.js"></script>
<script src="js/jquery.sticky.js"></script>
<script src="js/main.js"></script>
</body>
</html>