# flapto

> FlapTo Resolver ===============

Latest version **1.0.0** (published 2019-03-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install flapto
pnpm add flapto
yarn add flapto
bun add flapto
```

Provides the command `flapto`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-03-20 |
| First published | 2019-03-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | eckoit |

## Links

- npm: https://www.npmjs.com/package/flapto
- npm.io page: https://npm.io/package/flapto

## Dependencies (2)

- [rc](https://npm.io/package/rc.md) ^1.2.8
- [lodash.template](https://npm.io/package/lodash.template.md) ^4.4.0

## Recent versions

- 1.0.0 (latest) — 2019-03-20

## README

FlapTo Resolver
===============

FlapTo lets you name places in the world using the dns system.

This project is the FlapTo webserver. It is used to convert A record hostnames into a map.

Install & Run
-------------

npm i flapto -g
flapto

make sure port 80 is open and has a public ip address. Record that ip, (say 22.22.22.22)

Usage
-----

Lets say you wanted the following to resolve

  biz1.address.company.com to 36.1251958,-115.3150852
  biz2.address.company.com to 32.6743104,-117.1161124

Create a txt record in dns for biz1.address.company.com that looks like

```
"l=36.1251958,-115.3150852"
```

Then create an A record in dns with the entry 22.22.22.22

Create a txt record in dns for biz2.address.company.com that looks like

```
"l=32.6743104,-117.1161124"
```

Then create an A record in dns with the entry 22.22.22.22

Done. Now you can use biz1.address.company.com to share the address with people

Public server
=============

If you put the txt records in dns, but dont want to run a flapto server, just point your A record 50.65.72.243
we host a public server.

---
_Source: https://npm.io/package/flapto · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
