Skip to content

Repository files navigation

πŸ“„βœ¨ file-frenzy: Privacy-First Document Conversion

Your documents, your control. Convert PDFs offline with zero cloud uploads.

🌍 Live Demo: https://filefrenzy.onrender.com
πŸ’» GitHub: devzone-creator/pdfMe
πŸ“¦ Docker: Pull from Docker Hub


🎯 What is file-frenzy?

file-frenzy is a free, open-source document conversion platform designed for people who value privacy and control. Unlike cloud-based converters that store your files on remote servers, file-frenzy processes everything in-memory β€” your PDFs never touch a database.

Perfect for:

  • πŸ‘¨β€πŸ’Ό Professionals working with sensitive documents
  • πŸŽ“ Students converting assignments and research papers
  • 🏒 Enterprises needing self-hosted document processing
  • πŸ‘¨β€πŸ’» Developers building automation workflows
  • πŸ”¬ Researchers protecting confidential data

✨ Key Features

Feature Details
πŸ”’ Privacy-First All conversions happen in-memory. No files stored on servers.
⚑ Fast & Lightweight Processes files instantly. Minimal resource usage.
🌐 Open Source MIT licensed. Full transparency. Community-driven.
πŸ”Œ REST API Integrate into your workflows with simple HTTP requests.
πŸ“¦ Docker Ready Deploy on-premises. Full control over your infrastructure.
πŸ’Ύ Batch Processing Convert multiple files simultaneously (Pro feature).

πŸš€ Supported Conversions

πŸ“„ PDF β†’ πŸ“ DOCX (Text & Scanned PDFs)
πŸ“„ PDF β†’ πŸ“ƒ TXT (Extract plain text)
πŸ“ DOCX β†’ πŸ“„ PDF (Formatting preserved)
πŸ“ Text β†’ πŸ“„ PDF (Beautiful formatting)
πŸ–ΌοΈ Image β†’ πŸ“„ PDF (Coming soon)

πŸ—οΈ Why file-frenzy?

vs. Cloud Converters (Smallpdf, ILovePDF, etc.)

Aspect file-frenzy Cloud Converters
Privacy βœ… Local processing ❌ Uploaded to servers
Cost βœ… Free forever ❌ Subscription required
Self-hosting βœ… Yes ❌ No
Data Retention βœ… None ❌ 24-48 hours
API Access βœ… Yes ❌ Paid tier only

vs. AI Tools (Gamma, Canva, etc.)

  • Focused: file-frenzy is specifically for document conversion, not general design
  • Lightweight: No complex UI/UX overhead β€” just conversions
  • No Training: Your data isn't used for AI model training

πŸš€ Quick Start

Local Development

# 1. Clone the repository
git clone https://github.com/devzone-creator/pdfMe.git
cd pdfMe

# 2. Install dependencies
npm install
pip3 install -r requirements.txt  # For Pandoc support (optional)

# 3. Create .env file
cp .env.example .env

# 4. Start development server
npm run dev

# 5. Open browser
# http://localhost:3000

Docker Deployment

# Build image
docker build -t file-frenzy .

# Run container
docker run -p 3000:3000 \
  -e NODE_ENV=production \
  -e PORT=3000 \
  file-frenzy

# Access at http://localhost:3000

Deploy to Render

Deploy to Render


πŸ”Œ REST API Documentation

Convert PDF to DOCX

Endpoint: POST /api/pdf-to-docx

curl -X POST -F "pdf=@document.pdf" \
  https://filefrenzy.onrender.com/api/pdf-to-docx \
  -o converted.docx

Response: DOCX file (binary)


Convert PDF to Text

Endpoint: POST /api/pdf-to-text

curl -X POST -F "pdf=@document.pdf" \
  https://filefrenzy.onrender.com/api/pdf-to-text \
  -o extracted.txt

Response: Plain text file


Convert Text to PDF

Endpoint: POST /api/pdf

curl -X POST https://filefrenzy.onrender.com/api/pdf \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello, World!",
    "fontSize": 12,
    "textAlign": "left"
  }' \
  -o output.pdf

Parameters:

  • text (string): Content to convert
  • fontSize (number, optional): Font size (default: 12)
  • textAlign (string, optional): left|center|right (default: left)

Convert DOCX to PDF

Endpoint: POST /api/docx-to-pdf-pandoc

curl -X POST -F "docx=@document.docx" \
  https://filefrenzy.onrender.com/api/docx-to-pdf-pandoc \
  -o converted.pdf

Response: PDF file (binary)


Health Check

Endpoint: GET /health

curl https://filefrenzy.onrender.com/health
# {"status":"ok","timestamp":"2026-08-01T10:00:00Z"}

πŸ› οΈ Tech Stack

Layer Technology
Frontend HTML5, CSS3, Vanilla JavaScript
Backend Node.js, Express.js
Templating EJS
Document Processing pdf-parse, pdfkit, mammoth, docx
Deployment Docker, Render, Railway
License MIT

πŸ“Š Performance & Security

  • βœ… Memory Efficient: In-memory processing, no disk writes
  • βœ… Size Limits: 50MB max file size per upload
  • βœ… CORS Enabled: Safe for browser-based requests
  • βœ… Health Monitoring: Built-in /health endpoint for uptime checks
  • βœ… Error Handling: Graceful failure with informative messages

🀝 Contributing

We welcome contributions! Here's how:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-feature
  3. Commit your changes: git commit -m "Add: Your feature"
  4. Push to the branch: git push origin feature/your-feature
  5. Open a Pull Request

Areas We Need Help With

  • Batch file processing
  • Image to PDF conversion
  • Improved error handling
  • Performance optimizations
  • Unit & integration tests
  • Better UI/UX for web interface

πŸ“ Roadmap

v1.1 (Next)

  • βœ… REST API (in progress)
  • βœ… Batch processing support
  • Rate limiting for public API
  • Enhanced error messages

v1.2 (Future)

  • Image to PDF conversion
  • PDF compression
  • OCR support (Tesseract.js)
  • Multi-language document support

v2.0 (Long-term)

  • Web dashboard with usage analytics
  • API key management
  • Webhook support
  • Serverless deployment (AWS Lambda, Google Cloud Functions)

πŸ› Issue Reporting

Found a bug? Have a feature request?

πŸ‘‰ Open an Issue

Please include:

  • What you were trying to do
  • What went wrong
  • Your OS, browser, and file format
  • Steps to reproduce (if applicable)

πŸ“¬ Contact & Support


πŸ“œ License

MIT License β€” See LICENSE file for details.

You're free to use, modify, and distribute file-frenzy for personal or commercial projects.


πŸ™ Acknowledgments

Built with ❀️ using:


Made with πŸš€ by the file-frenzy team

Give us a ⭐ if you find this project useful!

About

A pdf converter app made with html, css and js and uses js as backend, this is a free platform form users who wants to convert from pdf to docx

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages