forked from xtrime-ru/TelegramRSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (105 loc) · 4.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- COMMON TAGS -->
<meta charset="utf-8">
<title>Telegram RSS / JSON generator</title>
<!-- Search Engine -->
<meta name="description" content="Get posts from public telegram channels in RSS or JSON format with media.">
<meta name="image" content="/favicon.ico">
<!-- Schema.org for Google -->
<meta itemprop="name" content="Telegram RSS / JSON generator">
<meta itemprop="description" content="Get posts from public Telegram channels in RSS or JSON format with media.">
<meta itemprop="image" content="/favicon.ico">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Telegram RSS / JSON generator">
<meta name="twitter:description" content="Get posts from public telegram channels in RSS or JSON format with media.">
<!-- Open Graph general (Facebook, Pinterest & Google+) -->
<meta name="og:title" content="Telegram RSS / JSON generator">
<meta name="og:description" content="Get posts from public telegram channels in RSS or JSON format with media.">
<meta name="og:site_name" content="Telegram RSS / JSON generator">
<meta name="og:type" content="website">
<!-- STYLES -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/terminal.min.css" />
<style>
:root {
--global-font-size: 16px;
--global-line-height: 1.4em;
--global-space: 10px;
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
serif;
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
serif;
--background-color: #222225;
--page-width: 60em;
--font-color: #e8e9ed;
--invert-font-color: #222225;
--secondary-color: #a3abba;
--tertiary-color: #a3abba;
--primary-color: #62c4ff;
--error-color: #ff3c74;
--warning-color: #ff7d3c;
--progress-bar-background: #3f3f44;
--progress-bar-fill: #62c4ff;
--code-bg-color: #3f3f44;
--input-style: solid;
--display-h1-decoration: block;
}
.terminal > .container:first-child{
max-width: 768px;
margin:150px auto;
}
.terminal h1{
color:var(--warning-color);
}
</style>
</head>
<body class="terminal">
<div class="container">
<h1>Hello!</h1>
<p>This is Telegram to rss or json server. It can return posts from any public Telegram channel as RSS or JSON.</p>
<h1>Features</h1>
<ul>
<li>Fast async swoole server;</li>
<li>Get any public telegram posts from groups as json or RSS;</li>
<li>Full media support. Access any media from messages via direct links (no expire).</li>
</ul>
<h1>Examples</h1>
<ul>
<li>JSON: <a href="/json/breakingmash" target="_blank">https://tg.i-c-a.su/json/breakingmash</a>;</li>
<li>RSS: <a href="/rss/breakingmash" target="_blank">https://tg.i-c-a.su/rss/breakingmash</a>;</li>
<li>Custom posts count: <a href="/rss/breakingmash?limit=100" target="_blank">https://tg.i-c-a.su/rss/breakingmash?limit=100</a>;
<br/>Maximum limit - 100 posts
</li>
<li>Pagination: <a href="/rss/breakingmash/2" target="_blank">https://tg.i-c-a.su/rss/breakingmash/2</a>;</li>
<li>Media preview: <a href="/media/breakingmash/10738/preview" target="_blank">https://tg.i-c-a.su/media/breakingmash/10738/preview</a>;</li>
<li>Media full: <a href="/media/breakingmash/10738" target="_blank">https://tg.i-c-a.su/media/breakingmash/10738</a>.</li>
</ul>
<h1>Source Code</h1>
<p>This service is combination of two my micro-services:</p>
<ul>
<li>TelegramApiServer: <a href="https://github.com/xtrime-ru/TelegramApiServer" target="_blank">https://github.com/xtrime-ru/TelegramApiServer</a>;</li>
<li>TelegramRSS: <a href="https://github.com/xtrime-ru/TelegramRSS" target="_blank">https://github.com/xtrime-ru/TelegramRSS</a>.</li>
</ul>
<h1>Limits and restrictions</h1>
<ul>
<li>Only public channels;</li>
<li>RPM Limit: 15 requests per minute;</li>
<li>Temporary ban on any error, for example: invalid channel name or private channel.</li>
</ul>
<h1>Contacts</h1>
<ul>
<li>Telegram: <a href="tg://resolve?domain=xtrime" target="_blank">@xtrime</a></li>
<li>Email: alexander(at)i-c-a.su</li>
</ul>
<h1>Donations</h1>
<ul>
<li>BTC: 1BE1nitXgEAxg7A5tgec67ucNryQwusoiP</li>
<li>ETH: 0x0e2d369E28DCA2336803b9dE696eCDa50ff61e27</li>
</ul>
</div>
</body>
</html>