The official website for MultiLineDiff - The World's Most Advanced Diffing System.
- Modern Design: Dark theme with indigo/purple gradients
- Responsive: Works perfectly on desktop, tablet, and mobile
- Interactive Documentation: Expandable sections with comprehensive guides
- Live Demo: Interactive algorithm comparison and diff generation
- Performance Charts: Real benchmark data visualization
- Syntax Highlighting: Prism.js integration for code examples
- Smooth Animations: GPU-accelerated transitions and effects
website/
βββ index.html # Main page
βββ css/
β βββ styles.css # Main styles and variables
β βββ components.css # Component-specific styles
β βββ animations.css # Animation definitions
βββ js/
β βββ main.js # Core functionality
β βββ demo.js # Interactive demo
β βββ performance.js # Chart.js performance charts
βββ images/
β βββ favicon.svg # Site favicon
βββ deploy.sh # Deployment script
βββ package.json # Dependencies
βββ .gitignore # Git ignore rules
βββ README.md # This file
-
Clone the repository:
git clone https://github.com/codefreezeai/swift-multi-line-diff.git cd swift-multi-line-diff/website
-
Start a local server:
# Using Python 3 python -m http.server 8000 # Using Python 2 python -m SimpleHTTPServer 8000 # Using Node.js npx http-server # Using PHP php -S localhost:8000
-
Open in browser:
http://localhost:8000
The website uses CDN dependencies for optimal performance:
- Chart.js: Performance visualization
- Prism.js: Syntax highlighting
- Google Fonts: Inter and JetBrains Mono fonts
The website includes comprehensive documentation covering:
- Installation instructions
- Basic usage examples
- AI-friendly ASCII format
- Round-trip workflow
- Symbol rules and meanings
- Visual representation guide
- Real-world examples
- AI integration benefits
- Performance comparison tables
- Algorithm selection guide
- Usage examples
- Technical details
- New features overview
- Source start line tracking
- Metadata structure
- Practical benefits
- Unique innovations
- Superiority comparisons
- Security features
- Complete feature list
- Core methods documentation
- Algorithm enums
- Display formats
- Usage examples
- Primary:
#6366f1
(Indigo) - Secondary:
#10b981
(Emerald) - Accent:
#f59e0b
(Amber) - Background:
#0f0f23
(Dark Navy) - Text:
#f8fafc
(Light Gray)
- Headings: Inter (Google Fonts)
- Body: Inter (Google Fonts)
- Code: JetBrains Mono (Google Fonts)
- Cards: Rounded corners, subtle shadows
- Buttons: Gradient backgrounds, hover effects
- Code Blocks: Dark theme, syntax highlighting
- Tables: Responsive, alternating rows
Use the included deployment script:
# Make executable
chmod +x deploy.sh
# Deploy to development
./deploy.sh dev
# Deploy to staging
./deploy.sh staging
# Deploy to production
./deploy.sh production
- Connect your GitHub repository
- Set build command:
# No build needed
- Set publish directory:
website
- Deploy
- Import project from GitHub
- Set framework preset:
Other
- Set root directory:
website
- Deploy
- Go to repository Settings
- Enable GitHub Pages
- Set source to
main
branch,website
folder - Access at
https://username.github.io/repository-name
- Upload
website
folder contents to web root - Ensure server supports HTML5 history API
- Configure HTTPS (recommended)
- Hero Section: Edit
index.html
lines 60-120 - Features: Modify feature cards in
index.html
- Documentation: Update expandable sections
- Performance Data: Modify
js/performance.js
- Colors: Update CSS variables in
css/styles.css
- Fonts: Change Google Fonts imports in
index.html
- Layout: Modify grid systems in
css/components.css
- Animations: Adjust timing in
css/animations.css
- Add HTML structure to
index.html
- Create corresponding styles in
css/components.css
- Add JavaScript functionality in
js/main.js
- Update navigation links
- Lazy Loading: Images and non-critical resources
- CDN Dependencies: Fast loading from global CDNs
- Minification: CSS and JS optimization for production
- Caching: Proper cache headers for static assets
- Responsive Images: Optimized for different screen sizes
- Performance: 95+
- Accessibility: 100
- Best Practices: 100
- SEO: 100
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature
- Commit changes:
git commit -m 'Add amazing feature'
- Push to branch:
git push origin feature/amazing-feature
- Open a Pull Request
This project is part of the MultiLineDiff library created by Todd Bruss Β© xcf.ai.
- Library Repository: swift-multi-line-diff
- Documentation: ASCII Diff Guide
- XCF.ai: https://xcf.ai
MultiLineDiff: The World's Most Advanced Diffing System π