Code Monkey home page Code Monkey logo

whois-api's Introduction

Whois API

A simple serverless REST Whois API, written in Go. Mainly exists because other Whois API services are either too expensive or have a strict rate limit.

Usage

This API is deployed at https://whois-api.now.sh. However, self hosting is as simple as forking this repository and setting up a Vercel account.

POST /

Use this format to POST data to the main endpoint:

{
  "domain": "example.com"
}

GET /ping

Use this endpoint to check if the service is running. It should respond with pong.

Roadmap

  • Write MultiHandler function which handles multiple domains concurrently using goroutines.

whois-api's People

Contributors

someshkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

whois-api's Issues

API is down ๐Ÿ˜ฟ Here's the fix ๐Ÿ˜บ

Hey @someshkar!
I love your little project. But have noticed it's been offline for the past few months (see screenshot below)

Screenshot of Someshkar on Vercel, offline

I think you just need to replace "use": "@vercel/go" under builds in your vercel.json.
I submitted a PR (in #3) which after merging that should get this repo back up and running again. (But I'm a n00b, so feedback is welcomed!)


In the meantime, if anyone's looking for an alternative - I've re-written this project here: github/com/Lissy93/who-dat
It's deployed to who-dat.as93.net, so you can use it by making a call like this:

curl https://who-dat.as93.net/example.com

I've put the full docs in an OpenAI spec here.

But I'd really recommend anyone who plans on using this to deploy their own instance, in order to avoid issues like the above (it's free, and easy). You can do so, just by clicking the button below (more instructions here)

Deploy with Vercel


Hope that's of some help to someone. Thanks again @someshkar for your work on this project.
And Happy new year! ๐Ÿฅณ
Alicia :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.