forked from soruly/trace.moe
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathabout.php
183 lines (178 loc) · 9.18 KB
/
about.php
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
<?php
ini_set("display_errors", 0);
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "http://192.168.2.12:8983/solr/admin/cores?wt=json");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($curl);
$result = json_decode($res);
curl_close($curl);
function humanTiming($time){
$time = time() - $time; // to get the time since that moment
$time = ($time<1)? 1 : $time;
$tokens = array (
31536000 => 'year',
2592000 => 'month',
604800 => 'week',
86400 => 'day',
3600 => 'hour',
60 => 'minute',
1 => 'second'
);
foreach ($tokens as $unit => $text) {
if ($time < $unit) continue;
$numberOfUnits = floor($time / $unit);
return $numberOfUnits.' '.$text.(($numberOfUnits>1)?'s':'');
}
}
$numDocs = 0;
$sizeInBytes = 0;
$lastModified = 0;
foreach ($result->status as $core) {
$numDocs += $core->index->numDocs;
$sizeInBytes += $core->index->sizeInBytes;
if(strtotime($core->index->lastModified) > $lastModified){
$lastModified = strtotime($core->index->lastModified);
}
}
$numDocsMillion = floor($numDocs / 1000000);
$sizeInGB = floor($sizeInBytes / 1073741824);
?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WAIT: What Anime Is This? - About</title>
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="icon" type="image/png" href="/favicon128.png" sizes="128x128">
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/style.css" rel="stylesheet">
<script src="/js/analytics.js" defer></script>
</head>
<body>
<nav class="navbar header">
<div class="container">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
<li><a href="/about" class="active">About</a></li>
<li><a href="/changelog">Changelog</a></li>
<li><a href="/faq">FAQ</a></li>
<li><a href="/terms">Terms</a></li>
</ul>
</div>
</nav>
<div class="container">
<div class="page-header">
<h1>About</h1>
</div>
<img src="/favicon128.png" alt="" style="display:none" />
<p>Life is too short to answer all the "What is the anime?" questions. Let computers do that for you.</p>
<p>
whatanime.ga is a test-of-concept prototype search engine that helps users trace back the original anime by screenshot.
It searches over 22300 hours of anime and find the best matching scene.
It tells you what anime it is, from which episode and the time that scene appears.
Since the search result may not be accurate, it provides a few seconds of preview for verification.
</p>
<p>
There has been a lot of anime screencaps and GIFs spreading around the internet, but very few of them mention the source. While those online platforms are gaining popularity, whatanime.ga respects the original producers and staffs by showing interested anime fans what the original source is. This search engine encourages users to give credits to the original creater / owner before they share stuff online.
</p>
<p>
This website is non-profit making. There is no pro/premium features at all.
This website is not intended for watching anime. The server has effective measures to forbid users to access the original video beyond the preview limit. I would like to redirect users to somewhere they can watch that anime legally, if possible.
</p>
<p>
Most Anime since 2000 are indexed, but some are excluded (see FAQ).
No Doujin work, no derived art work are indexed. The system only analyzes officially published anime.
If you wish to search artwork / wallpapers, try to use <a href="https://saucenao.com/">SauceNAO</a> and <a href="https://iqdb.org/">iqdb.org</a>
</p>
<div class="page-header">
<h3>WebExtension</h3>
</div>
<p>WebExtension available for <a href="https://chrome.google.com/webstore/detail/search-anime-by-screensho/gkamnldpllcbiidlfacaccdoadedncfp">Chrome</a>, <a href="https://addons.mozilla.org/en-US/firefox/addon/search-anime-by-screenshot/">Firefox</a>, or <a href="https://addons.opera.com/en/extensions/details/search-anime-by-screenshot/">Opera</a> to search.</p>
<p>Source code and user guide on Github:<br><a href="https://github.com/soruly/whatanime.ga-WebExtension">https://github.com/soruly/whatanime.ga-WebExtension</a></p>
<div class="page-header">
<h3>Telegram Bot</h3>
</div>
<p>Telegram Bot available <a href="https://telegram.me/WhatAnimeBot">@WhatAnimeBot</a></p>
<p>Source code and user guide on Github:<br><a href="https://github.com/soruly/whatanime.ga-telegram-bot">https://github.com/soruly/whatanime.ga-telegram-bot</a>
<div class="page-header">
<h3>Official API (Beta)</h3>
</div>
<p>Official API Docs available at <a href="https://soruly.github.io/whatanime.ga/#/">GitHub</a></p>
<div class="page-header">
<h3>Mobile Apps</h3>
</div>
<p>
WhatAnime by Andrée Torres<br>
<a href="https://play.google.com/store/apps/details?id=com.maddog05.whatanime">https://play.google.com/store/apps/details?id=com.maddog05.whatanime</a><br>
Source: <a href="https://github.com/maddog05/whatanime-android">https://github.com/maddog05/whatanime-android</a><br>
<br>
WhatAnime - 以图搜番 by Mystery0 (Simplified Chinese)<br>
<a href="https://play.google.com/store/apps/details?id=pw.janyo.whatanime">https://play.google.com/store/apps/details?id=pw.janyo.whatanime</a><br>
Source: <a href="https://github.com/JanYoStudio/WhatAnime">https://github.com/JanYoStudio/WhatAnime</a><br>
</p>
<div class="page-header">
<h3>Presentation slides</h3>
</div>
<p><a href="https://go-talks.appspot.com/github.com/soruly/slides/whatanime.ga.slide">Go-talk presentation on 27 May 2016</a></p>
<p><a href="https://go-talks.appspot.com/github.com/soruly/slides/whatanime.ga-2017.slide">Go-talk presentation on 4 Jun 2017</a></p>
<p><a href="https://go-talks.appspot.com/github.com/soruly/slides/whatanime.ga-2018.slide">Go-talk presentation on 17 Jun 2018</a></p>
<div class="page-header">
<h3>System Status</h3>
</div>
<p>System status page: <a href="https://status.whatanime.ga">https://status.whatanime.ga</a> (Powered by UptimeRobot)</p>
<p><?php echo 'Last Database Index update: '.humanTiming($lastModified).' ago with '.$numDocsMillion.' Million analyzed frames. ('.$sizeInGB.' GB)<br>'; ?></p>
<p>This database automatically index most airing anime in a few hours after broadcast.<br>You may subscribe to the updates on Telegram <a href="https://t.me/whatanimeupdates">@whatanimeupdates</a></p>
<p></p>
<a href="https://nyaa.si/download/1023979.torrent">Full Database Dump 2018-04 (16.5GB)</a><br>
<a href="magnet:?xt=urn:btih:VUOXSGHJ5CSBP6C3KK4IZCFS7NCVXPKX&dn=whatanime.ga+database+dump+2018-04&tr=http%3A%2F%2Fnyaa.tracker.wf%3A7777%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce">magnet:?xt=urn:btih:VUOXSGHJ5CSBP6C3KK4IZCFS7NCVXPKX</a>
</p>
<div class="page-header">
<h3>Contact</h3>
</div>
<p>If you have any feedback, suggestions or anything else, please email to <a href="mailto:[email protected]">[email protected]</a>.</p>
<p>You may also reach the author on Telegram <a href="https://t.me/soruly">@soruly</a> or <a href="https://discord.gg/K9jn6Kj">Discord</a>.</p>
<p>Follow the development of whatanime.ga and learn more about the underlying technologies at the <a href="https://plus.google.com/communities/115025102250573417080">Google+ Community</a> , <a href="https://www.facebook.com/whatanime.ga/">Facebook Page</a> or <a href="https://www.patreon.com/soruly">Patreon page</a>.</p>
<div class="page-header">
<h3>Credit</h3>
</div>
<p>
<h4>Dr. Mathias Lux (<a href="http://www.lire-project.net/">LIRE Project</a>)</h4>
<small>Lux Mathias, Savvas A. Chatzichristofis. Lire: Lucene Image Retrieval – An Extensible Java CBIR Library. In proceedings of the 16th ACM International Conference on Multimedia, pp. 1085-1088, Vancouver, Canada, 2008 <a href="http://www.morganclaypool.com/doi/abs/10.2200/S00468ED1V01Y201301ICR025">Visual Information Retrieval with Java and LIRE</a></small><br>
<br>
<h4>Josh (<a href="https://anilist.co/">Anilist</a>) and Anilist team</h4>
</p>
<div class="page-header">
<h3>Patreons</h3>
</div>
<p>
<a href="https://chenxublog.com">chenxuuu</a><br>
<a href="http://desmonding.me/">Desmond</a><br>
<a href="http://imvery.moe/">FangzhouL</a><br>
Snadzies<br>
WelkinWill<br>
<a href="https://twitter.com/yuriks">yuriks</a><br>
...and dozons of anonymous patreons<br>
<br>
<h4>And of cause, contributions and support from all anime lovers!</h4>
<br>
<a href="https://www.patreon.com/soruly"><img src="img/become_a_patron_button.png" alt="Become a Patron!"></a>
<br>
<br>
<br>
<br>
</p>
</div>
<footer class="footer">
<div class="container">
<ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/changelog">Changelog</a></li>
<li><a href="/faq">FAQ</a></li>
<li><a href="/terms" class="active">Terms</a></li>
</ol>
</div>
</footer>
</body>
</html>