···7788tasks:
99 build:
1010+ desc: Builds the site from constituent parts
1011 cmds:
1112 - go run .
1213 serve:
1414+ desc: Serves the site locally (with no auto-updating)
1315 cmds:
1416 - serve -n dist/
1517 dev:
1818+ desc: Allows for local development, rerunning `task build` when changes are spotted
1619 cmds:
1720 - task serve & find {*.tmpl,static,*.go} -type f | entr -cc task build
1821 postcards:
2222+ desc: Pulls postcards from `ORIGINAL_POSTCARDS` (as specified in `.env`)
1923 cmds:
2024 - for y in "${ORIGINAL_POSTCARDS}"/*.yaml; do postcards compile --outdir ./postcards --web --override "$y"; done
+1
postcards/isle-of-man.json
···11+{"locale":"en-GB","location":{"name":"Isle of Man"},"flip":"book","sentOn":"???","sender":{"name":"??? — not Claire!"},"recipient":{"name":"JP"},"front":{},"back":{"transcription":"\u003cspan lang=\"fr-IM\"\u003eTa gueule JP\u003c/span\u003e\nor, as they\nwould say\nover here\n\u003cspan lang=\"gv-IM\"\u003eDùn do chab, JP\u003c/span\u003e\n\nI had to go to a country entirely devoid of penis-themed postcards for your birthday but they got more trains than towns.\n","secrets":[[[0.5675949367,0.5226950355],[0.9144303797000001,0.5226950355],[0.9144303797000001,0.7744680851],[0.5675949367,0.7744680851]]]},"frontSize":{"cmW":"1975/128","cmH":"705/32","pxW":1975,"pxH":1410},"context":{"author":{"name":""},"description":""}}
postcards/isle-of-man.webp
This is a binary file and will not be displayed.
+1
postcards/japan.json
···11+{"locale":"en-GB","location":{"name":"Japan","lat":35.71,"long":139.71},"flip":"left-hand","sentOn":"2024-04-15","sender":{"name":"Claire","uri":"https://www.instagram.com/claire.durrant88/"},"recipient":{"name":"JP"},"front":{"description":"From \"To Love Ru\" manga: In a flowering meadow, under a blue sky, a gently smiling large chested anime woman (with pink hair and a gold necklace, crown, and heart-shaped staff) stands back to back with a cross-armed charcter in a blue cape facing away from us.\n"},"back":{"transcription":"\u003cspan lang=\"ja-JA\"\u003e黙って、JP!\u003c/span\u003e","secrets":[[[0.6200335758,0.4601844091],[0.9054280916999999,0.4601844091],[0.9054280916999999,0.6777032691],[0.6200335758,0.6777032691]]]},"frontSize":{"cmW":"39750/3937","cmH":"119100/3937","pxW":2385,"pxH":3573},"context":{"author":{"name":""},"description":""}}
postcards/japan.webp
This is a binary file and will not be displayed.
+1
postcards/korea-butt.json
···11+{"locale":"en-GB","location":{"name":"South Korea","lat":37.54,"long":126.99},"flip":"right-hand","sentOn":"2024-04-23","sender":{"name":"Claire","uri":"https://www.instagram.com/claire.durrant88/"},"recipient":{"name":"JP"},"front":{"description":"A smiling, orange illustrated person falling over, with their butt in the air, papers flying overhead, possibly flipping the bird at us. Korean text below seems to read \"I don't want to work, dance\".\n"},"back":{"transcription":"\u003cspan lang=\"ko-KR\"\u003e입다물어, JP\u003c/span\u003e","secrets":[[[0.5683106576,0.6098579783],[0.8557256235999999,0.6098579783],[0.8557256235999999,0.7522974102],[0.5683106576,0.7522974102]]]},"frontSize":{"cmW":"119650/11811","cmH":"352700/11811","pxW":2393,"pxH":3527},"context":{"author":{"name":""},"description":""}}