中文 | 日本語 | Русский язык
A simple yet powerful image generator tool built with React, Mantine UI, and Tailwind CSS.
- Image Customization: Generate images with custom dimensions, text content, and colors.
- Color Management: Support for solid colors and gradient backgrounds with automatic contrast text color.
- Random Color Generator: Generate random color combinations with high contrast text for optimal readability.
- Preset Management: Save and load custom presets for quick access to frequently used settings.
- Multi-language Support: Available in English, Chinese, Japanese, and Russian.
- Image Export: Save generated images to local device in JPG format.
- Real-time Preview: Instantly see changes as you adjust settings.
- Responsive Design: Works seamlessly on different screen sizes.
- Framework/Library: React (v19)
- UI Toolkit/Styling: Mantine UI (
@mantine/core), Tailwind CSS (tailwindcss) - Build Tool: Rsbuild (
@rsbuild/core) - Language: TypeScript (v5.9.x)
- CSS Processing: PostCSS with plugins like
autoprefixerandpostcss-simple-vars - Linting: ESLint with
@antfu/eslint-config - Internationalization: i18next, react-i18next
- Image Processing: @zumer/snapdom
See the package.json for a full list of dependencies.
Follow these instructions to get the project running locally.
Ensure you have the following installed:
- Node.js (>= 18.x recommended)
- Package manager (npm, yarn, or pnpm)
node -v
npm -vClone the repository and install dependencies:
# Clone the repository
git clone https://github.com/Muromi-Rikka/Test-Image-Generator.git
cd Test-Image-Generator
# Install dependencies
npm install
yarn install
pnpm installStart the development server:
npm run dev
yarn dev
pnpm devBuild the project for production:
npm run build
yarn build
pnpm buildPreview the production build locally:
npm run preview
yarn preview
pnpm previewLint the codebase:
npm run lint
yarn lint
pnpm lint- Set Dimensions: Adjust the width and height of your image.
- Add Text: Enter the text you want to display on the image.
- Customize Colors: Choose between solid color or gradient background, and set text color.
- Generate Random Colors: Click the "Random Color Combination" button for automatic color suggestions.
- Save Presets: Save your current settings as a preset for future use.
- Load Presets: Select from saved presets to quickly apply previous settings.
- Preview: See the real-time preview of your image.
- Save Image: Click "Save Image to Local" to download the generated image.
Contributions are welcome and greatly appreciated! Please follow these steps to contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Please ensure your code adheres to the project's linting rules and passes all checks before submitting a PR.
This project is licensed under the MIT License - see the LICENSE file for details.
- Rikka: (admin@rikka.cc)
- GitHub Profile: Muromi-Rikka