A quick vibecoded webapp on exe.dev that I liked enough to save the source for.
0
fork

Configure Feed

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

Sort contacts by most overdue first

Ubuntu 51ab47ed 110d279b

+5
+5
srv/server.go
··· 9 9 "net/url" 10 10 "path/filepath" 11 11 "runtime" 12 + "sort" 12 13 "strconv" 13 14 "strings" 14 15 "time" ··· 104 105 } 105 106 data.Contacts = append(data.Contacts, cv) 106 107 } 108 + // Sort by most overdue first 109 + sort.Slice(data.Contacts, func(i, j int) bool { 110 + return data.Contacts[i].DaysOverdue > data.Contacts[j].DaysOverdue 111 + }) 107 112 } 108 113 } 109 114