Draftly is a simple and creative web app for quickly sketching ideas, visualizing concepts, and rapid prototyping. It provides an interactive canvas with tools for drawing shapes (rectangle, circle, line, pencil), selecting and moving objects, and supports both light and dark themes. All changes are automatically saved in the browser's localStorage.
- Draw rectangles, circles, lines, and freehand curves (pencil)
- Select and move objects
- Delete selected objects (Delete/Backspace keys)
- Clear the entire canvas
- Switch between light and dark themes
- Responsive interface
- Automatic canvas state saving in the browser
- Keyboard shortcuts (Escape — select, Delete — delete)
- Touch device support (touch events)
- React 19.1.0
- TypeScript 5.8.3
- Vite 7.0.0
- roughjs 4.6.6 (hand-drawn style)
- SCSS (Sass 1.89.2)
- FontAwesome 6.7.2 (icons)
- Caddy (production server)
- pnpm 8.x (package manager)
- Install dependencies:
pnpm install
- Start in development mode:
pnpm dev
The app will be available at: http://localhost:5173
- Build for production:
pnpm build
- Preview production build:
pnpm preview
cd ci
docker-compose up --build
The app will be available at: http://localhost:8080
Evgeny Ermolaev