Skip to content

finereli/livespec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

livespec

Upload markdown, get a URL, collect per-block comments. Cloudflare Worker + KV.

Live at https://livespec.finereli.com. Full design notes in SPEC.md.

Use

./livespec upload SPEC.md           # → URL, stores edit token in ~/.livespec/tokens.json
./livespec update <id> SPEC.md      # push a new version
./livespec comments <id>            # print comments as quoted markdown

Or with curl:

curl -X POST https://livespec.finereli.com --data @SPEC.md
curl -X PUT  https://livespec.finereli.com/<id> \
  -H "x-edit-token: <token>" --data @SPEC.md
curl https://livespec.finereli.com/api/docs/<id>/comments

Develop

wrangler dev      # local
wrangler deploy   # ship

Worker is a single file: src/worker.js. No build step.

About

Upload markdown, get a URL, collect per-block comments. Cloudflare Worker + KV.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors