Skip to content

Baker/dnsbuddy.co

Repository files navigation

logo

DnsBuddy - An opensourced DNS Swiss Army Knife

CI

This is an open sourced website that you can use to pull up various DNS related records. This tool takes advantage of various DOH APIs (DNS over HTTPS), so thank you to those who run those (Google, Cloudflare, etc.)

Built with

Development

Below is the guide on how to setup your local envirnoment.

Prerequisites

We assume you already have these installed.

  • Node.js - We expect you to running at least Node 18.17. (If you have nvm installed, just do nvm use)
  • pnpm - You could probably use npm or yarn, we just prefer pnpm.

Setup

  1. Install the required packages: pnpm i
  2. Run the local webserver: pnpm run dev

Testing

Below are the two primary commands to run for tests:

  1. pnpm run test:e2e: Which will run the tests across the various browsers. If you are lacking the packages for this it will ask you to install the dependencies.
  2. pnpm run test:ui: Which I personally use more when I am running tests, it gives you the UI so you can see and verify everything is working as expected.

CI

As of right now we only use a few things to keep this repo formatted nicely, etc.

The above is all handled by our CI, Github actions.

Credit