Skip to content

Cyrusbye720/File-compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Converter & Compressor

This is a web-based tool for converting and compressing audio and video files. It allows users to upload files, select a format, and compress them without significant loss of quality. The tool supports multiple formats, including MP3, MP4, OGG, and WebM.

Features

  • Convert audio and video files to various formats (MP3, MP4, OGG, WebM).
  • Compress files to reduce size with minimal quality loss.
  • Simple, user-friendly interface.

Technologies Used

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express.js, Multer for file uploads, FFmpeg for file conversion
  • Dependencies:
    • express: Web framework for Node.js
    • multer: Middleware for handling file uploads
    • fluent-ffmpeg: Wrapper for FFmpeg

Setup Instructions

Prerequisites

  • Node.js installed
  • FFmpeg installed

Steps to Run the Application

  1. Clone the repository:

    https://github.com/Cyrusbye720/File-compressor.git
    cd File-compressor
  2. Install the necessary dependencies:

    npm install
  3. Install FFmpeg:

    sudo apt update
    sudo apt install ffmpeg
  4. Run the backend server:

    node server.js
  5. Open index.html in a browser or serve it using a local web server.

  6. Access the backend at http://localhost:3000 and start converting files.

Usage

  1. Select an audio or video file using the file input.
  2. Choose the desired output format.
  3. Click "Upload & Convert" to start the process.
  4. Once completed, download the converted file.

Future Improvements

  • Support for additional formats.
  • Advanced compression options.
  • Deploying the app to a cloud platform for public use.

License

This project is licensed under the MIT License.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors