# ShareHammer > Instant static web hosting. Files to live URL in seconds. ## API Base URL: https://api.sharehammer.com/api/v1 ### Quick Start (3 steps, no auth required) 1. POST /nails with file manifest → get presigned upload URLs 2. PUT each file to its presigned URL 3. POST /nails/{slug}/finalize → nail is live ### Publish a single HTML file ```bash # Step 1: Create nail curl -X POST https://api.sharehammer.com/api/v1/nails \ -H "Content-Type: application/json" \ -d '{"files": [{"path": "index.html", "size": SIZE_IN_BYTES, "contentType": "text/html"}]}' # Returns: { slug, url, upload: { files: [{ path, uploadUrl, contentType }] } } # Step 2: Upload file to the presigned URL curl -X PUT "UPLOAD_URL_FROM_STEP_1" \ -H "Content-Type: text/html" \ --data-binary @index.html # Step 3: Finalize curl -X POST https://api.sharehammer.com/api/v1/nails/SLUG/finalize # Returns: { slug, url, status: "active" } ``` The site is now live at https://{slug}.sharehammer.com ### Project Binding Create .sharehammer.json with {"slug":"my-slug"} to link a directory to a nail. Subsequent deploys to that directory will update the same nail. The CLI creates this file automatically after the first deploy. AI agents should check for this file before deploying. ## Full API docs: https://sharehammer.com/llms-full.txt ## Dashboard: https://api.sharehammer.com ## Homepage: https://sharehammer.com