2023-06-23 13:08:16 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<body>
|
2023-06-23 15:11:59 +02:00
|
|
|
<h1 align="center">This is FreePtcha, a completely open source captcha.</h1>
|
2023-06-23 13:08:16 +02:00
|
|
|
<hr/>
|
2023-06-23 15:11:59 +02:00
|
|
|
<h2>What is this?</h2>
|
|
|
|
<p>
|
|
|
|
It seems that you have sucessfully installed freeptcha.<br/>
|
|
|
|
</p>
|
|
|
|
<h2>How do I use this?</h2>
|
|
|
|
<p>
|
|
|
|
Send a GET to <b>/catpcha/v{version}/{text}</b>, where
|
|
|
|
<b>version</b> - captcha version, and
|
2023-06-23 18:14:01 +02:00
|
|
|
<b>text</b> is the text of your captcha.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Also you can pass additional props in the query. Supported props are:<br/>
|
|
|
|
<ul>
|
|
|
|
<li><b>width</b> - ratio width (default 3)</li>
|
|
|
|
<li><b>height</b> - ratio height (default 1)</li>
|
|
|
|
<li><b>padding</b> - padding of the image (default 20)</li>
|
|
|
|
<li><b>format</b> - output format of the image (not supported) (default png)</li>
|
|
|
|
<li><b>dpi</b> - dots per inch, basically text scale (default 250)</li>
|
|
|
|
</ul>
|
2023-06-23 15:11:59 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
<h2>Example</h2>
|
|
|
|
<p>
|
|
|
|
<a href="/captcha/v1/UwU">
|
|
|
|
/captcha/v1/UwU<br/>
|
|
|
|
<img src="/captcha/v1/UwU" />
|
|
|
|
</a>
|
|
|
|
<br/>
|
|
|
|
A simple text stroked over a lot of times
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
<h1>Captcha versions</h1>
|
|
|
|
<p>
|
|
|
|
Supported captcha vesions as of this moment:
|
|
|
|
<br/>
|
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Version №</td>
|
|
|
|
<td>Description</td>
|
|
|
|
<td>Example</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>1</td>
|
|
|
|
<td>Text stroked over a lot of times</td>
|
|
|
|
<td><img src="/captcha/v1/Version 1"/></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</p>
|
2023-06-23 13:08:16 +02:00
|
|
|
</body>
|
|
|
|
</html>
|