-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
325 lines (295 loc) · 13.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Bot For Telegram File And Video Rename Automatic With Thumbnail Function For Public - AshutoshGoswami24/Auto-Rename-Bot" />
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub" />
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub" />
<meta property="fb:app_id" content="1401488693436528" />
<meta name="apple-itunes-app" content="app-id=1477376905, app-argument=https://github.com/AshutoshGoswami24/Auto-Rename-Bot" />
<meta name="twitter:image:src" content="https://opengraph.githubassets.com/9d34bfe54e21568ea101570776f097865eecb3cf1f355070cde0057ac79021b4/AshutoshGoswami24/Auto-Rename-Bot" />
<meta name="twitter:site" content="@github" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="AshutoshGoswami24/Auto-Rename-Bot: Bot For Telegram File And Video Rename Automatic With Thumbnail Function For Public" />
<meta name="twitter:description" content="Bot For Telegram File And Video Rename Automatic With Thumbnail Function For Public - AshutoshGoswami24/Auto-Rename-Bot" />
<meta property="og:image" content="https://opengraph.githubassets.com/9d34bfe54e21568ea101570776f097865eecb3cf1f355070cde0057ac79021b4/AshutoshGoswami24/Auto-Rename-Bot" />
<meta property="og:image:alt" content="Bot For Telegram File And Video Rename Automatic With Thumbnail Function For Public - AshutoshGoswami24/Auto-Rename-Bot" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="600" />
<meta property="og:site_name" content="GitHub" />
<meta property="og:type" content="object" />
<meta property="og:title" content="AshutoshGoswami24/Auto-Rename-Bot: Bot For Telegram File And Video Rename Automatic With Thumbnail Function For Public" />
<meta property="og:url" content="https://github.com/AshutoshGoswami24/Auto-Rename-Bot" />
<meta property="og:description" content="Bot For Telegram File And Video Rename Automatic With Thumbnail Function For Public - AshutoshGoswami24/Auto-Rename-Bot" />
<title>Auto Rename Bot</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 5px;
background-color: #f4f4f4;
color: #333;
text-align: center;
}
h2 {
margin-top: 20px;
}
.deploy-buttons {
position: relative; /* To position the button relative to this container */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 20px;
}
#copy-button {
font-family: Arial, sans-serif;
font-size: 14px;
background-color: #00f1b5;
color: #020202;
border: none;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.5s ease;
border-radius: 5px;
position: absolute;
top: 10px; /* Adjust as needed */
right: 10px; /* Adjust as needed */
}
#copy-button:hover {
background-color: #ff1e00;
}
#PandaWep {
text-align: start;
}
.container {
max-width: 1000px;
margin: 20px auto;
padding: 00px;
background-color: #ffffff; /* White background */
border-radius: 8px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.container img,
.container h1,
.container h2,
.container h3 {
margin: 10px; /* Center align images and headings */
text-align: center; /* Center align images and headings */
}
.config-list {
margin-top: 20px;
padding: 15px;
border: 1px solid #ddd;
border-radius: 5px;
text-align: start;
overflow: auto;
}
.deploy-buttons {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
margin-top: 20px;
}
a {
text-decoration: none;
color: black;
transition: color 0.3s, text-shadow 0.3s;
}
a:hover {
text-shadow: 0 0 10px black;
}
.shot {
background-color: #ff6666; /* Red background for shots */
color: #fff; /* White text color for shots */
padding: 10px;
border-radius: 5px;
margin-top: 20px;
}
pre {
font-family: Georgia, "Times New Roman", Times, serif;
text-align: start;
font-size: 14px; /* Increase font size for better readability */
}
footer {
background-color: #f0f0f0;
padding: 20px;
text-align: center;
}
h2 {
text-align: center;
}
.deploy-buttons {
border: 2px solid #ccc;
padding: 10px;
border-radius: 5px;
}
.deploy-buttons summary {
cursor: pointer;
font-weight: bold;
}
.deploy-buttons summary::-webkit-details-marker {
display: none;
}
.deploy-buttons details[open] {
outline: none;
}
#commands {
font-size: 14px; /* Increase font size for better readability */
}
#img {
max-width: 100%;
height: auto; /* Maintain aspect ratio */
width: 270px; /* Adjusted width for better display on mobile */
}
#copy-button {
position: absolute;
top: 10px;
right: 40px;
color: rgb(0, 0, 0);
font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
background-color: #00f1b5;
border: none;
padding: 5px 10px;
cursor: pointer;
transition: background-color 0.5s ease; /* Slow hover effect */
}
#copy-button:hover {
background-color: #ff1e00; /* Light blue color for hover effect */
}
/* Responsive CSS for mobile devices */
@media (max-width: 768px) {
.container {
padding: 10px; /* Adjusted padding for better spacing */
}
.deploy-buttons {
flex-direction: column; /* Stack deploy buttons vertically on smaller screens */
align-items: center; /* Center align deploy buttons */
}
#copy-button {
right: 10px; /* Adjusted position for better placement on mobile */
}
}
#PandaWep2 {
text-align: start;
font-style: oblique;
}
</style>
</head>
<body>
<h1>
<b><a href="https://t.me/AutoRenamePro_bot" target="_blank">Auto Rename Bot</a></b>
</h1>
<p>🤍 Thanks for Being Here 🤍</p>
<p>🅡🅔🅟🅞 🅢🅣🅐🅣🅢</p>
<br />
<img id="img" src="https://github-readme-stats.vercel.app/api/pin/?username=AshutoshGoswami24&repo=Auto-Rename-Bot&theme=dark" alt="github card" />
<h2>Configs</h2>
<div class="config-list">
<p>➜ <strong>BOT_TOKEN</strong> - Get bot token from @BotFather</p>
<br />
<p>➜ <strong>API_ID</strong> - From my.telegram.org</p>
<br />
<p>➜ <strong>API_HASH</strong> - From my.telegram.org</p>
<br />
<p>➜ <strong>ADMIN</strong> - Bot controllers id's, multiple id use space to split.</p>
<br />
<p>➜ <strong>LOG_CHANNEL</strong> - Bot Log Sending Channel (Id starts with -100).</p>
<br />
<p>➜ <strong>DB_URL</strong> - Mongo Database URL from https://cloud.mongodb.com</p>
<br />
<p>➜ <strong>DB_NAME</strong> - Your database name from mongoDB (Optional).</p>
<br />
<p>➜ <strong>FORCE_SUB</strong> - Your force sub channel username without @ (Optional).</p>
<br />
<p>➜ <strong>START_PIC</strong> - Start message photo (Optional).</p>
<br />
<p>➜ <strong>WEBHOOK</strong> - If your server needs web service! Value = True else Value = False (Optional).</p>
<br />
</div>
<h2>Deployment Support</h2>
<div class="deploy-buttons">
<details open>
<summary>Deploy To Koyeb</summary>
<p>
<br />
<a target="_blank" href="https://app.koyeb.com/deploy?type=git&repository=github.com/AshutoshGoswami24/Auto-Rename-Bot&branch=main&name=PandaXAshu">
<img src="https://www.koyeb.com/static/images/deploy/button.svg" alt="Deploy" />
</a>
</p>
</details>
<details open>
<summary>Deploy To Heroku</summary>
<p>
<br />
<a href="https://heroku.com/deploy?template=https://github.com/AshutoshGoswami24/Auto-Rename-Bot"> <img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy" /></a>
</p>
</details>
</div>
<h2>Features</h2>
<div class="deploy-buttons">
<p id="PandaWep">
➜ Renames very fast.<br />
➜ Permanent Thumbnail support.<br />
➜ Force join for the user for use.<br />
➜ Supports Broadcasts.<br />
➜ Set custom caption.<br />
➜ Has a custom Start-up pic.<br />
➜ Force subscribe available.<br />
➜ Supports unlimited renaming at a time.<br />
➜ Deploy to Koyeb + Heroku + Railway.<br />
➜ Automatically rename your files.<br />
➜ Set mediatype to upload filetype.<br />
➜ Developer Service 24x7.<br />
</p>
</div>
<h2>User Commands</h2>
<div class="deploy-buttons">
<button onclick="copyToClipboard()" id="copy-button">Copy</button>
<p id="PandaWep2">
start - Check if the bot is running.<br />
autorename - To auto rename your files.<br />
tutorial - SETUP AUTO RENAME FORMAT <br />
setmedia - To set your media type preference.<br />
start - To know how to use me.<br />
viewthumb - To view current thumbnail.<br />
delthumb - To delete current thumbnail.<br />
set_caption - set a custom caption.<br />
see_caption - see your custom caption.<br />
del_caption - delete custom caption.<br />
restart - To restart the bot [FOR ADMINS USE ONLY]<br />
broadcast - Broadcast command [FOR ADMINS USE ONLY].<br />
status - Check bot status [FOR ADMINS USE ONLY].<br />
</p>
</div>
<script>
function copyToClipboard() {
const commands = document.getElementById("commands");
const textArea = document.createElement("textarea");
textArea.value = commands.innerText;
document.body.appendChild(textArea);
textArea.select();
document.execCommand("copy");
document.body.removeChild(textArea);
alert("Copied to clipboard");
}
</script>
<footer style="text-align: start;">
<div style="display: inline-block;">
<h3 style="display: inline;">Creator</h3>
<p style="display: inline;"><a href="https://github.com/PandaWep"><span>↠ </span>PandaWep</a></p>
<p style="display: inline;"><a href="https://github.com/AshutoshGoswami24"><span>↠ </span> AshutoshGoswami24</a></p>
</div>
<div style="display: inline-block; text-align: start;">
<h3 style="display: inline-block; text-align: start;">Bots Channel</h3>
<div style="display: inline-block;">
<a href="https://t.me/PandaWep" style="display: block;">
<p><span>↠</span> PandaWep</p>
</a>
</div>
</div>
</footer>
</body>
</html>