← ClaudeAtlas

brewpage-publishlisted

Publish HTML, markdown, text, any file, or a multi-file site to brewpage.app — free hosting with no sign-up. Paste text, share a file, upload a site, or host a temporary page and get an instant public URL to share a link. Asks namespace and password, returns the public URL. Triggers: publish, publish HTML, share link, share a link, share a file, upload to brewpage, host page, host a temporary page, host a website, free hosting, paste text, instant public URL, no sign-up, brewpage, publish site, upload site, upload directory, deploy site, сделай публичную ссылку, опубликуй.
kochetkov-ma/claude-brewcode · ★ 27 · AI & Automation · score 74
Install: claude install-skill kochetkov-ma/claude-brewcode
# brewpage-publish Publish content to **brewpage.app** — free instant hosting for HTML pages, files, and multi-file sites. No sign-up required. ## Workflow ### Step 1: Parse Arguments Extract from the arguments string: - `--ttl N` → TTL in days (default: `15`) - `--entry <filename>` → entry file for SITE uploads (default: auto-detect) - Remaining text → `content_arg` ### Step 2: Detect Content Type | Input | Type | API | |-------|------|-----| | `content_arg` is a directory (`test -d`) | SITE | `POST /api/sites` (dir auto-zipped — primary path) | | `content_arg` ends with `.zip` AND file exists (`test -f`) | SITE | `POST /api/sites` (pre-built archive upload) | | `content_arg` is a file path AND file exists (`test -f`) | FILE | `POST /api/files` (multipart) | | Anything else | HTML | `POST /api/html` (format=markdown) | Mode rule: directory/ZIP → SITE. Single file → FILE. Everything else → HTML (markdown). `POST /api/sites` accepts ONLY a multipart `archive=@file.zip` — there is no raw-folder upload, so a directory is auto-zipped on the fly (the robust default; archive sealing keeps relative paths intact). Stats per type — SITE (dir): HTML count, total size, entry file. SITE (ZIP): file size, entry override. FILE: size + MIME via `file --mime-type -b`. TEXT: char count. ### Step 3: Show Pre-Publish Stats For HTML/FILE: ``` Content: <type description> · <size> · <api endpoint> TTL: <N> days ``` For SITE: detect entry file using priority: 1) `--entry` flag, 2) `