Skip to content

tw-yuan/bgpq3-web-api

Repository files navigation

bgpq3 web api

API usage

/route4?req={query}
It will exec bgpq3 -4 -j ${query}
And it will output json format.

/route6?req={query}
It will exec bgpq3 -64 -j ${query}
And it will output json format.

Install on host

You must install bgpq3 on host first.

npm i
node app.js

And it will run on port 6999.

Install via docker compose

You must install docker compose on host first.

docker compose up -d
or
docker-compose up -d

And it will run on port 6999.

Public Example

https://bgpq.yuan-tw.net/route4?req=as204844

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published