Skip to content

Charca/astro-remove-bg

Repository files navigation

Astro Background Removal (powered by Replicate)

Demo

🚀 Getting Started

  1. Clone this repository and install dependencies with npm install.
  2. Create a free Replicate account and get your API token from https://replicate.com/account.
  3. Create a free Upload.io account (free trial) and get your Public API key from https://upload.io/dashboard/security/api_keys.
  4. Copy .env.example as .env and paste your Replicate API token and Public Upload.io keys here.
  5. Start the project locally with npm run dev, or deploy it to your favorite server.
  6. Have fun! ✨

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro preview
npm run astro --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check Astro's documentation or jump into their Discord server. You can also follow Maxi on Twitter.

About

AI Background Removal app built with Astro + Replicate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published