feat(nostr): Implement Nostr Feed with real-time note fetching

- Add NostrFeed component to display Nostr network notes
- Integrate date-fns for human-readable timestamp formatting
- Enhance NostrClient with fetchNotes and subscribeToNotes methods
- Implement loading, error, and empty state handling
- Add scrollable card-based UI for note display
- Configure dynamic relay selection with fallback to environment variables
This commit is contained in:
padreug 2025-03-09 16:57:22 +01:00
parent 68d6001880
commit 00f4bfa583
5 changed files with 195 additions and 3 deletions

View file

@ -1,10 +1,12 @@
<template>
<div class="container py-8">
<NostrFeed />
</div>
</template>
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
import NostrFeed from '@/components/nostr/NostrFeed.vue'
const { t } = useI18n()
</script>