mnzsss / subdomain-finder-api

Home Page:https://subdomain-finder-api.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subdomain Finder API with Subfinder and Go

Overview

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.

Getting Started

Prerequisites

  • Go installed on your machine.
  • A Vercel account. You can sign up here.

Installation

  1. Clone the repository:

    git clone https://github.com/mnzsss/subdomain-finder-api.git
    cd subdomain-finder-api
  2. Install the Go dependencies:

    go mod tidy
  3. Run the project locally:

     go run main.go
  4. Open your browser and navigate to http://localhost:3333/api/subdomains?domain=example.com. You should see a JSON response with the subdomains of example.com.

Deployment

  1. Install the Vercel CLI:

    npm install -g vercel
  2. Deploy the project:

     vercel init
  3. Follow the instructions to deploy the project to Vercel.

  4. 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 of example.com.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

https://subdomain-finder-api.vercel.app

License:MIT License


Languages

Language:Go 100.0%