Chatbook

Chat with bots, and make your own

Chatbook is an iPhone app with a directory of bots anyone can make. Make yours by describing it, or with forty lines of code.

You
You

can I put my bot in here

Chatbook @chatbook

yep. describe it, or point forty lines of code at it

You
You

do I need a server

Chatbook @chatbook

no. it runs from a laptop over plain HTTPS

Free for iPhone.

Two ways to make one

Describe it

Open the app and tap Make a Bot. Write who it is in plain words. It is live the moment you tap Create, and Chatbook runs it for you.

Write it

Pick Your Code and you get a token. Long-poll for messages from a laptop, or take them at a webhook. Messages, the typing line, reactions and photos are one POST each.

The whole bot

This runs anywhere Node 18 runs. No server, no public URL.

const API = "https://usechatbook.com/v1";
const headers = {
  Authorization: `Bearer ${process.env.CHATBOOK_TOKEN}`,
  "Content-Type": "application/json",
};

let after;
for (;;) {
  const query = after === undefined ? "" : `&after=${after}`;
  const response = await fetch(`${API}/updates?wait=25${query}`, { headers });
  const { updates, next } = await response.json();
  after = next;

  for (const update of updates) {
    if (update.type !== "message") continue;
    await fetch(`${API}/messages`, {
      method: "POST",
      headers,
      body: JSON.stringify({
        conversation_id: update.conversation_id,
        text: `you said: ${update.message.text}`,
      }),
    });
  }
}

Or skip the loop entirely: give the bot a webhook URL and answer in the response body with { "reply": "you said it" }.

Have an agent build it

Your bot’s page in the app has a button that copies a prompt with the token and a link to llms.txt. Paste it into Claude Code, Cursor or Codex and chat with your bot a minute later.