warmknock
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Fail
- exec() — Shell command execution in docs/site/assets/motion-BUxMQCai.js
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Warm, proof-first engineering briefs and draft-only startup outreach engine.
warmknock reads a seed startup's open GitHub issues, /docs, /changelog, and Hacker News threads, compiles a 1-page Typst engineering brief locally in ~80ms, checks the prose with a 19-rule linter, and stages a 70-to-95-word plain-text draft in Gmail without ever sending mail automatically.
Quickstart
No Google Cloud OAuth setup is needed for default runs. Pick the workflow that matches your environment.
(A) Coding agent skill
Run discovery, unclaimed-issue scanning, local Typst compilation, and prose lint checks inside Claude Code, Cursor, Codex, Windsurf, or Antigravity with $0 in extra LLM API keys:
npx skills add Sreejesh06/warmknock
Prompt your coding agent:
"Use
warmknockto initialize my profile fromcv.pdfand GitHub@yourhandle, scanhttps://linear.appfor open engineering issues, and stage an internship draft."
(B) MCP server
Start the 7-tool stdio server (discover_startups, inspect_company_signals, find_tiny_fixes, generate_teardown_pdf, lint_draft, draft_outreach_email, sync_crm) directly via uvx:
uvx --from warmknock warmknock-mcp
Or add it to .cursor/mcp.json / mcp_config.json:
{
"mcpServers": {
"warmknock": {
"command": "uvx",
"args": ["--from", "warmknock", "warmknock-mcp"]
}
}
}
(C) Standalone CLI and localhost studio
Install the CLI with uv (or pipx install warmknock) and generate profile.json from your resume PDF and GitHub handle:
uv tool install warmknock && warmknock init --resume cv.pdf --github you
Scan a target startup, compile a 1-page brief, and review the draft locally before opening Gmail:
# 1. Check open GitHub issues with 0 open PRs, /docs 404s, and outdated package pins
warmknock tiny-fix https://kestrel.dev
# 2. Collect public signals, compile an 80ms Typst PDF, and draft a 75-word email
warmknock research https://kestrel.dev --mode internship --note "reproduced retry race in python sdk #142"
# 3. Review draft, prose lint warnings, and PDF on 127.0.0.1:7842, then open Gmail Compose
warmknock studio
How it works
- Profile allowlist (
warmknock init): Extracts visible text and hidden LaTeX/Annots/URIlinks fromcv.pdfviapypdf, queries GitHub REST for your public repositories, READMEs, and merged external pull requests, and writes an allowlist of verified URLs and metrics toprofile.json(chmod 0600). Claims or URLs absent from your resume and GitHub history are stripped. - Unclaimed-issue and docs scan (
warmknock tiny-fix): Pulls<25-person teams from YC (yc-oss), Launch HN, Ask HN (Who is Hiring?), Product Hunt, and forwarded job-alert emails (LinkedIn, Naukri, Internshala).tiny-fixchecks linked GitHub repos for open issues with0cross-referenced open PRs, broken/docs404links, and stale PyPI/npm install pins. - SSRF-guarded scraping and stealth fallback: Blocks private, loopback, link-local, and cloud-metadata IPs (
169.254.169.254) on every HTTP hop and strips hidden HTML/CSS prompt-injection nodes (display:none,visibility:hidden,opacity:0,aria-hidden="true",<template>, comments). When a stealth startup has almost no public docs or repos,warmknockskips guesswork and drafts a short 65-word builder intro. - 80ms sandboxed Typst PDF (
src/pdf_renderer.py): Passes structured JSON viatypst.compile(..., sys_inputs={"payload": ...}, root=<empty_tmp_dir>)into one of four.typtemplates offline. Untrusted strings containing#,$, or#includeare decoded strictly as JSON data with zero host filesystem read paths. - Prose lint, Studio review, and CRM tracking: Built-in
warmknock lintchecks drafts across 19 prose and formatting rules before staging.warmknock studioserves the pre-compiled React, TypeScript, GSAP, and Lenis interface fromsrc/static/site/(source inweb/) on127.0.0.1:7842without needing Node at runtime, guarded byHost,Origin, CSRF, and nonce CSP headers to preview Typst PDFs, edit copy, open Gmail Web Compose (mail.google.com/mail/?view=cm), and sync stages to SQLite, Google Sheets (sync-sheet), or Streak (sync-streak).
Modes and Typst layouts
Outreach modes (--mode)
| Mode Flag | Audience | Signal Focus & Guardrails | Output |
|---|---|---|---|
--mode internship (default) |
CS students, new grads, and SWEs pitching <25-person teams |
Open SDK/docs issues, Launch HN and YC stack signals, recipient timezone window | 30-day contribution brief PDF + 70-95 word founder email |
--mode freelance-audit |
Independent engineers pitching scoped weekend engagements | SDK retry/async bugs, missing MCP servers, docs friction, concrete 48-hour deliverables | Technical audit PDF + scoped deliverable note |
--mode oss-first-pr |
Contributors reaching out to CNCF, Linux Foundation, and OSS maintainers | Hard-gated behind --pr-url. Requires an existing submitted PR and appends a tool-usage disclosure line |
Maintainer design context PDF linked to your PR |
--mode hackathon-sponsor |
University hackathon organizers and student engineering clubs | Developer API surface, workshop topics, and prize-track fit | Technical sponsorship and hacker-track brief PDF |
Typst layouts (--theme)
warmknock compiles PDFs locally via the self-contained typst wheel in ~80ms and selects one of four layouts deterministically using sha256(user:domain) (or an explicit --theme flag):
| Theme ID | Layout Structure | Good Fit For |
|---|---|---|
stripe_rfc |
Technical RFC metadata table, left-bordered summary box, numbered headers, and timeline pills | API, fintech, infrastructure, and developer tools |
linear_minimal |
Warm umber two-column left-rail engineering brief with generous whitespace and hairline rules | Product SaaS, design engineering, and AI tools |
academic_systems |
Systems-paper typography (Libertinus Serif body with sans headers) and booktabs schedule table |
ML research, data systems, compilers, and upstream OSS |
arch_matrix |
Two-column header cards paired with an Open Gap -> First 30 Days -> Shipped Work table |
Scoped audits, SDK patches, and hackathon briefs |
Plain-text Touch #1 default: Initial cold emails stay between
70and95words of plain text with no unsolicited PDF attachments, keeping deliverability clean on Google Workspace. Pass--attach-pdfwhen attaching your Typst brief on warm intros or Touch #2 replies.
CLI reference
# Build verified profile.json from resume PDF (including LaTeX /Annots links) + GitHub
warmknock init --resume cv.pdf --github Sreejesh06
# Scan unclaimed 0-PR issues, compile research PDF, lint prose, or prep for a founder call
warmknock tiny-fix https://kestrel.dev
warmknock research https://kestrel.dev --mode internship --theme stripe_rfc --note "reproduced issue #88 locally"
warmknock lint draft.txt # check a draft or markdown file for filler phrases & clutter
warmknock prep kestrel.dev # 15-minute call prep brief with recent repo commits
# Batch discovery + drafting with optional scraping/search adapters (zero-key HTTP default)
warmknock run --limit 5 --source yc # all | yc | launchhn | hn | producthunt
warmknock run --limit 5 --scraper firecrawl --search tavily
# Localhost review UI (127.0.0.1:7842) and static landing page export
warmknock studio
warmknock export-site
# Pipeline status, mailbox stage tracking, follow-ups, and CRM sync
warmknock status
warmknock track
warmknock followups --dry-run
warmknock sync-sheet
warmknock sync-streak
| Flag | Values / Default | Purpose |
|---|---|---|
--mode |
internship (default) · freelance-audit · oss-first-pr · hackathon-sponsor |
Outreach mode, word-count bounds, and gates |
--theme |
auto (SHA-256) · stripe_rfc · linear_minimal · academic_systems · arch_matrix |
Typst PDF layout template |
--note |
Free-text string | One-line observation from testing the target product or repo |
--pr-url |
https://github.com/<org>/<repo>/pull/<n> |
Required pull request URL before --mode oss-first-pr runs |
--scraper |
http (default, 0 keys) · firecrawl · jina |
Optional JS-rendering /docs scraper (FIRECRAWL_API_KEY / JINA_API_KEY) |
--search |
default / hn (HN + RSS, 0 keys) · tavily · serpapi |
Optional search adapter (TAVILY_API_KEY / SERPAPI_API_KEY) |
--attach-pdf |
false (default) |
Attaches compiled Typst PDF via multipart/mixed MIME in GmailDraftClient |
--lowercase |
false (default: sentence case) |
Opt-in lowercase email style (preserves case inside URLs) |
Safety defaults
- Draft-only by code:
GmailDraftClientcontains zeromessages.sendordrafts.sendcalls, verified in CI. Default runs open a pre-filled Gmail Web Compose URL (mail.google.com/mail/?view=cm) without requiring Gmail OAuth scopes. - 10-draft daily ceiling and
.eduprotection: EnforcesMAX_DRAFTS_PER_DAY = 10, verifies MX records before drafting, skips role addresses (support@,billing@,noreply@), and warns when a university.eduor.ac.inaddress is configured inprofile.json. - Zero browser-cookie scraping: Never automates LinkedIn or reads browser cookies. All signals come from public feeds (
yc-oss, HN Algolia, GitHub REST, RSS, public/docs) or job alerts forwarded to your own inbox. - 19-rule prose linter (
warmknock lint): Built-in linear-time linter catches filler phrases, puffery, weak verbs, binary contrasts, colon reveals, and formatting clutter before a draft is staged. - SSRF and Typst sandbox isolation: Rejects loopback, RFC1918, CGNAT, and cloud-metadata IPs on every redirect hop, and compiles Typst templates inside an empty temporary root directory.
Static showcase hosting ($0/month Cloudflare Workers)
warmknock export-site outputs a self-contained static bundle in docs/site/ (index.html, _headers, /assets/*, /fonts/*, /logos/*, /mascot/*, /backdrops/*). Root wrangler.jsonc deploys that directory to Cloudflare Workers Static Assets on the Workers Free plan with zero Worker script invocations, unlimited static asset requests, strict Content-Security-Policy and ! Cache-Control immutable asset headers, and zero paid bindings:
# Local workerd runtime preview on http://127.0.0.1:8788
npm --prefix web ci && npm --prefix web run build && npm --prefix web run sync-site
warmknock export-site
npm --prefix web run cf:dev
# One-command live deploy to *.workers.dev (or automatic CI via CLOUDFLARE_API_TOKEN)
npm --prefix web exec -- wrangler login && npm --prefix web run cf:deploy
See docs/DEPLOYMENT.md and .github/workflows/deploy-cloudflare.yml for GitHub Actions secrets and custom domain setup.
Sponsors and ecosystem adapters
warmknock is MIT-licensed, local-first, and free to run. Sponsors support ongoing maintenance, test suites, and optional --scraper and --search provider adapters in src/providers.py while keeping zero-key HTTP, HN Algolia, and RSS defaults built in. See docs/SPONSORING.md, .github/FUNDING.yml, or GitHub Sponsors.
Development
git clone https://github.com/Sreejesh06/warmknock.git
cd warmknock
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
pytest -q
# Optional: typecheck and rebuild the React + TypeScript + Vite Studio UI (Node 22+)
cd web && npm ci && npm run build
Tests run offline against deterministic fixtures (profile.example.json, .env.example), covering Typst sandbox isolation, SSRF and hidden-DOM stripping, prose lint ReDoS bounds, Studio CSRF/CSP headers, and draft-only Gmail invariants. See CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md.
License
Released under the MIT License. Copyright (c) 2026 Sreejesh S (@Sreejesh06).
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found