Skip to content
RemanenetSpyPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

62 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”„ Next-Gen File Converter

The transparent, reproducible, and privacy-first file conversion platform β€” The GitHub of file conversions.

Live Demo License: MIT Backend Frontend

File Converter Screenshot


🎯 Vision

Transform file conversion from a black box into a transparent, auditable, and reproducible process. Users don't just convert files β€” they own the process, share recipes, and trust the results.


✨ Key Features

πŸ” Privacy-First

  • Local conversion option (offline mode)
  • No hidden data processing
  • Your files, your control

πŸ“Š Quality Guaranteed

  • SSIM scoring for image quality (0-1 scale)
  • Automatic integrity checks
  • Rollback on quality failure

πŸ“ Recipe-Based Conversions

  • Every conversion produces a human-readable YAML recipe
  • Includes checksums, parameters, quality metrics
  • Perfect for reproducibility and sharing workflows

⚑ High Performance

  • Optimized Python backend
  • Batch conversion support
  • Efficient format-specific libraries

🎨 Modern UI

  • Glassmorphism design
  • Smooth animations
  • Fully responsive
  • Dark mode ready

πŸš€ Quick Start

Prerequisites

  • Python 3.11+ (for backend)
  • Node.js 16+ (for frontend)
  • Git (for version control)

Local Development

1. Clone the Repository

git clone https://github.com/YOUR_USERNAME/file-converter.git
cd file-converter

2. Start Backend

cd backend-python
pip install -r requirements.txt
python app.py

Backend will run at: http://localhost:5000

3. Start Frontend

cd converter/frontend
npm install
npm start

Frontend will run at: http://localhost:3000

4. Open in Browser

Visit http://localhost:3000 and start converting files!


πŸ“¦ Supported Formats

Images

βœ… JPEG β€’ βœ… PNG β€’ βœ… WebP β€’ βœ… GIF β€’ βœ… BMP β€’ βœ… TIFF

Documents

βœ… CSV β€’ βœ… Excel (XLSX) β€’ βœ… Parquet

Coming Soon

⏳ PDF β€’ ⏳ MP4 β€’ ⏳ WebM β€’ ⏳ MP3 β€’ ⏳ WAV


🌐 Deploy to Production (Zero Cost!)

We support free deployment on industry-leading platforms:

Backend: Render.com

  • βœ… 750 hours/month free
  • βœ… Automatic HTTPS
  • βœ… Auto-deploy from Git

Frontend: Vercel

  • βœ… Unlimited bandwidth
  • βœ… Global CDN
  • βœ… Instant deployments

πŸ“– Full deployment guide: DEPLOYMENT.md


πŸ“š API Documentation

Health Check

GET /api/health

Response:

{
  "status": "ok",
  "version": "1.0.0",
  "environment": "development",
  "timestamp": "2025-12-05T15:47:31Z"
}

Convert Image

POST /api/conversions/image
Content-Type: multipart/form-data

file: <image file>
format: webp
quality: 80

Response:

{
  "success": true,
  "output": {
    "file": "image_1733404222000.webp",
    "size": 245678
  },
  "quality": {
    "passed": true,
    "ssim": 0.923
  },
  "recipe": "image_1733404222000.recipe.yaml"
}

Convert CSV to Excel

POST /api/conversions/document/csv-to-excel
Content-Type: multipart/form-data

file: <csv file>
sheetName: Sheet1

Download File

GET /api/download/<filename>

Supported Formats

GET /api/conversions/supported-formats

πŸ”‘ Core Concepts

Recipe System

Every conversion generates a YAML recipe with:

version: '1.0'
metadata:
  created: '2025-12-05T14:30:22Z'
  userId: user@example.com
  description: Convert photo to WebP

input:
  file: vacation_photo.jpg
  format: jpg
  size: 3842957
  hash: 4a5b6c7d8e9f...

output:
  file: vacation_photo_1733404222000.webp
  format: webp
  parameters:
    quality: 80

quality:
  passed: true
  checks:
    - name: file_size
      score: valid
    - name: image_ssim
      score: 0.923  # 92.3% similarity

manifest:
  checksums:
    input: 4a5b6c7d...
    output: 5b6c7d8e...

Quality Gates

  • SSIM Scoring: Measures image similarity (0-1 scale)
  • Data Validation: Row/column count checks for tabular data
  • File Size Checks: Prevents unexpectedly large/small outputs
  • Auto Rollback: Fails and cleans up if quality is poor

πŸ—οΈ Project Structure

