Kinopio → Markdown

· Ben’s Blog

The idea: write a script to convert Kinopio JSON to Markdown. Add some front matter. Then put that Markdown into my eleventy-based blog.

The super basic script is just get the text of the cards, sorted by y position. Like so:

curl -s https://api.kinopio.club/space/HASZ8HDbGXn-1jkG-Zud8
| jq -r '.cards
| sort_by(.y)
| .[] | .name + "\n"'

The flow should be giving the script a URL, and it would spit out a eleventy-compatible markdown file. Title can be space title, and date can be last updated field.

[time passes]

I worked on this some more, and here's what I have so far:

This was generated from this Kinopio space.

# Next steps