I get told to shut up a lot by my friend. This is the microsite that documents this in detail. shutup.jp
postcards microsite
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: turned off accidental lossless webp

The postcards tool was accidentally creating lossless webP images, which were multiple megabytes each. This reduces them to 70% accuracy, which is plenty good enough for the internet, and reduces their size to under half a MB each.

+13 -2
+1 -1
Taskfile.yml
··· 21 21 postcards: 22 22 desc: Pulls postcards from `ORIGINAL_POSTCARDS` (as specified in `.env`) 23 23 cmds: 24 - - postcards -f web --remove-border --out-dir ./postcards "${ORIGINAL_POSTCARDS}"/* 24 + - /Users/jp/src/personal/dotpostcard/dist/postcards_darwin_arm64_v8.0/postcards -f web --remove-border --out-dir ./postcards "${ORIGINAL_POSTCARDS}"/*
+4 -1
index.html.tmpl
··· 37 37 </label> 38 38 39 39 <figcaption> 40 - <div class="title">{{ with .Meta.Location }}<span>{{ .Name }}</span>{{ end }}{{ with .Meta.SentOn }} <time datetime="{{ . }}">{{ .Format "January 2, 2006" }}</time>{{ end }}</div> 40 + <div class="title"> 41 + {{- with .Meta.Location }}<span>{{ .Name }}</span>{{ end -}} 42 + {{- with .Meta.SentOn }} <time datetime="{{ . }}">{{ .Format "January 2, 2006" }}</time>{{ end -}} 43 + </div> 41 44 <div class="transcription">{{- .Meta.Back.Transcription | annotate -}}</div> 42 45 </figcaption> 43 46 </figure>
+1
main.go
··· 41 41 Countries: make(mapping.Countries), 42 42 } 43 43 toCopy := []string{ 44 + "static/ar.svg", 44 45 "static/postcard.css", 45 46 "static/shutup.css", 46 47 "static/bg-light.png",
postcards/agdq.postcard.webp

This is a binary file and will not be displayed.

postcards/assisi.postcard.webp

This is a binary file and will not be displayed.

postcards/athens.postcard.webp

This is a binary file and will not be displayed.

postcards/big-pit.postcard.webp

This is a binary file and will not be displayed.

postcards/boston.postcard.webp

This is a binary file and will not be displayed.

postcards/cambodia.postcard.webp

This is a binary file and will not be displayed.

postcards/canada.postcard.webp

This is a binary file and will not be displayed.

postcards/china.postcard.webp

This is a binary file and will not be displayed.

postcards/detroit.postcard.webp

This is a binary file and will not be displayed.

postcards/dubai.postcard.webp

This is a binary file and will not be displayed.

postcards/first.postcard.webp

This is a binary file and will not be displayed.

postcards/france.postcard.webp

This is a binary file and will not be displayed.

postcards/georgia.postcard.webp

This is a binary file and will not be displayed.

postcards/guatemala.postcard.webp

This is a binary file and will not be displayed.

postcards/iceland.postcard.webp

This is a binary file and will not be displayed.

postcards/italy.postcard.webp

This is a binary file and will not be displayed.

postcards/japan.postcard.webp

This is a binary file and will not be displayed.

postcards/korea-butt.postcard.webp

This is a binary file and will not be displayed.

postcards/korea.postcard.webp

This is a binary file and will not be displayed.

postcards/leica.postcard.webp

This is a binary file and will not be displayed.

postcards/lisbon.postcard.webp

This is a binary file and will not be displayed.

postcards/loch-ness.postcard.webp

This is a binary file and will not be displayed.

postcards/madrid.postcard.webp

This is a binary file and will not be displayed.

postcards/malaysia.postcard.webp

This is a binary file and will not be displayed.

postcards/morocco.postcard.webp

This is a binary file and will not be displayed.

postcards/new-zealand.postcard.webp

This is a binary file and will not be displayed.

postcards/nyc.postcard.webp

This is a binary file and will not be displayed.

postcards/oklahoma.postcard.webp

This is a binary file and will not be displayed.

postcards/philadelphia.postcard.webp

This is a binary file and will not be displayed.

postcards/portland.postcard.webp

This is a binary file and will not be displayed.

postcards/portugal.postcard.webp

This is a binary file and will not be displayed.

postcards/seattle.postcard.webp

This is a binary file and will not be displayed.

postcards/singapore-breakfast.postcard.webp

This is a binary file and will not be displayed.

postcards/singapore.postcard.webp

This is a binary file and will not be displayed.

postcards/split.postcard.webp

This is a binary file and will not be displayed.

postcards/sri-lanka.postcard.webp

This is a binary file and will not be displayed.

postcards/stockholm.postcard.webp

This is a binary file and will not be displayed.

postcards/taiwan.postcard.webp

This is a binary file and will not be displayed.

postcards/thailand-dejavu.postcard.webp

This is a binary file and will not be displayed.

postcards/thailand.postcard.webp

This is a binary file and will not be displayed.

postcards/vancouver.postcard.webp

This is a binary file and will not be displayed.

postcards/vietnam-hologram.postcard.webp

This is a binary file and will not be displayed.

postcards/vietnam.postcard.webp

This is a binary file and will not be displayed.

postcards/wat-rong-khun.postcard.webp

This is a binary file and will not be displayed.

postcards/welsh-life.postcard.webp

This is a binary file and will not be displayed.

+1
static/ar.svg
··· 1 + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M201.1 64 256 32l54.9 32"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M256 32v80"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M310.9 448 256 480l-54.9-32"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M256 480v-80"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 207.5V144l53.2-31.5"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="m64 144 67.3 40"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M448 304.5V368l-53.1 31.5"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="m448 368-67.3-40"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M117.2 400 64 368v-63.5"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="m64 368 66.6-40"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M394.9 112.5 448 144v63.5"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="m448 144-67.3 40M256 320v-64l54.9-32M256 256l-54.9-32"/></svg>
+6
static/shutup.css
··· 256 256 [lang="zh-CN"]::after { content: 'πŸ‡¨πŸ‡³' } 257 257 [lang="zh-SG"]::after { content: 'πŸ‡ΈπŸ‡¬/πŸ‡¨πŸ‡³' } 258 258 [lang="zh-TW"]::after { content: 'πŸ‡ΉπŸ‡Ό' } 259 + 260 + a,span { 261 + img[src$=".svg"] { 262 + height: 1em; 263 + } 264 + }