Skip to content

floguo/giftbox

Repository files navigation

Giftbox

A playful web application for creating digital letters with various interactive elements. Built with Next.js and TypeScript.

Features

  • 📝 Add sticky notes with customizable colors
  • 📷 Upload and add photos with captions
  • 🎤 Record and add voice messages
  • 🎵 Embed Spotify tracks
  • ✏️ Draw doodles and sketches
  • 🖱️ Drag and drop interface
  • 🔄 Rotate and position items freely

Tech Stack

  • Next.js 14
  • TypeScript
  • Tailwind CSS
  • Web Audio API
  • Canvas API
  • shadcn/ui

Getting Started

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 in your browser

Usage

  • Click on toolbar items to add different elements to your letter
  • Drag elements to position them
  • Hover over elements to reveal controls
  • Click the delete button to remove elements
  • Use the color picker to customize note colors
  • Record voice messages directly in the browser
  • Draw doodles with the pencil tool
  • Add Spotify tracks via embed URLs

License

MIT

About

create interactive digital gifts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •