Skip to content
undeleted
How this was published

publish.

curl https://plan.undeleted.sh/publish \
  -X POST \
  -H "Authorization: Bearer $PLAN_API_KEY" \
  -H "Content-Type: text/html" \
  -H "X-Plan-Visibility: public" \
  -H "X-Plan-Title: Q3 roadmap" \
  --data-binary @roadmap.html
# => {"id":"rd4dm4p9","url":"https://plan.undeleted.sh/p/rd4dm4p9", ...}

upload the assets.

curl -X PUT https://plan.undeleted.sh/publish/rd4dm4p9/assets/style.css \
  -H "Authorization: Bearer $PLAN_API_KEY" \
  -H "Content-Type: text/css" \
  --data-binary @style.css

curl -X PUT https://plan.undeleted.sh/publish/rd4dm4p9/assets/logo.svg \
  -H "Authorization: Bearer $PLAN_API_KEY" \
  -H "Content-Type: image/svg+xml" \
  --data-binary @logo.svg

the source.

<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <link rel="stylesheet" href="assets/style.css">
</head>
<body>
  <img class="logo" src="assets/logo.svg" width="40" height="40" alt="">
  <h1>Q3 roadmap</h1>
  <p>Three themes this quarter: latency, share links, and the CLI.</p>
</body>
</html>