Skip to content

A web application built with Next.js and TypeScript that allows users to remove backgrounds from images instantly. This project leverages the Remove.bg API to process images and provides a clean, responsive interface with both light and dark themes.

Notifications You must be signed in to change notification settings

sahanRanasingha/background-remover

Repository files navigation

Background Remover

A web application built with Next.js and TypeScript that allows users to remove backgrounds from images instantly. This project leverages the Remove.bg API to process images and provides a clean, responsive interface with both light and dark themes.

Features

  • Drag and drop image upload
  • Instant background removal using Remove.bg API
  • Preview of original and processed images
  • Download functionality for processed images
  • Responsive design with light and dark themes
  • Built with Next.js 14, TypeScript, and Tailwind CSS

Demo

[Add a link to your live demo if available]

Screenshots

[Add screenshots of your application here]

Technologies Used

Getting Started

Prerequisites

  • Node.js 18.17 or later
  • npm
  • A Remove.bg API key

Installation

  1. Clone the repository:
git clone https://github.com/sahanRanasingha/background-remover.git
  1. Navigate to the project directory:
cd background-remover
  1. Install dependencies:
npm install
  1. Create a .env.local file in the root directory and add your Remove.bg API key:
REMOVE_BG_API_KEY=your_api_key_here
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 with your browser to see the result.

Usage

  1. Drag and drop an image or click to select one from your device.
  2. Wait for the background removal process to complete.
  3. View the original and processed images side by side.
  4. Click the download button to save the processed image.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

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

Acknowledgments

  • Remove.bg for providing the image processing API
  • shadcn/ui for the beautiful UI components
  • Vercel for hosting and deployment

Contact

Sahan Ranasingha - sahanranasingha1@gmail.com

Project Link: https://github.com/sahanRanasingha/background-remover

About

A web application built with Next.js and TypeScript that allows users to remove backgrounds from images instantly. This project leverages the Remove.bg API to process images and provides a clean, responsive interface with both light and dark themes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published