How apriltilde/neoblogtool works
Main Components
a) Client-Side Components:
• Frontend Interface (HTML/CSS)
• WYSIWYG Editor
• JavaScript Controller
• Token Management
• File Upload Handler
b) External Services:
• GitHub API
• GitHub Repository (Content Storage)
[Client Browser]
• [Frontend Layer]
• Index Page (index.html)
• Add Post Page (add.html)
• Styles (styles.css)
• Client Logic (script.js)
• [Core Features]
• WYSIWYG Editor
• Tag Management
• File Upload Handler
• [External Integration]
• [GitHub API]
• [Content Repository]
Key Elements to Highlight
a) Data Flow:
• Authentication flow with GitHub tokens
• Rate limiting (60 requests/hour) for Neocities hosting
• Use blue for client-side components
• Use green for GitHub-related components
• Use yellow for authentication elements
• Use red for rate-limited components
Important Interactions
• Token Authentication Flow
• Content Creation/Upload Process
• Content Retrieval Process
• Tag Management System
• Image Handling (Base64 conversion)
Additional Notes
• A note about hosting variants (Lexiqqq, Neocities, Dynamic hosting)