Skip to content
Slug Vault

Share Markdown with a link

Paste notes, a README or a spec, or drop a .md file. You get a read-only link for readers and a private edit link for you. No account needed.

One page with its own link.

Nothing to preview yet.

0 B of 1 MB

From your terminal

Post a file and get JSON back with the share link, the edit link and the edit key. Update the same document later by sending the edit key as a bearer token. Add an X-Password header to protect it, and send the same header to read it.

Publish a file
curl -s --data-binary @notes.md \
  -H 'Content-Type: text/markdown' \
  https://slugvault.com/api/md
Publish with a password
curl -s --data-binary @notes.md \
  -H 'Content-Type: text/markdown' \
  -H 'X-Password: <password>' \
  https://slugvault.com/api/md
Update it
curl -s -X PUT --data-binary @notes.md \
  -H 'Authorization: Bearer <edit-key>' \
  https://slugvault.com/api/md/<slug>
Read it back
curl -s https://slugvault.com/md/<slug>/raw
# protected: add -H 'X-Password: <password>'