A web-based tool that helps you create simple, minimalistic book covers, built with Next.js and TypeScript.
- Create professional-looking book covers with customizable elements
- Add title, author, and subtitle text
- Insert custom SVG icons and graphics
- Choose from multiple color schemes (light and dark modes)
- Export covers as PNG images
- Modern, responsive interface built with Tailwind CSS
- TypeScript support for enhanced development experience
- Next.js - React framework for production
- TypeScript - Static typing for JavaScript
- Tailwind CSS - Utility-first CSS framework
- html2canvas - HTML to canvas rendering
- Clone the repository:
git clone <your-repo-url>
cd png-to-svg-converter
- Install dependencies:
npm install
# or
yarn install
- Run the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 with your browser to see the application.
├── app/
│ ├── api/
│ │ └── png-to-svg/ # API route for image conversion
│ ├── components/ # React components
│ ├── layout.tsx # Root layout
│ └── page.tsx # Main page
├── components/ # Shared components
│ ├── BookCover.tsx
│ └── InputPanel.tsx
├── public/ # Static assets
└── types/ # TypeScript type definitions
The application uses Next.js 14 with the App Router. To make changes:
- Modify components in the
components/
directory - Update API logic in
app/api/png-to-svg/
- Adjust styles using Tailwind CSS classes
Contributions are welcome! Please feel free to submit a Pull Request.