Bots and automation, done right
Build bots that people actually want to talk to.
A vendor-neutral hub for developers who build chat bots, AI agents and automations: step-by-step platform guides, hosting and security playbooks, a curated directory and client-side tools that never see your tokens.
Guides
Platform and engineering guides
From your first token to a production bot with queues, retries, monitoring and a security review.
Getting started
What a bot is, how to pick a platform, polling versus webhooks, and the minimum production checklist.
TelegramTelegram bots
Create a bot with BotFather, handle updates with polling or webhooks, add inline keyboards and stay within limits.
DiscordDiscord bots
Register an application, choose Gateway intents, ship slash commands and buttons, and verify HTTP interactions.
WhatsAppWhatsApp Cloud API
Send and receive WhatsApp messages through Meta's official Cloud API with templates, webhooks and opt-in.
SlackSlack bots
Create a Slack app with a manifest, choose scopes, receive events over HTTP or Socket Mode and verify requests.
AIAI chatbots and agents
Add language models to a bot with tool calling, retrieval and MCP while controlling cost, latency and prompt injection.
AutomationAutomation workflows
Design trigger and action workflows, self-host n8n, handle errors and know when to move to code.
WebhooksAPIs and webhooks
Build webhook receivers that verify signatures, acknowledge fast, deduplicate and retry correctly.
ScrapingWeb scraping ethics
When automated collection is acceptable, how to be a polite crawler, and the lines you should not cross.
From webhook to reply
A complete bot in twenty lines
Verify the secret, parse the update, reply through the API, return 200. That is the core of every webhook bot, and it runs on a free serverless tier.
Tip: press Ctrl K or / anywhere to search and jump.
Tools
Utilities that stay on your device
Debug payloads, verify signatures, design embeds and schedule jobs without pasting secrets into someone else's server.
Webhook payload tester
Validate, format and explore JSON payloads, then verify HMAC signatures for GitHub, Slack, Standard Webhooks and more.
CronCron builder
Build and validate cron schedules, read them in plain language and preview the next run times.
HostingBot hosting comparator
Filter and sort hosting providers by price, free tier, always-on, region, ease and bot type, or answer three questions for a recommendation.
Telegram / DiscordTelegram/Discord webhook tester
Build a sendMessage or Discord webhook payload, validate it against the platform limits and send a real test from your browser.
TelegramTelegram API builder
Compose Bot API calls (sendMessage, setWebhook and more) as URLs, curl commands and fetch snippets.
BotFather / DiscordBot command generator
Start from a preset, add options and translations, and get BotFather text, setMyCommands per language and Discord JSON with localizations.
DiscordDiscord embed builder
Design rich embeds with a live preview, check Discord limits and export webhook-ready JSON.
SecretsToken and secret helper
Find leaked bot tokens and API keys in logs or code, redact them, generate strong secrets and decode JWTs.
WhatsAppWhatsApp API cost calculator
Estimate monthly WhatsApp Cloud API spend by message category with rates you copy from Meta's official rate card.
TelegramTelegram keyboard builder
Design inline and reply keyboards visually, validate callback_data limits and copy reply_markup JSON.
SlackSlack Block Kit builder
Compose header, section, context, actions, image and input blocks, preview them and copy chat.postMessage JSON.
WhatsAppWhatsApp message builder
Build text, image, template, reply-button, list and location payloads with limit checks and a curl command.
FlowsConversation flow designer
Sketch bot conversations as connected nodes, simulate them step by step and export a portable JSON graph.
LLMLLM token and cost estimator
Estimate tokens for prompts and history, context usage and daily or monthly cost for an AI bot.
HMACWebhook signature generator
Compute and verify HMAC signatures exactly as GitHub, Stripe, Slack, Meta, Shopify and Standard Webhooks send them.
RetriesBackoff and rate limit calculator
Visualize retry delays with full, equal or decorrelated jitter, total wait time and how long a broadcast takes under a rate limit.
PermissionsPermissions and intents calculator
Compute Discord permission integers, Gateway intents and invite URLs, Telegram admin rights links and Slack app manifest scopes.
QRQR code generator
Turn a t.me, wa.me or invite link into a QR code in your browser, with error correction, colors, quiet zone and SVG or PNG download.
Live checkToken checker
Check whether a Telegram or Discord bot token works and see which bot it belongs to. Tokens are never stored or logged.
Live captureWebhook inspector
Get a unique URL, point a webhook at it and watch the requests arrive: method, headers and body. Expires after 24 hours.
HashHash generator
Hash text or files with Web Crypto: SHA-256, SHA-384, SHA-512 and SHA-1 for legacy checksums.
HMACHMAC verifier
Compute or verify HMAC-SHA256 signatures locally for Slack, GitHub, Stripe-style and custom webhooks.
JWTJWT decoder
Decode a JWT header and payload in your browser. Does not verify signatures and never sends the token anywhere.
MarkdownMarkdown escape
Escape or wrap plain text so Telegram and Discord parse it safely without breaking formatting.
SecretsSecret strength
Estimate entropy of API tokens, webhook secrets and passwords without sending them anywhere.
ChecklistUptime checklist
Interactive checklist for keeping Telegram, Discord and webhook bots online: process managers, health checks, restarts and alerts.
LatencyLatency budget
Allocate milliseconds across webhook ACK, DB, LLM and platform API so Discord and Slack deadlines are met.
ErrorsError code lookup
Look up common Discord Gateway close codes, Discord API errors and Telegram Bot API error descriptions.
TelegramTelegram methods
Search common Telegram Bot API methods and typical parameters.
ChecklistSecurity checklist
Tick through tokens, webhooks, least privilege and logging hygiene.
ChecklistDeploy checklist
Pre-flight checks before promoting a bot to production.
TelegramBotFather commands
Format command lists for BotFather /setcommands paste.
Env.env key diff
Compare keys present in two .env-style texts without showing values by default.
Reference
Sourced numbers and cheat sheets
Message and API limits, rate limits, libraries by language and starter templates. Every factual row links to the official documentation, with a last-checked date.
Platform limits
Message length, embeds, blocks, buttons, commands, file sizes and response deadlines for eight platforms, each with a source link.
DataAPI rate limits
Published sending and request limits per platform, with notes on bursts, buckets and how each API signals a 429.
LibrariesFrameworks and libraries
Maintained libraries for Telegram, Discord, Slack, Matrix, multi-platform and LLM bots, with language and license.
TelegramTelegram cheat sheet
Core methods, update types, formatting, keyboards, webhooks and the errors you will meet most often.
DiscordDiscord cheat sheet
Gateway intents, interactions, response types, components, permissions and rate limit headers on one page.
SlackSlack cheat sheet
Token types, Socket Mode versus HTTP, request signing, mrkdwn, common scopes and errors.
WhatsAppWhatsApp cheat sheet
Endpoints, webhook verification, message types, the 24 hour window, templates and status updates.
CodeStarter code templates
Minimal, working starting points with signature checks and clean shutdown. Copy or download each file.
DataWebhook headers
A quick index of signature headers used by major bot platforms.
DiscordGateway close codes
Selected Discord Gateway close codes with recovery hints.
DataCron examples
Copy-paste 5-field cron expressions commonly used for bot jobs.
DataEnv var cheatsheet
Names you will see in templates: tokens, secrets, ports and database URLs.
DevOpsSIGTERM cheat sheet
What to close when the orchestrator stops your process.
ReliabilityHTTP retry matrix
Which status codes are typically safe to retry.
DiscordIntent bit values
Common intents and their bit numbers for calculate/debug.
TelegramTelegram Update types
Fields you will switch on in a webhook handler.
SlackSlack event types
Frequent event types for Bolt listeners.
DataEnv naming
Consistent names across templates and hosts.
DevOpsLog field conventions
Structured fields that make incidents searchable.
HostingPorts cheat sheet
What usually listens where on a bot VPS.
Telegramsecret_token header
Header name and operational notes for Telegram secret_token.
DiscordInteraction deadlines
Rough deadlines to plan ACK vs defer.
SlackSlack signing basics
Headers and compare steps for Slack request signatures.
WebhooksWebhook HTTP statuses
What to return so platforms retry or stop appropriately.
DevOpsShutdown order
Recommended sequence on SIGTERM.
ArchitectureIdempotency keys
Common key shapes that prevent double side effects.
Telegramparse_mode cheat sheet
HTML vs MarkdownV2 practical notes.
DevOpsProbe timings
Starting points — tune to your cold start and shutdown grace.
TelegramBotCommandScope values
Common scopes for setMyCommands.
DiscordCommon Discord permission names
Frequent flags for invites.
SlackCommon Slack bot scopes
Scopes for Bolt starters.
WebhooksHTTP methods for chat webhooks
Typical verbs by platform.
TelegramHTML parse_mode escapes
Escape less-than greater-than and amp.
DiscordPrivileged intents list
Portal toggles required.
SlackSlack retry headers
Retry attempt metadata.
WhatsAppInbound WhatsApp message types
messages type values.
SecurityRegistered JWT claims
iss sub exp iat.
DataPostgres isolation levels
Choose carefully for queues.
DataRedis key patterns for bots
Namespacing suggestions.
DevOpsSuggested OTel span names
Keep cardinality low.
AIChat completion finish reasons
Interpret provider fields carefully.
DevOpsCron special strings
When scheduler supports them.
DevOpsDocker stop signals
SIGTERM then SIGKILL.
HostingTLS versions for webhooks
Prefer 1.2+.
WebhooksWebhook Content-Type values
Typical inbound types.
DataBase64 vs Base64URL
JWT uses Base64URL.
DataUUID versions
v4 random; v7 time-ordered.
DevOpsSemVer for bot releases
Bump major on breaking chat contracts.
DevOpsLog levels for bots
info success; warn retries; error failures.
ArchitectureJob queue states
pending leased done dead.
Telegramupdate_id idempotency
Use update_id as key.
DiscordSnowflake bit layout
timestamp worker process increment.
ReliabilityACK deadlines summary
Slack/Discord about 3s; ACK before LLM.
DevOpshealthz vs readyz
Liveness vs readiness.
ReliabilityCircuit breaker states
closed open half-open.
SecurityCookie flags for dashboards
Secure HttpOnly SameSite.
ReliabilityStatus page states
operational degraded outage maintenance.
HostingDNS types for bots
A/AAAA CNAME TXT.
SecurityAuthn vs authz
Identity vs permission.
PrivacyPII categories bots touch
Ids content secrets.
Data3-2-1 backup reminder
Three copies two media one offsite.
ReliabilityRate limit algorithms
fixed sliding token bucket.
AIVector metadata fields
tenant_id source_id acl.
MatrixMatrix client event types
m.room.message and state.
Telegramcallback_data size reminder
Keep tiny; server-side state by ref.
DiscordComponent count reminder
Respect docs limits.
SlackBlock Kit limits reminder
Validate before publish.
SecurityPKCE summary
code_verifier and challenge.
DataChat id storage types
Store as text not float.
ArchitectureWorker concurrency knobs
Cap webhook vs LLM separately.
DevOpsTruthy env parsing
Document exact true/1/yes.
WebhooksIdempotent HTTP methods
POST often needs keys.
ReliabilityError budget policy sketch
Spent budget slows launches.
DevOpsVerify template ZIP checksums
sha256sum -c the sha256 file.
SecurityLeaked token response
Revoke or rotate immediately.
WhatsAppGraph API version pinning
Pin GRAPH_VERSION in config.
HostingCDN vs webhook POSTs
Do not cache POST webhooks.
DevOpsMIT license for site templates
Templates ship MIT with LICENSE.
SlackEvents API vs Socket Mode
HTTP vs WebSocket tradeoffs.
DiscordInteraction type numbers
Common type values.
TelegramTelegram chat.type values
private group supergroup channel.
WebhooksJSON Content-Type variants
Prefer application/json.
Hosting/go affiliate link behavior
Minimal logging per privacy.
ReliabilitySafe methods to retry
Retry GET carefully; POST if idempotent.
Principles
What makes a bot legitimate
"Bot" is not a dirty word. The difference between a useful bot and abuse is consent, transparency and restraint.
- It says what it isUsers know they are talking to software, and who operates it.
- It is invitedPeople opt in to messages; servers and workspaces choose to install it.
- It follows the platform rulesOfficial APIs, published rate limits and terms of service, not scraped sessions.
- It takes only what it needsMinimal scopes, minimal data, short retention, a way to delete.
- It protects its credentialsTokens in a secret store, signed webhooks, rotated keys.
- It has an off switchStop commands, unsubscribe, a human fallback and an owner who answers reports.
Directory
A curated map of the bot ecosystem
Official docs, libraries, frameworks, hosting options and security tooling, filtered and described in plain language.
Telegram, Discord, WhatsApp, Slack
Official APIs and the most reliable libraries for each platform.
AILLMs, agents and MCP
Model APIs, local inference, retrieval frameworks and the Model Context Protocol.
InfrastructureHosting, automation and security
Serverless, containers, workflow engines and secret scanners.