Implement cross-posting MVP with WebSub and real-time updates - #238
Draft
kualta wants to merge 14 commits into
Draft
Implement cross-posting MVP with WebSub and real-time updates#238kualta wants to merge 14 commits into
kualta wants to merge 14 commits into
Conversation
- Add cross-posting settings UI with RSS source management - Implement WebSub subscriptions for real-time post detection - Add RSS parsing with platform detection (Medium, Substack, Ghost, etc.) - Create webhook endpoint for WebSub notifications - Add Server-Sent Events for real-time UI updates - Show cross-posted content list with original/Fountain links - Include Account Manager placeholder for future auto-publishing - Add comprehensive documentation in rss-crosspost.md Features: - Real-time post detection when publishing on external platforms - Platform-specific RSS URL validation and detection - WebSub hub detection and subscription - Live updates in settings UI when new posts are detected - Toast notifications for imported content - Status tracking (draft/published/failed) for cross-posted articles
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
The preview deployment failed. 🔴 Last updated at: 2025-06-05 13:30:40 CET |
- Move helper functions out of API route files to fix Next.js export restrictions - Create separate utility modules for cross-posted content storage and SSE broadcasting - Fix TypeScript errors for undefined types and missing properties - Remove invalid props from Lucide icons All build errors resolved, ready for Vercel deployment.
- Document project architecture, commands, and development workflow - Add branch and PR strategy requiring draft PRs for all new work - Include code style guidelines and commit/PR best practices - Make CLAUDE.md trackable in git for team collaboration
Minor documentation update to test deployment with new env vars
Allow any valid URL and let server validate if it's actually an RSS feed. Previous validation was too strict and rejected valid RSS URLs.
- Add better error handling in SSE events endpoint - Improve client-side SSE connection logging - Add connection state monitoring - Handle ping messages properly - Add safety checks for blogAddress
- Improve WebSub notification logging with timestamps and content preview - Add detailed WebSub subscription success/failure logging - Create health check endpoint at /api/webhooks/health for testing - Add better error details for WebSub subscription failures
- Create /api/debug/webhook-logs endpoint to store webhook activity logs - Add /debug/webhook-logs page to view logs in browser without server access - Log all WebSub subscription attempts, verifications, and notifications - Include detailed error information and timestamps - Auto-refresh logs every 5 seconds for real-time monitoring
- Move addWebhookLog function from API route to separate utility module - Create /lib/cross-posting/webhook-logs.ts for shared logging functionality - Fix 'Route export field' validation errors preventing deployment - Build now completes successfully with only expected dynamic route warnings
- Create /settings/subscriptions page for newsletter subscriptions - Create /settings/editor page for editor preferences - Create /settings/stats page for analytics dashboard - Create /settings/layouts page for blog themes and layouts - Create /settings/team page for team collaboration - All pages show 'Coming Soon' placeholders to fix 404 errors
- Move webhook logs to shared memory storage to persist across function calls - Add console logging for all webhook log entries - Add test log endpoint for debugging logging system - Add explicit logging when RSS source addition starts - Use same storage pattern as RSS sources for consistency
- Show SSE connection status - Display last check time and WebSub hub URL - Add quick link to webhook logs - Remove server logs attempt (won't work with serverless) - Improve visibility without needing Vercel access
- Remove debug/webhook-logs page and all debug API endpoints - Remove webhook logging utility and storage - Clean up all addWebhookLog calls from API routes - Remove debug status card from UI - Keep console.log statements for Vercel logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features: