Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thundersquared/lookupsbot

🤖 A Telegram bot to fetch whois data
https://github.com/thundersquared/lookupsbot

dns microservice microservices telegram telegram-bot whois whois-lookup

Last synced: 3 months ago
JSON representation

🤖 A Telegram bot to fetch whois data

Awesome Lists containing this project

README

        



lookupsbot


A Telegram bot to fetch whois data






## A bot for what?
lookupsbot is a bot which allows you to retrieve whois data of a domain name.

## Tech stack
The bot is written in Node.JS, relies on [telegraf](https://github.com/telegraf/telegraf) to consume Telegram's Bot API and loves [werist](https://www.npmjs.com/package/werist) module that helps gathering whois data.

## How to run
1. Clone the repo
```
git clone this repo
```
2. Install packages
```
yarn
```
3. Run
```
yarn dev
```

## Config vars
| Block | Var | Required |
| -------- | -------- | -------- |
| telegram | token | **Yes** |
| telegram | username | No |
| mysql | host | No |
| mysql | database | No |
| mysql | user | No |
| mysql | password | No |

## License
The code in this repo and used modules are open-sourced software licensed under the [MIT license](LICENSE.md).