Skip to content

nabiladem/git-fit

Repository files navigation

git fit

Git Fit

As a GitHub user, you may have tried to update your avatar and realized there is a strict 1MB file size limit. Git Fit provides a convenient way to compress your images while maintaining high-quality output, and is available as both a command-line tool (CLI) and a web application.

Preview

Stack

  • Go
  • React
  • Vite
  • TailwindCSS

Using the Command Line Tool

gitfit -input input.jpeg -output output.jpeg -maxsize <max bytes> -quality <1-100 for jpeg> -v [for verbose output]

Running the Web App

You can run the fullstack application using the provided Makefile:

  1. Start the backend server:

    make server

    The server will start on http://localhost:8080.

  2. Start the frontend development server:

    make web

    The frontend will start on http://localhost:5173.

  3. Run tests:

    make test

About

CLI tool and web app to compress your GitHub avatars under the 1MB limit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors