forked from luohy15/y-router
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtermsHtml.ts
More file actions
201 lines (170 loc) · 7.23 KB
/
termsHtml.ts
File metadata and controls
201 lines (170 loc) · 7.23 KB
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
import { faviconDataUrl } from './faviconServer';
export const termsHtml = `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Terms of Service - y-router</title>
<link rel="shortcut icon" type="image/svg+xml" href="${faviconDataUrl}">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: #333;
background: #f8f9fa;
padding: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
padding: 40px;
}
h1 {
color: #2c3e50;
margin-bottom: 10px;
font-size: 2.5em;
font-weight: 300;
}
.last-updated {
color: #6c757d;
margin-bottom: 30px;
font-size: 0.9em;
}
h2 {
color: #34495e;
margin-top: 30px;
margin-bottom: 15px;
font-size: 1.4em;
}
h3 {
color: #34495e;
margin-top: 20px;
margin-bottom: 10px;
font-size: 1.1em;
}
p, li {
margin-bottom: 10px;
color: #555;
}
ul {
padding-left: 20px;
}
.highlight {
background: #e3f2fd;
border-left: 4px solid #2196f3;
padding: 15px;
margin: 20px 0;
border-radius: 0 8px 8px 0;
}
.contact {
background: #f8f9fa;
border: 1px solid #dee2e6;
padding: 20px;
border-radius: 8px;
margin-top: 30px;
}
.nav {
text-align: center;
margin-bottom: 30px;
}
.nav a {
color: #3498db;
text-decoration: none;
margin: 0 15px;
padding: 5px 10px;
border-radius: 4px;
transition: background 0.3s;
}
.nav a:hover {
background: #e3f2fd;
}
.footer {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #dee2e6;
color: #6c757d;
font-size: 0.9em;
}
</style>
</head>
<body>
<div class="container">
<div class="nav">
<a href="/">Home</a>
<a href="/terms">Terms of Service</a>
<a href="/privacy">Privacy Policy</a>
</div>
<h1>Terms of Service</h1>
<div class="last-updated">Last updated: July 12, 2025</div>
<div class="highlight">
<strong>Important:</strong> By using y-router (cc.yovy.app), you acknowledge that this is a third-party service not affiliated with Anthropic, OpenAI, or OpenRouter. You use this service at your own risk.
</div>
<h2>1. Service Description</h2>
<p>y-router is an API translation service that converts requests between Anthropic's Claude API format and OpenAI-compatible API formats. The service acts as a proxy to enable compatibility between different API standards.</p>
<h2>2. Acceptance of Terms</h2>
<p>By accessing or using y-router, you agree to be bound by these Terms of Service. If you do not agree to these terms, you must not use the service.</p>
<h2>3. User Responsibilities</h2>
<h3>3.1 API Key Management</h3>
<ul>
<li>You must provide your own valid API keys for third-party services</li>
<li>You are solely responsible for the security and proper use of your API keys</li>
<li>You are responsible for all costs and usage associated with your API keys</li>
</ul>
<h3>3.2 Compliance</h3>
<ul>
<li>You must comply with all applicable laws and regulations</li>
<li>You must comply with the terms of service of all connected API providers</li>
<li>You must not use the service for illegal, harmful, or malicious purposes</li>
</ul>
<h2>4. Service Limitations</h2>
<ul>
<li>y-router is provided "as is" without warranties of any kind</li>
<li>Service availability is not guaranteed</li>
<li>We reserve the right to modify, suspend, or discontinue the service at any time</li>
<li>Rate limits and usage restrictions may apply</li>
</ul>
<h2>5. Data and Privacy</h2>
<ul>
<li>y-router processes requests in real-time and does not intentionally store user data</li>
<li>Requests are forwarded to third-party API providers according to their own privacy policies</li>
<li>You should review the privacy policies of all connected services</li>
</ul>
<h2>6. Limitation of Liability</h2>
<p>y-router, its operators, and contributors shall not be liable for any direct, indirect, incidental, special, or consequential damages resulting from the use or inability to use the service, including but not limited to:</p>
<ul>
<li>Data loss or corruption</li>
<li>Service interruptions</li>
<li>Cost overruns from API usage</li>
<li>Violations of third-party terms of service</li>
<li>Security breaches or unauthorized access</li>
</ul>
<h2>7. Indemnification</h2>
<p>You agree to indemnify and hold harmless y-router and its operators from any claims, damages, or expenses arising from your use of the service or violation of these terms.</p>
<h2>8. Third-Party Services</h2>
<p>y-router integrates with third-party API services. Your use of these services through y-router is subject to their respective terms of service and privacy policies. We are not responsible for the actions, policies, or content of third-party services.</p>
<h2>9. Intellectual Property</h2>
<p>y-router is open-source software. All trademarks, service marks, and logos used in connection with third-party services are the property of their respective owners.</p>
<h2>10. Modifications to Terms</h2>
<p>We reserve the right to modify these terms at any time. Continued use of the service after modifications constitutes acceptance of the updated terms.</p>
<h2>11. Termination</h2>
<p>We may terminate or suspend access to the service immediately, without prior notice or liability, for any reason, including if you breach these terms.</p>
<div class="contact">
<h3>Contact Information</h3>
<p>For questions about these Terms of Service, please contact us through the <a href="https://github.com/luohy15/y-router" target="_blank">GitHub repository</a>.</p>
</div>
<div class="footer">
<p>y-router is an independent, open-source project.<br>
Not affiliated with Anthropic, OpenAI, or OpenRouter.</p>
</div>
</div>
</body>
</html>`;