跳到正文
Skillpedia
自动化48k · #4499

dropthehassle-publish

它能做什么

这个工具可以帮你免费把已经做好的网站发布到网上。它会把你的文件(比如 HTML、CSS 和 JavaScript)发布到一个安全的 HTTPS 链接上,并给你一个地址,让别人也能访问你的网站。

适用场景

  • ✓当你想把做好的网站上线时。
  • ✓当你想要一个免费且安全的链接来分享你的网站时。
  • ✓当你想绑定自己的域名,又不想折腾复杂的技术细节时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dropthehassle-publish/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dropthehassle-publish/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我把这个我做的网站发布到网上。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会先检查你的文件是否可以发布。然后,它会把这些文件交给一项服务,让它们在互联网上可以访问,并给你一个链接,方便所有人打开你的网站。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

DropTheHassle publish

Overview

DropTheHassle (https://dropthehassle.com) hosts finished static files (HTML, CSS, JS, images) on a free name.dropthehassle.app link with HTTPS, and can later put the same site on a real domain with no DNS editing. A first deploy needs no account: it returns a live URL and a claim link. This skill makes the agent check that the folder is a finished build, deploy it with the CLI or MCP server, give the human the claim link, and verify the site is live. No DropTheHassle tool can pay, and the agent must never try to. Adapted from the official skill, which also ships a local preflight script and longer references: https://github.com/bosmdavid-gif/dropthehassle-skill

When to Use This Skill

  • Use when the user asks to publish, deploy, host or share a site they built with an AI tool and wants DropTheHassle, or wants it on a free link or their own domain without DNS work and has not picked another host.
  • Use when the folder is static output: a hand-written index.html, or a Vite, Astro, Create React App, Nuxt generate, Next.js output: 'export' or TanStack Start SPA build.
  • Do not use for apps that need a server at runtime (SSR, API routes, server functions, PHP). Say that DropTheHassle only hosts static files.

How It Works

Step 1: Find the finished folder

  • Plain folder with index.html at the top: that is the site.
  • Project with a build script or a vite.config.*, next.config.*, astro.config.* or nuxt.config.*: look for index.html in dist/, build/, out/ or .output/public/. If there is none, install with the lockfile's package manager and run the build first. Next.js needs output: 'export' (writes out/).
  • An index.html that loads /src/main.tsx or another .ts, .tsx, .jsx or /src/ script is a dev entry. Build it.
  • The DropTheHassle CLI and MCP server never run the build. On unbuilt source they stop and print the build command.

Step 2: Check the limits

Before the site is claimed: 25 MB and 1,000 files, and no executables or archives (.exe .msi .apk .dmg .scr .bat .zip .rar .7z .iso). Signed in: 100 MB and 5,000 files. One network can create 5 new unclaimed sites per hour and 20 per day. node_modules, .git and hidden files are left out, except .well-known.

Step 3: Deploy

CLI, run on the project folder after the build (or on the plain site folder):

npx -y dropthehassle deploy .

It prints the live URL and a claim link, and writes .dropthehassle.json in that folder so the next deploy from it updates the same site. That file holds the site's key: keep it out of git. --login puts the site on the human's account after a browser approval; --slug name only works with --login; --code XXXX-XXXX uses a 15-minute dashboard code for an existing site.

MCP, in Claude Code:

claude mcp add dropthehassle -- npx -y dropthehassle-mcp

Then call deploy_site with folder set to the absolute path. The hosted connector https://dropthehassle.com/mcp cannot read the disk: send files inline as {path, content, encoding} (utf8 or base64). Account tools need the human's token from dropthehassle.com, menu, Connect your AI, set as DTH_TOKEN by the human in their own config.

Step 4: Hand over and verify

Tell the human the live URL and the claim link, and that the claim link works for 7 days. An unclaimed site can be removed after that. Then check:

curl -s "https://dropthehassle.com/api/v1/check?host=NAME.dropthehassle.app"

outcome should be live and secure true. The same check is on https://dropthehassle.com/is-my-website-down.

Step 5: Domains, only if asked

Check names with the MCP search_domain tool or curl -s "https://dropthehassle.com/api/v1/domains/search?q=NAME.com", and report only names the answer marks available, with the price it returned. Buying is the human's step: after they claim the site, get_checkout_link returns a checkout.stripe.com link for them to open and pay.

Examples

Example 1: Vite project

User: Put this site online.
Agent: No dist/ yet, so runs npm install && npm run build, then npx -y dropthehassle deploy .
       Reports: Live at https://yourname.dropthehassle.app, plus the claim link (7 days).
       Runs the live check: outcome "live", secure true.

Example 2: Domain search

User: Is there a .com for it?

…
常见问题

什么是“静态文件”?

这些文件在每次访问时都不会变化,比如 HTML 页面、CSS 样式和 JavaScript 脚本。使用 Vite、React 或 Astro 等工具做的网站,通常都会生成这类文件。

任何类型的网站都能发布吗?

不能。这个工具只适用于由静态文件构成的网站。对于需要服务器一直运行才能工作的网站(比如有复杂登录功能,或者运行服务端代码的网站),它是不支持的。

什么是“认领链接”?

它是和你的网站链接一起给你的一个特殊链接,用来证明这个网站属于你,之后你可以借助它管理网站,比如绑定自己的域名。这个链接只在 7 天内有效。

详情

作者的原始描述

Publish a finished static site to a free HTTPS link with DropTheHassle: build it if needed, deploy, hand over the claim link, verify it is live, never spend money.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4499
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能