-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
364 lines (343 loc) · 22 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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SMSGate - Private & Secure SMS Gateway for Android</title>
<link rel="stylesheet" href="style.css">
<script>
function copyCode(element) {
const code = element.previousElementSibling.textContent;
navigator.clipboard.writeText(code).then(() => {
const button = element;
const originalText = button.textContent;
button.textContent = 'Copied!';
setTimeout(() => {
button.textContent = originalText;
}, 2000);
});
}
</script>
</head>
<body>
<header>
<nav>
<div class="container">
<a href="https://sms-gate.app" class="logo">
<svg viewBox="0 0 24 24" width="24" height="24">
<path fill="currentColor"
d="M20,2H4A2,2 0 0,0 2,4V22L6,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2M20,16H6L4,18V4H20" />
</svg>
SMSGate
</a>
<div class="nav-links">
<a href="https://docs.sms-gate.app">Documentation</a>
<a href="https://github.com/capcom6/android-sms-gateway">GitHub</a>
</div>
</div>
</nav>
</header>
<main>
<section class="hero">
<div class="container">
<h1>Your Trusted SMS Gateway</h1>
<p class="subtitle">A secure, open-source solution for sending and receiving SMS messages via Android
devices. No registration, email, or phone number required - just install and use.</p>
<div class="cta-buttons">
<a href="https://github.com/capcom6/android-sms-gateway/releases/latest/download/app-release.apk"
class="button primary">
<svg viewBox="0 0 24 24" width="24" height="24">
<path fill="currentColor"
d="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z" />
</svg>
Download App
</a>
<a href="https://docs.sms-gate.app/getting-started" class="button secondary">Get Started</a>
</div>
</div>
</section>
<section class="features">
<div class="container">
<h2>Key Features</h2>
<div class="feature-grid">
<div class="feature-card">
<svg viewBox="0 0 24 24" width="48" height="48">
<path fill="currentColor"
d="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1Z" />
</svg>
<h3>Privacy First</h3>
<p>No registration, email, or phone number required. The app doesn't store any user data more
than necessary outside of your infrastructure.</p>
</div>
<div class="feature-card">
<svg viewBox="0 0 24 24" width="48" height="48">
<path fill="currentColor"
d="M12,16L19.36,10.27L21,9L12,2L3,9L4.63,10.27M12,18.54L4.62,12.81L3,14.07L12,21.07L21,14.07L19.37,12.8L12,18.54Z" />
</svg>
<h3>Multiple Operation Modes</h3>
<p>Quick start with Local or Cloud mode, or setup your own Private instance.</p>
</div>
<div class="feature-card">
<svg viewBox="0 0 24 24" width="48" height="48">
<path fill="currentColor"
d="M20,8H4V6H20M20,18H4V12H20M20,4H4C2,4 0,6 0,8V18A2,2 0 0,0 2,20H20A2,2 0 0,0 22,18V8A2,2 0 0,0 20,6V4M4,14H20V17H4V14C4,16.21 7.58,18 12,18C16.42,18 20,16.21 20,14V14H20M4,14V17C4,19.21 7.58,21 12,21C16.42,21 20,19.21 20,17V14C20,16.21 16.42,18 12,18C7.58,18 4,16.21 4,14Z" />
</svg>
<h3>Simple Integration</h3>
<p>RESTful API, client libraries for multiple languages, and a CLI tool.</p>
</div>
<div class="feature-card">
<svg viewBox="0 0 24 24" width="48" height="48">
<path fill="currentColor"
d="M2.6,10.59L8.38,4.8L10.07,6.5C9.83,7.35 10.22,8.28 11,8.73V14.27C10.4,14.61 10,15.26 10,16A2,2 0 0,0 12,18A2,2 0 0,0 14,16C14,15.26 13.6,14.61 13,14.27V9.41L15.07,11.5C15,11.65 15,11.82 15,12A2,2 0 0,0 17,14A2,2 0 0,0 19,12A2,2 0 0,0 17,10C16.82,10 16.65,10 16.5,10.07L13.93,7.5C14.19,6.57 13.71,5.55 12.78,5.16C12.35,5 11.9,4.96 11.5,5.07L9.8,3.38L10.59,2.6C11.37,1.81 12.63,1.81 13.41,2.6L21.4,10.59C22.19,11.37 22.19,12.63 21.4,13.41L13.41,21.4C12.63,22.19 11.37,22.19 10.59,21.4L2.6,13.41C1.81,12.63 1.81,11.37 2.6,10.59Z" />
</svg>
<h3>Open Source</h3>
<p>Free and open-source software.</p>
</div>
</div>
</div>
</section>
<section class="modes">
<div class="container">
<h2>Operating Modes</h2>
<div class="mode-grid">
<div class="mode-card">
<div class="mode-icon">
<svg viewBox="0 0 24 24" width="48" height="48">
<path fill="currentColor"
d="M11,19A1,1 0 0,0 12,20A1,1 0 0,0 13,19V17H11V19M7,19A1,1 0 0,0 8,20A1,1 0 0,0 9,19V17H7V19M15,19A1,1 0 0,0 16,20A1,1 0 0,0 17,19V17H15V19M19,4H5A2,2 0 0,0 3,6V14A2,2 0 0,0 5,16H19A2,2 0 0,0 21,14V6A2,2 0 0,0 19,4M19,14H5V6H19V14C19,16.21 16.42,18 12,18C7.58,18 4,16.21 4,14V14H19Z" />
</svg>
</div>
<div class="mode-content">
<h3>Local Mode</h3>
<p>Maximum privacy with data stored only on your device. Perfect for users who want complete
control over their data.</p>
<ul class="mode-features">
<li>All data stays on your device</li>
<li>No external servers needed</li>
<li>Complete data sovereignty</li>
</ul>
</div>
</div>
<div class="mode-card">
<div class="mode-icon">
<svg viewBox="0 0 24 24" width="48" height="48">
<path fill="currentColor"
d="M19,12H15V16.5C15,17.33 14.33,18 13.5,18C12.67,18 12,17.33 12,16.5V12H8V16.5C8,17.33 7.33,18 6.5,18C5.67,18 5,17.33 5,16.5V12H1V10H5V5.5C5,4.67 5.67,4 6.5,4C7.33,4 8,4.67 8,5.5V10H12V5.5C12,4.67 12.67,4 13.5,4C14.33,4 15,4.67 15,5.5V10H19V12Z" />
</svg>
</div>
<div class="mode-content">
<h3>Cloud Mode</h3>
<p>Public Cloud server with optional end-to-end encryption for enhanced security and
accessibility.</p>
<ul class="mode-features">
<li>Optional E2E encryption</li>
<li>Easy access from anywhere</li>
<li>Reliable cloud infrastructure</li>
</ul>
</div>
</div>
<div class="mode-card">
<div class="mode-icon">
<svg viewBox="0 0 24 24" width="48" height="48">
<path fill="currentColor"
d="M12,3C7.58,3 4,4.79 4,7C4,9.21 7.58,11 12,11C16.42,11 20,9.21 20,7C20,4.79 16.42,3 12,3M4,9V12C4,14.21 7.58,16 12,16C16.42,16 20,14.21 20,12V9C20,11.21 16.42,13 12,13C7.58,13 4,11.21 4,9M4,14V17C4,19.21 7.58,21 12,21C16.42,21 20,19.21 20,17V14C20,16.21 16.42,18 12,18C7.58,18 4,16.21 4,14Z" />
</svg>
</div>
<div class="mode-content">
<h3>Private Mode</h3>
<p>Deploy in your own infrastructure for complete control over the server environment and
data storage.</p>
<ul class="mode-features">
<li>Self-hosted infrastructure</li>
<li>Single command deployment</li>
<li>No rebuild required</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<section class="how-it-works">
<div class="container">
<h2>How It Works</h2>
<div class="steps">
<div class="step">
<div class="step-number">1</div>
<h3>Install the App</h3>
<p>Download and install SMS Gateway on your Android device</p>
</div>
<div class="step">
<div class="step-number">2</div>
<h3>Get Credentials</h3>
<p>Get username and password from the app's Home screen</p>
</div>
<div class="step">
<div class="step-number">3</div>
<h3>Integrate API</h3>
<p>Use REST API or ready-to-use client libraries to integrate with your application</p>
</div>
</div>
</div>
</section>
<section class="code-example">
<div class="container">
<h2>Quick Start</h2>
<div class="code-block">
<pre><code>curl -X POST -u <username>:<password> \
-H "Content-Type: application/json" \
-d '{ "message": "Hello, doctors!", "phoneNumbers": ["+19162255887", "+19162255888"] }' \
https://api.sms-gate.app/3rdparty/v1/message</code></pre>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
</div>
</section>
<section class="libraries">
<div class="container">
<h2>API Client Libraries</h2>
<div class="libraries-grid">
<div class="library-card">
<div class="library-header">
<div class="library-icon">
<svg viewBox="0 0 24 24" width="32" height="32">
<path fill="currentColor"
d="M3,3H21V21H3V3M13.71,11.65L12.91,10.91C12.5,10.5 12.5,9.82 12.91,9.41L14.12,8.2L13.06,7.14C12.65,6.73 12,6.73 11.59,7.14L7.91,10.82C7.5,11.23 7.5,11.91 7.91,12.32L11.59,16C12,16.41 12.65,16.41 13.06,16L14.12,14.94L12.91,13.73C12.5,13.32 12.5,12.64 12.91,12.23L13.65,11.49V11.65Z" />
</svg>
</div>
<span class="library-lang">JavaScript / TypeScript</span>
</div>
<p>Official Node.js/JavaScript client library for SMS Gateway</p>
<div class="library-install">
<code>npm install android-sms-gateway</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
<div class="library-install">
<code>bun add android-sms-gateway</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
<div class="library-links">
<a href="https://www.npmjs.com/package/android-sms-gateway">NPM</a>
<a href="https://github.com/android-sms-gateway/client-ts">GitHub</a>
</div>
</div>
<div class="library-card">
<div class="library-header">
<div class="library-icon">
<svg viewBox="0 0 24 24" width="32" height="32">
<path fill="currentColor"
d="M19.14,7.5A2.86,2.86 0 0,1 22,10.36V14.14A2.86,2.86 0 0,1 19.14,17H12C12,17.39 12.32,17.96 12.71,17.96H17V19.64A2.86,2.86 0 0,1 14.14,22.5H9.86A2.86,2.86 0 0,1 7,19.64V15.89C7,14.31 8.28,13.04 9.86,13.04H15.11C16.69,13.04 17.96,11.76 17.96,10.18V7.5H19.14M14.86,19.29C14.46,19.29 14.14,19.59 14.14,20.18C14.14,20.77 14.46,20.89 14.86,20.89A0.71,0.71 0 0,0 15.57,20.18C15.57,19.59 15.25,19.29 14.86,19.29M4.86,17.5C3.28,17.5 2,16.22 2,14.64V10.86C2,9.28 3.28,8 4.86,8H12C12,7.61 11.68,7.04 11.29,7.04H7V5.36C7,3.78 8.28,2.5 9.86,2.5H14.14C15.72,2.5 17,3.78 17,5.36V9.11C17,10.69 15.72,11.96 14.14,11.96H8.89C7.31,11.96 6.04,13.24 6.04,14.82V17.5H4.86M9.14,5.71C9.54,5.71 9.86,5.41 9.86,4.82C9.86,4.23 9.54,4.11 9.14,4.11C8.75,4.11 8.43,4.23 8.43,4.82C8.43,5.41 8.75,5.71 9.14,5.71Z" />
</svg>
</div>
<span class="library-lang">Python</span>
</div>
<p>Official Python client library for SMS Gateway</p>
<div class="library-install">
<code>pip install android-sms-gateway</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
<div class="library-links">
<a href="https://pypi.org/project/android-sms-gateway/">PyPI</a>
<a href="https://github.com/android-sms-gateway/client-py">GitHub</a>
</div>
</div>
<div class="library-card">
<div class="library-header">
<div class="library-icon">
<svg viewBox="0 0 24 24" width="32" height="32">
<path fill="currentColor"
d="M3,3H21V21H3V3M13.65,11.65L12.91,10.91C12.5,10.5 12.5,9.82 12.91,9.41L14.12,8.2L13.06,7.14C12.65,6.73 12,6.73 11.59,7.14L7.91,10.82C7.5,11.23 7.5,11.91 7.91,12.32L11.59,16C12,16.41 12.65,16.41 13.06,16L14.12,14.94L12.91,13.73C12.5,13.32 12.5,12.64 12.91,12.23L13.65,11.49V11.65Z" />
</svg>
</div>
<span class="library-lang">Go</span>
</div>
<p>Official Go client library for SMS Gateway</p>
<div class="library-install">
<code>go get github.com/android-sms-gateway/client-go</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
<div class="library-links">
<a href="https://pkg.go.dev/github.com/android-sms-gateway/client-go">pkg.go.dev</a>
<a href="https://github.com/android-sms-gateway/client-go">GitHub</a>
</div>
</div>
<div class="library-card">
<div class="library-header">
<div class="library-icon">
<svg viewBox="0 0 24 24" width="32" height="32">
<path fill="currentColor"
d="M12,18.08C5.37,18.08 0,15.36 0,12C0,8.64 5.37,5.92 12,5.92C18.63,5.92 24,8.64 24,12C24,15.36 18.63,18.08 12,18.08M6.81,10.13C7.35,10.13 7.72,10.23 7.9,10.44C8.08,10.64 8.12,11 8.03,11.47C7.93,12 7.74,12.34 7.45,12.56C7.17,12.78 6.74,12.89 6.16,12.89H5.29L5.82,10.13H6.81M3.31,15.68H4.75L5.09,13.93H6.32C6.86,13.93 7.3,13.87 7.65,13.76C8,13.64 8.32,13.45 8.61,13.18C8.85,12.96 9.04,12.72 9.19,12.45C9.34,12.19 9.45,11.89 9.5,11.57C9.66,10.79 9.55,10.18 9.17,9.75C8.78,9.31 8.18,9.1 7.35,9.1H4.59L3.31,15.68M14.86,19.29C14.46,19.29 14.14,19.59 14.14,20.18C14.14,20.77 14.46,20.89 14.86,20.89A0.71,0.71 0 0,0 15.57,20.18C15.57,19.59 15.25,19.29 14.86,19.29M4.86,17.5C3.28,17.5 2,16.22 2,14.64V10.86C2,9.28 3.28,8 4.86,8H12C12,7.61 11.68,7.04 11.29,7.04H7V5.36C7,3.78 8.28,2.5 9.86,2.5H14.14C15.72,2.5 17,3.78 17,5.36V9.11C17,10.69 15.72,11.96 14.14,11.96H8.89C7.31,11.96 6.04,13.24 6.04,14.82V17.5H4.86M9.14,5.71C9.54,5.71 9.86,5.41 9.86,4.82C9.86,4.23 9.54,4.11 9.14,4.11C8.75,4.11 8.43,4.23 8.43,4.82C8.43,5.41 8.75,5.71 9.14,5.71Z" />
</svg>
</div>
<span class="library-lang">PHP</span>
</div>
<p>Official PHP client library for SMS Gateway</p>
<div class="library-install">
<code>composer require capcom6/android-sms-gateway</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
<div class="library-links">
<a href="https://packagist.org/packages/capcom6/android-sms-gateway">Packagist</a>
<a href="https://github.com/android-sms-gateway/client-php">GitHub</a>
</div>
</div>
</div>
</div>
</section>
<section class="cli-section">
<div class="container">
<div class="cli-container">
<h2>Command Line Interface</h2>
<div class="cli-content">
<div class="cli-header">
<div class="cli-icon">
<svg viewBox="0 0 24 24" width="32" height="32">
<path fill="currentColor"
d="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z" />
</svg>
</div>
<h3>Easy command-line access to SMS Gateway</h3>
</div>
<p>Install the CLI tool from GitHub:</p>
<div class="cli-install">
<code>curl -LO https://github.com/android-sms-gateway/cli/releases/latest/download/smsgate_Linux_x86_64.tar.gz<br/>
tar xvf smsgate_Linux_x86_64.tar.gz</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
<div class="cli-examples">
<h3>Example Usage</h3>
<div class="example-block">
<code># Send an SMS message<br/>
smsgate send -u <username> -p <password> --phone '+19162255887' 'Hello, Dr. Turk!'</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
<div class="example-block">
<code># Use environment variables<br/>
export ASG_USERNAME=<username><br/>
export ASG_PASSWORD=<password><br/>
# Send a message to multiple numbers<br/>
smsgate send --phone '+19162255887' --phone '+19162255888' 'Hello, doctors!'</code>
<button class="copy-button" onclick="copyCode(this)">Copy</button>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-links">
<a href="https://docs.sms-gate.app/#license">License</a>
<a href="https://github.com/capcom6/android-sms-gateway/issues">Issues</a>
<a href="https://docs.sms-gate.app">Documentation</a>
<a href="https://discord.gg/vv9raFK4gX">Discord</a>
<a href="mailto:support@sms-gate.app">Support</a>
</div>
<p class="copyright">©
<script>document.write(new Date().getFullYear())</script> Aleksandr Soloshenko, Licensed under the
Apache License, Version 2.0.
</p>
</div>
</div>
</footer>
</body>
</html>