- Category
- Developer Tools
- Rank
- No. 1979Tools index
- Pricing
- Open Source
- Type
- TOOL
- Builder
- openclaw
- GitHub
- 36 stars
- Date
About
TypeScript tooling in the OpenClaw ecosystem by steipete.
What it does
Hermit is an operational Discord bot for the OpenClaw community. It handles commands, moderation events, role claims, review forms, scheduled maintenance, and specialized case workflows. A Cloudflare Worker serves interactions, pages, and authenticated HTTP endpoints, while a separate Bun process forwards Discord gateway events.
Why it's ranked here
The project solves substantial community operations work, not just chat commands. It combines moderation tools, OAuth-backed submissions, database records, evidence storage, scheduled recovery jobs, and abuse notifications. Its strongest fit is OpenClaw itself, since several domains, channel identifiers, roles, and workflows are specific to that community.
What's good
The architecture gives each workload an appropriate home. Cloudflare handles requests and scheduled jobs, D1 stores structured records through Drizzle, and R2 holds evidence with SHA-256 hashes. Incoming case correspondence requires bearer authentication, validates required fields and attachments, and records both files and an event trail.
Tradeoffs
Deployment spans two runtimes: a Cloudflare Worker and a separately operated Bun gateway forwarder. Setup requires Discord credentials, a D1 database, migrations, matching forwarding keys, and several feature-specific secrets. Some behavior is tied directly to OpenClaw hosts, roles, channels, schedules, and ClawHub case formats, limiting reuse without code changes.
How to use it well
Choose Hermit when operating OpenClaw community workflows across Discord, web forms, and ClawHub moderation. Treat it as a deployable application, then configure credentials, database bindings, migrations, forwarding keys, and relevant integrations. It does not replace a general-purpose Discord bot framework or provide a ready-made bot for unrelated communities.
Technical notes+
src/entry.ts hydrates Worker bindings into the process environment before dynamically importing src/index.ts. That main module constructs the Carbon client, registers commands, listeners, components, modals, HTTP routes, and scheduled recovery work. src/db.ts connects Drizzle to D1, including a primary-session variant. src/forms/server.tsx serves OAuth-backed forms for Discord, GitHub, and Reddit. src/clawhubContentRights/api.ts exposes bearer-protected case retrieval and correspondence intake. src/clawhubContentRights/intake.ts validates attachments, hashes them with SHA-256, and stores them in R2. package.json provides Bun, Wrangler, migration, CSS generation, testing, and type-checking scripts.
Observed
- Primary language
- TypeScript, including TSX for server-rendered pages and forms
- Application interfaces
- Discord commands and events, web forms, scheduled jobs, and authenticated HTTP endpoints
- Runtime platform
- Cloudflare Workers for the main application and Bun for gateway forwarding
- Storage
- Cloudflare D1 through Drizzle ORM, plus R2 for uploaded evidence files
- Install surface
- Source installation uses Bun; deployment and D1 migrations use Wrangler scripts
- Module format
- The package declares ECMAScript modules
Read from README.md, package.json, src/index.ts, src/db.ts, src/entry.ts, src/forms/server.tsx, src/commands/base.ts, src/commands/admin.ts, src/commands/claim.ts, src/commands/betaPings.ts, src/lobsterDossiers/server.tsx, src/clawhubContentRights/api.ts, src/clawhubPublisherAbuse/api.ts, src/clawhubContentRights/cases.ts, src/clawhubContentRights/intake.ts.
What it can do
Provide TypeScript language support
TypeScript code files → Enhanced development experience with syntax highlighting and error detection
Analyze TypeScript code for errors
TypeScript source code → Error reports and diagnostic information
Generate TypeScript type definitions
JavaScript code or API specifications → TypeScript type definition files
Refactor TypeScript code
Existing TypeScript codebase → Restructured and optimized TypeScript code
Compile TypeScript to JavaScript
TypeScript source files → Compiled JavaScript files
Provide code completion suggestions
Partial TypeScript code → Auto-completion suggestions and IntelliSense
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.
