Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willahh/coloringbook
A React application for creating personalized coloring books from imported or custom-created images.
https://github.com/willahh/coloringbook
es-toolkit react redux-toolkit storybook tailwindcss vite
Last synced: 4 days ago
JSON representation
A React application for creating personalized coloring books from imported or custom-created images.
- Host: GitHub
- URL: https://github.com/willahh/coloringbook
- Owner: willahh
- Created: 2024-12-10T13:45:38.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2025-01-10T20:48:57.000Z (5 days ago)
- Last Synced: 2025-01-10T21:44:51.183Z (5 days ago)
- Topics: es-toolkit, react, redux-toolkit, storybook, tailwindcss, vite
- Language: TypeScript
- Homepage:
- Size: 35 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A React application for creating personalized coloring books from imported or custom-created images.
Explore the docs Β»
Live Demo
Β·
Report Bug
Β·
Request Feature
## Features β¨
- Import images and convert them into outlines for coloring.
- Draw custom designs directly in the app.
- Organize pages into a book format, ready for printing.
- Simple and intuitive interface for all age groups.## Usage π
Upload an image to convert it into a coloring outline.
Use the drawing tool to create custom designs.
Arrange pages in the desired order.
Download the final book as a PDF.## Stack π§°
This project is built with the following technologies and tools:- **TypeScript**: For type-safe JavaScript development.
- **React**: To build the user interface. Documentation referenced directly in the app - [React Documentation](https://react.dev/reference/react).
- **Server API**: For server-side rendering or data fetching.
- **Client API**: For client-side interactions and components.
- **Vite**: A fast and modern build tool - [Learn more](https://vite.dev/).
- **Tailwind CSS**: For utility-first styling with rapid development.
- **GitHub Actions**: For automated deployment workflows.## Project Structure π
```
coloring-book-creator/
βββ public/ # Static assets
βββ src/
β βββ components/ # Reusable UI components
β βββ pages/ # Application pages (e.g., Home, Editor)
β βββ utils/ # Helper functions (e.g., image conversion)
β βββ App.tsx # Main App component
β βββ index.tsx # Application entry point
β βββ styles/ # Global and component-specific styles
βββ package.json
βββ README.md
```## Installation π οΈ
1. Clone this repository:
```bash
git clone https://github.com/willahh/coloringbook.git
cd coloringbook
```2. Install dependencies:
```bash
npm install
```3. Start the development server:
```bash
npm start
# Open your browser and navigate to http://localhost:3000.
```## Project setup
```sh
npm create vite@latest # Install Vite, Typescript is setup automatically (config files)
npm install -D tailwindcss postcss autoprefixer # Install tailwindcss, postcss and autoprefixer
npm install -D @types/node # Install node types (fix an issue with a specific vite.config.ts)
npm install vite-plugin-svgr --save-dev # To manage the import of svg icons
npx tailwindcss init -p
npm install motion
npm install react-router-dom
npm install @types/react-router-dom
npx storybook@latest init
npm install @storybook/manager-api @storybook/theming --save-dev
npm install --save-dev storybook-dark-mode
npm install @heroicons/react # https://heroicons.com/
npm install @headlessui/react # https://headlessui.com/react/menu
npm install @popperjs/core # A JavaScript library to position floating elements and create interactions for them. - https://floating-ui.com/
npm install react-popper @popperjs/core # Floting-ui React wrapper - https://popper.js.org/react-popper/v2/ -
```### Theming
- https://uicolors.app/create - Tailwind CSS Color Generator## Build css
```sh
cd dev
npm run dev
```## Build for production
The destination folder is in the folder "/docs" to match Github Page default configuration.```sh
cd dev
npm run build
```## Deploy for production
The current production environment is on **Github Page**.
The url is https://willahh.github.io/coloringbook/To deploy to production :
```sh
cd dev
npm run build
git push # Push to master branch on github.com/willahh/coloringbookGithub pages automatically trigger a pipeline after the push.
Pipeline can be monitored on https://github.com/willahh/coloringbook/actions.
Build time can last between 1 to 5 minutes.
```## Build and deploy with Github Action
## Acknowledgments π
Inspired by the creative possibilities of coloring books.
Thanks to open-source libraries and the developer community!