openrich 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="assets/logo.svg" width="168" alt="openrich logo: a green valley inside a rounded tile">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/sk1122/openrich/main/assets/logo.svg" width="168" alt="openrich logo: a green valley inside a rounded tile">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">openrich</h1>
|
|
@@ -40,7 +40,7 @@ npx openrich person --name "Patrick Collison" --domain stripe.com --free-only
|
|
|
40
40
|
Or install it: `npm i -g openrich`, then `openrich …`. Needs Node 22.13 or newer.
|
|
41
41
|
|
|
42
42
|
Keys are optional. Put your own free-plan keys in `~/.openrich/.env`, one `KEY=value` per line
|
|
43
|
-
(see [`.env.example`](.env.example)). The cache lives in the same folder.
|
|
43
|
+
(see [`.env.example`](https://github.com/sk1122/openrich/blob/main/.env.example)). The cache lives in the same folder.
|
|
44
44
|
|
|
45
45
|
Real output, free sources only, no keys, 5–6 s:
|
|
46
46
|
|
|
@@ -64,7 +64,7 @@ A trace line under the result lists every source that ran, with its time and res
|
|
|
64
64
|
A lookup runs in two stages. The free stage asks every open source in parallel. The free-tier stage is a
|
|
65
65
|
waterfall: it calls one keyed API at a time, and only while a wanted field is still weak.
|
|
66
66
|
|
|
67
|
-
<p align="center"><img src="assets/diagrams/flow.svg" alt="How a lookup flows: free sources in parallel, merge, then the free-tier waterfall"></p>
|
|
67
|
+
<p align="center"><img src="https://raw.githubusercontent.com/sk1122/openrich/main/assets/diagrams/flow.svg" alt="How a lookup flows: free sources in parallel, merge, then the free-tier waterfall"></p>
|
|
68
68
|
|
|
69
69
|
<details><summary>diagram source (mermaid)</summary>
|
|
70
70
|
|
|
@@ -102,7 +102,7 @@ Each source starts as soon as its inputs exist. It does not wait for a round to
|
|
|
102
102
|
When one source finds something new (a confirmed email, a GitHub login, an X handle), the sources that
|
|
103
103
|
need it start right away.
|
|
104
104
|
|
|
105
|
-
<p align="center"><img src="assets/diagrams/free-stage.svg" alt="Free stage: sources start as soon as their inputs exist"></p>
|
|
105
|
+
<p align="center"><img src="https://raw.githubusercontent.com/sk1122/openrich/main/assets/diagrams/free-stage.svg" alt="Free stage: sources start as soon as their inputs exist"></p>
|
|
106
106
|
|
|
107
107
|
<details><summary>diagram source (mermaid)</summary>
|
|
108
108
|
|
|
@@ -136,7 +136,7 @@ sequenceDiagram
|
|
|
136
136
|
The router picks the next keyed provider only while `email`, `title`, `company` or `linkedin` is below
|
|
137
137
|
0.8 confidence. After each call it runs Stage 1 again with whatever is new.
|
|
138
138
|
|
|
139
|
-
<p align="center"><img src="assets/diagrams/waterfall.svg" alt="Free-tier waterfall order"></p>
|
|
139
|
+
<p align="center"><img src="https://raw.githubusercontent.com/sk1122/openrich/main/assets/diagrams/waterfall.svg" alt="Free-tier waterfall order"></p>
|
|
140
140
|
|
|
141
141
|
<details><summary>diagram source (mermaid)</summary>
|
|
142
142
|
|
|
@@ -261,7 +261,7 @@ Run `openrich providers` to see which are on and how much quota is left.
|
|
|
261
261
|
|
|
262
262
|
**Left out on purpose:** breach and leak data, court and inmate records, salary lists, gaming sites, and
|
|
263
263
|
sources that block bots (DBLP) or forbid this use. The research behind every choice (426 sources reviewed)
|
|
264
|
-
is in [`research/people-sources.md`](research/people-sources.md).
|
|
264
|
+
is in [`research/people-sources.md`](https://github.com/sk1122/openrich/blob/main/research/people-sources.md).
|
|
265
265
|
|
|
266
266
|
## Usage
|
|
267
267
|
|
|
@@ -312,7 +312,7 @@ Some providers give their free plan only through an MCP server (Enrow is one). `
|
|
|
312
312
|
client: Streamable HTTP, JSON-RPC, OAuth with dynamic client registration and PKCE. A provider calls
|
|
313
313
|
`tools/call` the same way it calls a REST endpoint.
|
|
314
314
|
|
|
315
|
-
<p align="center"><img src="assets/diagrams/mcp-login.svg" alt="MCP sign-in and call sequence"></p>
|
|
315
|
+
<p align="center"><img src="https://raw.githubusercontent.com/sk1122/openrich/main/assets/diagrams/mcp-login.svg" alt="MCP sign-in and call sequence"></p>
|
|
316
316
|
|
|
317
317
|
<details><summary>diagram source (mermaid)</summary>
|
|
318
318
|
|
|
@@ -347,7 +347,7 @@ Keyless servers work too: Parallel's web search MCP needs no token.
|
|
|
347
347
|
| `OPENRICH_HOME` | `~/.openrich` | Folder for keys (`.env`) and the cache. |
|
|
348
348
|
| `ENRICH_DB` | `~/.openrich/db.sqlite` | Where the cache, quotas and learned patterns live. |
|
|
349
349
|
| `PARALLEL_KEYLESS` | on | Set `off` to skip Parallel's keyless search. |
|
|
350
|
-
| `*_API_KEY` | none | Free-plan keys. See [`.env.example`](.env.example). |
|
|
350
|
+
| `*_API_KEY` | none | Free-plan keys. See [`.env.example`](https://github.com/sk1122/openrich/blob/main/.env.example). |
|
|
351
351
|
|
|
352
352
|
## Cache
|
|
353
353
|
|
|
@@ -408,4 +408,4 @@ Adding a source: write a `Provider` (`id`, `kind`, `needs`, `run`) in the right
|
|
|
408
408
|
|
|
409
409
|
## License
|
|
410
410
|
|
|
411
|
-
MIT. See [LICENSE](LICENSE).
|
|
411
|
+
MIT. See [LICENSE](https://github.com/sk1122/openrich/blob/main/LICENSE).
|
package/package.json
CHANGED