Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .claude/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "0.0.1",
"configurations": [
{
"name": "block-kit-builder-template",
"name": "block-kitchen-template",
"runtimeExecutable": "pnpm",
"runtimeArgs": ["wrangler", "dev", "--port", "8787"],
"port": 8787
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
blank_issues_enabled: false
contact_links:
- name: Security vulnerability
url: https://github.com/TightknitAI/block-kit-builder-template/security/advisories/new
url: https://github.com/TightknitAI/block-kitchen-template/security/advisories/new
about: Report security issues privately — see SECURITY.md. Do not open a public issue.
- name: block-kit-builder package issues
url: https://github.com/TightknitAI/block-kit-builder/issues
- name: block-kitchen package issues
url: https://github.com/TightknitAI/block-kitchen/issues
about: For bugs in the React component itself (drag-and-drop, block editing, preview), file there.
- name: slack-hono issues
url: https://github.com/TightknitAI/slack-hono/issues
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# block-kit-builder Template
# block-kitchen Template

A Vite + React SPA on Cloudflare Workers that uses [block-kit-builder](https://github.com/TightknitAI/block-kit-builder) to compose Slack messages and post them via [slack-hono](https://github.com/TightknitAI/slack-hono) + [slack-web-api-client](https://github.com/slack-edge/slack-web-api-client). Validates every send against [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator) for defense in depth.
A Vite + React SPA on Cloudflare Workers that uses [block-kitchen](https://github.com/TightknitAI/block-kitchen) to compose Slack messages and post them via [slack-hono](https://github.com/TightknitAI/slack-hono) + [slack-web-api-client](https://github.com/slack-edge/slack-web-api-client). Validates every send against [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator) for defense in depth.

## What you get

Expand Down Expand Up @@ -131,7 +131,7 @@ pnpm run logs

```
┌─────────────────────────────┐
│ block-kit-builder │ React component, all UX
│ block-kitchen │ React component, all UX
│ (npm package) │
└──────────────┬──────────────┘
│ loadChannels / loadSendAsUserStatus / onSend
Expand All @@ -153,7 +153,7 @@ The package never makes Slack API calls — the Worker does. The Worker validate

```
src/
client/ — Vite React SPA (single page, mounts <BlockKitBuilder>)
client/ — Vite React SPA (single page, mounts <BlockKitchen>)
main.tsx
App.tsx
styles.css
Expand All @@ -175,4 +175,4 @@ MIT. See [LICENSE](./LICENSE).

---

Built with [block-kit-builder](https://github.com/TightknitAI/block-kit-builder), [slack-hono](https://github.com/TightknitAI/slack-hono), and [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator). Maintained by the [Tightknit](https://tightknit.ai) team.
Built with [block-kitchen](https://github.com/TightknitAI/block-kitchen), [slack-hono](https://github.com/TightknitAI/slack-hono), and [slack-block-kit-validator](https://github.com/TightknitAI/slack-block-kit-validator). Maintained by the [Tightknit](https://tightknit.ai) team.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This template handles Slack OAuth tokens and signing secrets, so we take vulnera

**Please do not open a public GitHub issue.** Use one of the private channels below.

- **GitHub Security Advisories** (preferred): open a private report at <https://github.com/TightknitAI/block-kit-builder-template/security/advisories/new>.
- **GitHub Security Advisories** (preferred): open a private report at <https://github.com/TightknitAI/block-kitchen-template/security/advisories/new>.
- **Email**: send details to <security@tightknit.ai>.

Include enough to reproduce: affected version or commit, the route or flow, expected vs. actual behavior, and any PoC. If a fix is straightforward we may invite you to a private fork.
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Block Kit Builder Template</title>
<title>Block Kitchen Template</title>
</head>
<body>
<div id="root"></div>
Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"display_information": {
"name": "Block Kit Builder",
"description": "Compose Slack messages with a visual block kit builder."
"name": "Block Kitchen",
"description": "Compose Slack messages with a visual block kitchen."
},
"features": {
"bot_user": {
"display_name": "Block Kit Builder",
"display_name": "Block Kitchen",
"always_online": false
}
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "block-kit-builder-template",
"name": "block-kitchen-template",
"version": "0.1.0",
"private": true,
"description": "Template app — Slack Block Kit Builder UI on Cloudflare Workers, sending messages via slack-hono.",
"description": "Template app — Slack Block Kitchen UI on Cloudflare Workers, sending messages via slack-hono.",
"type": "module",
"scripts": {
"dev": "vite dev",
Expand All @@ -20,7 +20,7 @@
"install-app": "bash scripts/install-app.sh"
},
"dependencies": {
"@tightknitai/block-kit-builder": "0.1.0-alpha.0",
"@tightknitai/block-kitchen": "0.1.0-alpha.0",
"@tightknitai/slack-block-kit-validator": "0.1.0-alpha.0",
"hono": "^4.12.18",
"react": "^19.2.6",
Expand Down
12 changes: 6 additions & 6 deletions src/client/App.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { useMemo, useState } from "react";
import {
BlockKitBuilder,
type BlockKitBuilderProps,
BlockKitchen,
type BlockKitchenProps,
type ChannelOption,
type SendAsUserStatus,
type SendPayload,
type SendResult,
} from "@tightknitai/block-kit-builder";
} from "@tightknitai/block-kitchen";

type Mode = "message" | "modal";

type BuilderIO = Pick<BlockKitBuilderProps, "loadChannels" | "loadSendAsUserStatus" | "onSend">;
type BuilderIO = Pick<BlockKitchenProps, "loadChannels" | "loadSendAsUserStatus" | "onSend">;

const messageIO: BuilderIO = {
loadChannels: async (): Promise<ChannelOption[]> => {
Expand Down Expand Up @@ -68,7 +68,7 @@ export function App() {
return (
<div className="app">
<header className="app__header">
<h1>Block Kit Builder Template</h1>
<h1>Block Kitchen Template</h1>
<p>
Drag blocks → preview → click <strong>Send</strong>. Install at{" "}
<a href="/slack/install">/slack/install</a> first.
Expand Down Expand Up @@ -100,7 +100,7 @@ export function App() {
</div>
</header>
<main className="app__main">
<BlockKitBuilder key={mode} workspaceName="Slack" {...io} />
<BlockKitchen key={mode} workspaceName="Slack" {...io} />
</main>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/client/main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "@tightknitai/block-kit-builder/styles.css";
import "@tightknitai/block-kitchen/styles.css";
import "./styles.css";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
Expand Down
2 changes: 1 addition & 1 deletion wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "block-kit-builder-template",
"name": "block-kitchen-template",
"main": "src/worker/index.ts",
"compatibility_date": "2026-04-01",
"compatibility_flags": ["nodejs_compat"],
Expand Down