freedomfete@npub.cash on Nostr: Zorya is now able to do these things for the Nostr feed functionality: - Set up ...
Zorya is now able to do these things for the Nostr feed functionality:
- Set up WebSocket connection to relay for Nostr feed (`wss://relay.damus.io`).
- Filter posts by kind and author, requesting a maximum of 25 posts.
- Send request to relay for the filtered feed.
- Handle incoming data from the relay (checking for valid events).
- Convert markdown content of Nostr posts into HTML using marked.js.
- Detect and insert images from Nostr post content (supports PNG, JPG, JPEG, GIF).
- Detect and embed videos from links in the post content (supports MP4, OGV, YouTube).
- Handle audio links and create audio player controls with play/pause functionality.
- Create a responsive layout for audio, video, and image content.
- Update audio player UI with seek bar and time display for accurate playback information.
- Initialize new audio players after content is added to the page.
- Format time for audio player display in MM:SS format.
- Set up WebSocket connection to relay for Nostr feed (`wss://relay.damus.io`).
- Filter posts by kind and author, requesting a maximum of 25 posts.
- Send request to relay for the filtered feed.
- Handle incoming data from the relay (checking for valid events).
- Convert markdown content of Nostr posts into HTML using marked.js.
- Detect and insert images from Nostr post content (supports PNG, JPG, JPEG, GIF).
- Detect and embed videos from links in the post content (supports MP4, OGV, YouTube).
- Handle audio links and create audio player controls with play/pause functionality.
- Create a responsive layout for audio, video, and image content.
- Update audio player UI with seek bar and time display for accurate playback information.
- Initialize new audio players after content is added to the page.
- Format time for audio player display in MM:SS format.