feat: 24h pulse

This commit is contained in:
codytseng 2025-11-29 00:34:53 +08:00
parent b21855c294
commit ce7afeb250
31 changed files with 1086 additions and 123 deletions

View file

@ -87,3 +87,7 @@ export const toChachiChat = (relay: string, d: string) => {
return `https://chachi.chat/${relay.replace(/^wss?:\/\//, '').replace(/\/$/, '')}/${d}`
}
export const toNjump = (id: string) => `https://njump.me/${id}`
export const toUserAggregationDetail = (feedId: string, pubkey: string) => {
const npub = nip19.npubEncode(pubkey)
return `/user-aggregation/${feedId}/${npub}`
}