forked from SakuraProject/rt-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
credit.html
122 lines (121 loc) · 6.05 KB
/
credit.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
^^ COPYRIGHTS = (
("https://github.com/nextcord/nextcord/blob/master/LICENSE", "nextcord",
"Copyright (c) 2015-present Rapptz, Copyright (c) 2021-present tag-epic"),
("https://github.com/ultrajson/ultrajson/blob/main/LICENSE.txt", "UltraJSON",
"Copyright (c) 2014, Electronic Arts Inc."),
("https://github.com/aio-libs/aiomysql/blob/master/LICENSE", "aiomysql",
"Copyright (c) 2010, 2013 PyMySQL contributors"),
("https://github.com/Tinche/aiofiles/blob/master/LICENSE", "aiofiles",
""),
("https://github.com/Gorialis/jishaku/blob/master/LICENSE", "jishaku",
"Copyright (c) 2021 Devon (Gorialis) R"),
("https://github.com/tasuren/reprypt/blob/main/LICENSE", "reprypt",
"Copyright (c) 2021 tasuren")
)
credit = lambda copyrights: "".join(
f'<li><a href="{url}">{name}</a>{f" - <code>{copyright}</code></li>" if copyright else ""}'
for url, name, copyright in copyrights
)
self.layout(
"Credit | Free RT Discord Bot", "他にはないような機能を提供している多機能BotであるRTのクレジットです。",
'''
<h1 class="title">Credit</h1>
<div class="content credit-html">
<h1>Icon</h1>
<div class="icon">
<img src="img/icon.png">
<div>
Author: Takkun<br>
LICENSE: <a href="https://creativecommons.org/licenses/by-nd/4.0/legalcode.ja" target="_blank">CC BY-ND 4.0</a>
</div>
</div>
<h1>Environment</h1>
<h2>Backend</h2>
<div class="icon">
<img src="">
<div>
OS: Unknown<br>
Language: <a href="https://www.python.org/" target="_blank">Python</a><br>
</div>
</div>
<h3>Libraries</h3>
<ul>{}</ul>
<h2>Bot</h2>
<div class="icon">
<img src="">
<div>
OS: Ubuntu 20.04.4 LTS<br>
Language: Python
</div>
</div>
<h3>Libraries</h3>
<ul>{}</ul>
<h3>Other</h3>
{}
<h1>free RT Developer</h1>
<h2>yaakiyu</h2>
<div class="icon">
<img src="img/yaakiyu.png">
<div>
<p>
<span class="group c-4">Bot開発</span>
<span class="group c-1">バックエンド開発</span>
<span class="group c-2">フロントエンド開発</span>
</p>
free RTの提案者です。<br>
有料版RTに負けないぐらいのものを作りたいです。<br>
<a href="https://yaakiyu.github.io/">yaakiyuのウェブサイト</a>
</div>
</div>
<h1>Special Thanks</h1>
<p>free RTの基盤となったRTを作成したtasuren様、このwebsiteのデザインを作ったTakkun様、<br>
絵を担当したYutam様やおもち様、サーバーの提供をしたSnavy様、その他すべてのRT-team Stuffに感謝します。<br>
(このホームページに使用されている絵はそれぞれ作成者にクレジットが存在します。)</p>
</div>
'''.format(
credit(
(
("https://github.com/sanic-org/sanic/blob/main/LICENSE", "Sanic",
"Copyright (c) 2016-present Sanic Community"),
) + COPYRIGHTS + (
("https://github.com/tasuren/miko/blob/main/LICENSE", "miko-tpl",
"Copyright (c) 2022 tasuren"),
)
),
credit(
COPYRIGHTS + (
("https://github.com/stub42/pytz/blob/master/LICENSE.txt", "pytz",
escape("Copyright (c) 2003-2019 Stuart Bishop <[email protected]>")),
("https://github.com/python-pillow/Pillow/blob/main/LICENSE", "Pillow",
"Copyright © 1997-2011 by Secret Labs AB, Copyright © 1995-2011 by Fredrik Lundh, Copyright © 2010-2022 by Alex Clark and contributors"),
("https://github.com/ytdl-org/youtube-dl", "youtube_dl", ""),
("https://github.com/tasuren/niconico_dl/blob/main/LICENSE", "niconico_dl",
"Copyright (c) 2020 tasuren"),
("https://www.crummy.com/software/BeautifulSoup/", "BeautifulSoup 4",
"Copyright (c) 2004 Leonard Richardson"),
("https://github.com/carpedm20/emoji/blob/master/LICENSE.txt", "emoji",
"Copyright (c) 2014-2021, Taehoon Kim, Kevin Wurster and Tahir Jalilov"),
("https://github.com/jiaaro/pydub/blob/master/LICENSE", "pydub",
"Copyright (c) 2011 James Robert, http://jiaaro.com"),
("https://github.com/giampaolo/psutil/blob/master/LICENSE", "psutil",
"Copyright (c) 2009, Jay Loden, Dave Daeschler, Giampaolo Rodola'"),
("https://github.com/pyca/pynacl/blob/main/LICENSE", "PyNacl", ""),
("https://github.com/lepture/captcha/blob/master/LICENSE", "captcha",
"Copyright (c) 2014, Hsiaoming Yang"),
("https://deep-translator.readthedocs.io/en/latest/README.html#license", "deep-translator",
"Copyright (c) 2020-present, Nidhal Baccouri"),
("https://github.com/top-gg/python-sdk/blob/master/LICENSE", "topggpy",
"Copyright 2021 Assanali Mukhanov & Top.gg"),
("https://github.com/tweepy/tweepy/blob/master/LICENSE", "tweepy",
"Copyright (c) 2009-2022 Joshua Roesslein"),
("https://github.com/sivel/speedtest-cli/blob/master/LICENSE", "speedtest-cli", "")
)
),
_(
ja="""読み上げにはOpenJTalk, gTTS, AquesTalk 評価版の三つを使用しています。<br>
OpenJTalkの音源は<code>rt!voice</code>で確認ができます。""",
en="""RT using OpenJTalk, gTTS and AquesTalk evaluation version for reading out loud.<br>
You can check the OpenJTalk sound source using <code>rt!voice</code>."""
)
), ""
) ^^