Files
LowderPlay_cheburcheck/website/templates/search-form.html.tera
T
senya xdearboy :)andLowder 58d9e7b68e feat: asn support
* add asn and cidr subnet support

- parse AS numbers (AS13335 format)
- fetch prefixes from ripe stat api
- cache asn data for 24h, check results for 1h
- sample ips across subnets for checking
- show asn stats and prefix lists in ui
- link asn in results for quick lookup
- collapsible lists for long prefix/network lists
- trim whitespace from search input

* refactor: improve code structure and add enhanced error messages

* refactor: replace match with if let for single branch pattern

* fix: don't store ASN in database

* chore: bump version

---------

Co-authored-by: Lowder <me@lowderplay.dev>
2026-03-03 23:39:45 +05:00

18 lines
563 B
Plaintext

<form class="search-form" action="/check">
<input
type="text"
name="target"
placeholder="example.com, 1.1.1.1, 1.0.0.0/24, AS13335"
class="search-input"
minlength="3"
required
autofocus
>
<div class="search-icon-wrapper">
<i data-lucide="search" width="20" height="20"></i>
</div>
<button type="submit" class="search-btn">
<span>Проверить</span>
<i data-lucide="chevron-right" width="16" height="16"></i>
</button>
</form>