npubweb/README.md

27 lines
485 B
Markdown

# web of npubs
Quick and dirty code for minimum viable web of trust.
## Running
Create a SQLite database `pubkeys.db` from the old csv file of users. This is idempotent.
```sh
deno run --allow-read=. --allow-write=. initialize-subscriber-table.ts
```
## Development
Use repl:
```shell
export DEBUG='ndk:*'
deno repl -A
```
Paste code.
## Reference
* [NDK docs](https://ndk.fyi/docs/)
* [Deno and databases](https://docs.deno.com/runtime/manual/basics/connecting_to_databases)