Hello, this is a test of the CLI.
CLI
This is a test of the CLI blackend.
CLI
This is a test of the CLI blackend.
JotSpot can be used directly from the terminal to create and manage shareable Markdown notes.
This page was written and updated entirely via the CLI.
CLI docs: https://jotspot.io/cli
curl -X POST https://jotspot.io/api/v1/jots/text \
-d "Hello from the terminal"
curl -X POST https://jotspot.io/api/v1/jots/text \
--data-binary @notes.md
echo "Quick jot from bash" | \
curl -X POST https://jotspot.io/api/v1/jots/text \
--data-binary @-
uptime | curl -X POST https://jotspot.io/api/v1/jots/text --data-binary @-
Example use cases:
Every jot can be fetched as raw text.
curl https://jotspot.io/j/<id>.txt
or
curl https://jotspot.io/j/<id>.md
curl -H "Authorization: Bearer YOUR_API_KEY" \
-X PATCH https://jotspot.io/api/v1/jots/<id>/text \
--data-binary @updated.md
Create a jot and extract the URL:
URL=$(curl -s -X POST https://jotspot.io/api/v1/jots/text \
--data-binary @notes.md | jq -r .url)
echo "Jot created: $URL"
Sometimes you just want to:
JotSpot makes that a single command.
Browser editor:
CLI documentation:
Score: 0
View-only mode. Editing requires your private owner token.
Comments
Loading comments...