Giter Site home page Giter Site logo

avif-image-converter's Introduction

Avif Image Converter

This repository contains the frontend and backend components of the Avif Image Converter application. The application allows users to upload AVIF images, convert them to PNG on the backend, and download the converted images. Frontend Features

  • Drag-and-drop or select an AVIF image to upload.
  • Convert AVIF image to PNG.
  • Download the converted PNG image.

Prerequisites

  1. Node.js and npm installed.

Usage

  1. Open the application in your web browser.

  2. Drag-and-drop an AVIF image or click to select one.

  3. Click the "Upload" button to convert the image to PNG on the backend.

  4. Once converted, you can view the image and download it using the "Download Image" button.

How to Create a Shell Command

To create a shell command after downloading the repository, follow these steps:

  1. Open the terminal of your choice.

  2. Navigate to ~/.local/bin.

  3. Create a new file named "avif-image-converter" with the following content:

#!/bin/bash

AVIF_IMAGE_CONVERTER_PATH=path/to/avif-image-converter

npx concurrently -p "[{name}]" -n "API,WEB" -c "auto" \
"npm --prefix $AVIF_IMAGE_CONVERTER_PATH/backend run dev" \
"npm --prefix $AVIF_IMAGE_CONVERTER_PATH/frontend run dev"
  1. Make the script executable by running the following command:
chmod +x avif-image-converter
  1. Run the script to start the application:
./avif-image-converter
  1. (Optional) Add the ~/.local/bin directory to your PATH environment variable by running the following command:
export PATH="$PATH:$HOME/.local/bin"
  1. You can now run the application by typing "avif-image-converter" in the terminal.
avif-image-converter

Technologies Used

  • React
  • Typescript
  • Axios
  • React-Dropzone
  • Express
  • Multer
  • Cors
  • Node
  • Sharp

License

This project is licensed under the MIT License.

avif-image-converter's People

Contributors

jaredthecomputerguy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.