Distort your Bluesky avatar based on how much you're tired, according to your WHOOP band
1
fork

Configure Feed

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

*: remove strained pic after upload, if `--no-publish` is not defined

geesawra ca82e704 82d34bc3

+7 -2
+7 -2
main.go
··· 106 106 if err != nil { 107 107 return fmt.Errorf("could not create temp file for strained avatar: %w", err) 108 108 } 109 - defer func() { _ = strained.Close() }() 109 + defer func() { 110 + _ = strained.Close() 111 + if !noPublish { 112 + _ = os.Remove(strained.Name()) 113 + } 114 + }() 110 115 111 116 applyStrainFilter(strainScore, file, strained) 112 - log.Printf("filtered image at %s", strained.Name()) 113 117 114 118 if noPublish { 119 + log.Printf("filtered image at %s", strained.Name()) 115 120 return nil 116 121 } 117 122