file-converter/
β”œβ”€β”€ backend-python/              # Python Flask backend
β”‚   β”œβ”€β”€ core/                    # Core conversion engines
β”‚   β”‚   β”œβ”€β”€ conversion_engine.py # Main orchestrator
β”‚   β”‚   β”œβ”€β”€ image_converter.py   # Image conversions
β”‚   β”‚   β”œβ”€β”€ document_converter.py# Document conversions
β”‚   β”‚   β”œβ”€β”€ quality_gate.py      # Quality assurance
β”‚   β”‚   └── recipe_manager.py    # Recipe generation
β”‚   β”œβ”€β”€ app.py                   # Flask server
β”‚   β”œβ”€β”€ requirements.txt         # Dependencies
β”‚   β”œβ”€β”€ render.yaml              # Render deployment config
β”‚   └── .env.example             # Environment template
β”‚
β”œβ”€β”€ converter/frontend/          # React UI
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/          # React components
β”‚   β”‚   β”œβ”€β”€ App.jsx              # Main app
β”‚   β”‚   β”œβ”€β”€ App.css              # Glassmorphism styles
β”‚   β”‚   └── index.css            # Global styles
β”‚   β”œβ”€β”€ public/                  # Static assets
β”‚   β”œβ”€β”€ package.json             # Dependencies
β”‚   └── vercel.json              # Vercel deployment config
β”‚
β”œβ”€β”€ README.md                    # This file
β”œβ”€β”€ DEPLOYMENT.md                # Deployment guide
β”œβ”€β”€ plan.txt                     # Business plan
└── .gitignore                   # Git ignore rules

🎯 Why It's Different

Feature Us Zamzar CloudConvert
Privacy First βœ… Local conversion ❌ Server-based ❌ Server-based
Reproducible βœ… Recipes ❌ No ❌ No
Quality Verified βœ… SSIM checks ❌ No ❌ Limited
Transparent βœ… Full audit trail ❌ Black box ⚠️ Limited
Open Source βœ… MIT ❌ Closed ❌ Closed
Free Tier βœ… Unlimited local ⚠️ 10 files/day ⚠️ Limited

πŸ’‘ Use Cases

For Students & Professionals

  • Quick file format conversions
  • Batch processing documents
  • Image optimization for web

For Developers

  • API access with reproducible recipes
  • Integrate into workflows
  • Automate file processing

For Enterprises

  • Policy-driven conversions
  • Audit logs for compliance
  • Quality-assured outputs

πŸ› οΈ Development

Running Tests

cd backend-python
pytest

Code Style

  • Python: PEP 8
  • JavaScript: ESLint (Airbnb style)

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.


πŸ“ˆ Roadmap

βœ… Phase 1 (Complete)

  • Core engine (images, documents)
  • Recipe/manifest system
  • Python backend with Flask
  • Modern React UI
  • Deployment configurations

🚧 Phase 2 (In Progress)

  • PDF OCR integration
  • Video/audio conversions (FFmpeg)
  • Pipelines & workflow builder
  • Cloud storage integration

πŸ“… Phase 3 (Planned)

  • Public beta launch
  • Transparency dashboard
  • Performance benchmarks
  • Recipe marketplace
  • Community templates
  • Public API with rate limiting

πŸ”’ Security & Privacy

  • βœ… Checksums verify file integrity
  • βœ… No external service calls for local conversions
  • βœ… Optional user ID (anonymous supported)
  • βœ… YAML recipes contain only metadata, not content
  • βœ… Works completely offline with local mode
  • βœ… Rate limiting (60 req/hour per IP)
  • βœ… Daily quota limits (200MB/IP/day)

πŸ“Š Performance Metrics

Operation Time Notes
Image conversion 0.5-2s Depends on size/format
CSV→Excel 0.1-0.5s Per file
Quality checks 0.2-1s Parallel processing
Batch (10 files) 2-5s Concurrent

πŸ’° Business Model

  • Free Tier: Unlimited local conversions, basic recipes
  • Pro Plan (Coming Soon): Advanced OCR, batch jobs, cloud integrations, recipe marketplace
  • Enterprise (Coming Soon): Policy-driven conversions, audit logs, admin dashboards

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


🀝 Support


πŸŽ“ Educational Value

This project demonstrates:

  • Building production-ready API servers
  • Quality assurance for data processing
  • Transparent audit trails
  • Privacy-first architecture
  • Recipe/template systems
  • Reproducible workflows
  • Modern React UI development
  • Zero-cost deployment strategies

Perfect for learners interested in:

  • Backend development (Python/Flask)
  • Frontend development (React)
  • Data processing
  • File format handling
  • Quality assurance
  • System design
  • DevOps & deployment

πŸ™ Acknowledgments

  • Flask - Micro web framework
  • React - UI library
  • Pillow - Image processing
  • Pandas - Data manipulation
  • Render.com - Backend hosting
  • Vercel - Frontend hosting

πŸ“ž Contact


Made with ❀️ to bring transparency and trust to file conversion.

πŸ‘‰ Next Steps:

  1. Try it locally: python backend-python/app.py & npm start in converter/frontend
  2. Deploy for free: Follow DEPLOYMENT.md
  3. Star the repo if you find it useful! ⭐

πŸš€ Ready to deploy? Check out our zero-cost deployment guide!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages