This project demonstrates how to use Subfinder, a subdomain discovery tool written in Go, to find subdomains of a given domain. Additionally, it includes instructions on how to deploy the project on Vercel.
-
Clone the repository:
git clone https://github.com/mnzsss/subdomain-finder-api.git cd subdomain-finder-api
-
Install the Go dependencies:
go mod tidy
-
Run the project locally:
go run main.go
-
Open your browser and navigate to
http://localhost:3333/api/subdomains?domain=example.com
. You should see a JSON response with the subdomains ofexample.com
.
-
Install the Vercel CLI:
npm install -g vercel
-
Deploy the project:
vercel init
-
Follow the instructions to deploy the project to Vercel.
-
Once deployed, open your browser and navigate to
https://your-vercel-deployment-url/api/subdomains?domain=example.com
. You should see a JSON response with the subdomains ofexample.com
.
This project is licensed under the MIT License - see the LICENSE file for details.