Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,29 @@ Keybase bot-scripting for Node.js - now written all in TypeScript! Send encrypte

You can use this module to script basic Keybase commands such as sending and reading messages and attachments, and managing teams.

- [Creating the bot account](#creating-the-bot-account)
- [Installation](#installation)
- [Hello World](#hello-world)
- [API](#api)
- [Contributions](#contributions)

## Creating the bot account
If that's not already done, create an account for your new bot.

First create a token:
```bash
$ keybase bot token create
NucJHeRHtzjCRPYprX7PFdRyebcf4Ug9
```

Then, create your bot with the token and its username, returning its paper key:
```bash
$ keybase bot signup -u friendlybot -t NucJHeRHtzjCRPYprX7PFdRyebcf4Ug9
spider engine secret duck will maybe read secret message ohno act normal screwdriver fridge banana banana
```

You're all set! For other account commands, run `keybase help bot`.

## Installation

1. Install Node.js 12 or above.
Expand Down