Home

Awesome

web-api

Network API with native Yggdrasil/IPv6 support

Install

git clone https://github.com/YGGverse/web-api.git
cd web-api
composer install

Config

nano config.json

Run

cd src/public
php -S localhost:8080

Features

Socket

Check socket (also useful for open ports detection)

Usage

Attributes
Request
GET /net/socket.php?port=80&host=yo.index
Response
JSON
{
  success: bool
}

Dig

Show host records

Usage

Attributes
Records support
Request
Single record
GET /net/dig.php?name=yo.index&record=A
Multiple records
GET /net/dig.php?name=yo.index&records[]=A&records[]=AAAA
Response
JSON
{
  success: bool
  records: array
}

Online

Yggdrasil

Alfis

Hybrid

Clearnet