Repository navigation
v1.2.0
π What's New?
Your ZemPosts CLI now features a beautiful, modern interface for creating blog posts! The new interface includes:
β¨ Modern Features
- Smooth Animations - Beautiful transitions and micro-interactions
- Live Preview - See your post as you write it
- Responsive Design - Works perfectly on all devices
- Modern UI - Clean, professional interface with gradients and shadows
- Real-time Feedback - Success/error messages with animations
- Auto-save Date - Automatically sets today's date
- Loading States - Visual feedback during form submission
π¨ Design Improvements
- Modern Color Scheme - Purple gradient theme
- Typography - Inter font for better readability
- Icons - Font Awesome icons throughout
- Glass Morphism - Backdrop blur effects
- Hover Effects - Interactive buttons and links
- Mobile-First - Responsive design for all screen sizes
π How to Use
Option 1: CLI Interface (Recommended)
npx zempostsOption 2: Direct Server
npm start
# Opens the Express server with the modern interfaceπ οΈ Technology Stack
Frontend
- Vanilla JavaScript - No framework dependencies
- Modern CSS - Grid, Flexbox, and CSS animations
- Inter Font - Google Fonts for better typography
- Font Awesome - Beautiful icons throughout
Backend
- Express.js - Node.js web server
- Body Parser - JSON request handling
- File System - Local file creation
π File Structure
βββ public/
β βββ index.html # Modern interface
β βββ assets/ # Static assets
βββ index.js # Express server
π― Key Features
Form Features
- Auto-completion - Date field auto-fills with today's date
- Validation - Real-time form validation
- Preview Mode - Toggle to see your post as it will appear
- Success/Error Handling - Beautiful feedback messages
UI/UX Features
- Smooth Animations - CSS transitions and keyframes
- Loading States - Spinner during form submission
- Responsive Grid - Adapts to different screen sizes
- Accessibility - Proper labels and ARIA attributes
Technical Features
- Vanilla JavaScript - No build step required
- Express Integration - Seamless backend integration
- Fast Loading - No framework overhead
- Easy Maintenance - Simple, readable code
π¨ Customization
The interface uses modern CSS and can be easily customized:
Colors
- Primary:
#667eeato#764ba2(gradient) - Success:
#10b981to#059669(gradient) - Error:
#ef4444to#dc2626(gradient)
Fonts
- Primary: Inter (Google Fonts)
- Icons: Font Awesome 6
Animations
- Transitions: CSS
transitionproperties - Keyframes:
slideIn,fadeIn,slideUp
π§ Troubleshooting
Common Issues
-
Port Already in Use
# Kill process on port 5012 npx kill-port 5012 -
Interface Not Loading
# Restart the server npm start -
Form Not Submitting
# Check if the repository is cloned # Make sure you have a "ZemPosts - <username>" folder
π Performance
The new interface offers:
- Faster Loading - No framework overhead
- Better UX - Instant interactions
- Smooth Animations - 60fps transitions
- Mobile Optimized - Touch-friendly interface
π± Mobile Experience
The interface is fully responsive and provides an excellent mobile experience:
- Touch-friendly buttons
- Optimized form inputs
- Proper viewport handling
- Fast loading on mobile networks
π¨ Design Highlights
Modern UI Elements
- Glass morphism - Backdrop blur effects
- Gradient backgrounds - Beautiful color transitions
- Smooth animations - Micro-interactions
- Interactive elements - Hover effects
- Professional typography - Clean, readable text
User Experience
- Intuitive layout - Easy to understand and use
- Visual feedback - Clear success/error states
- Progressive disclosure - Preview functionality
- Accessibility - Screen reader friendly
Made with β€οΈ by Hemang Yadav (Zemerik)
For more information, visit: