How yree/mdow works
Project Type Analysis
This is a web application with a server-side component written in Rust. The presence of Dockerfile and fly.toml indicates it's containerized and deployed on Fly.io. The litefs.yml suggests the use of LiteFS for data storage.
Main Components
A. Client Layer:
• Web Browser Interface
• Markdown Editor Component
• Preview Component
• Client-side State Management
B. Server Layer:
• Rust Web Server (main.rs)
• API Endpoints for:
• Markdown processing
• File storage/retrieval
• Link generation
C. Storage Layer:
• LiteFS for file persistence
• Temporary storage for 30-day link retention
D. Infrastructure Layer:
• Docker Container
• Fly.io Deployment
• GitHub Actions CI/CD
[Client Layer]
• ↕
[Server Layer]
• ↕
[Storage Layer]
• ↕
[Infrastructure Layer]
Key Elements to Emphasize
• The lightweight nature of the application
• The markdown processing flow
• The link sharing mechanism
• The temporary storage system
• The containerized deployment setup