A modern web application for licensing content using AI and blockchain technology. Built with Next.js, TypeScript, and Tailwind CSS.
- 🎯 Simple Signup Flow - Quick registration with name and email
- 📄 Content Licensing - License your social media content with customizable permissions
- 🔄 Remix & Commercial Use - Control how others can use your content
- 💰 Flexible Pricing - Set prices in ETH, USDC, or offer for free
- 🎉 Success Tracking - View your license details and earn creator tokens
- 📱 Responsive Design - Works perfectly on all devices
- 📊 Google Sheets Integration - Automatically collect user data
- Framework: Next.js 14 with Pages Router
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: ShadCN UI
- Data Collection: Google Sheets via Apps Script
- Deployment: Vercel-ready
- Node.js 18+
- npm or yarn
- Clone the repository:
git clone <your-repo-url>
cd content-licensing-app- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 to view the application.
npm run build
npm start- Home Page (
/) - Landing page with call-to-action - Signup (
/signup) - User registration with name and email - License (
/license) - Content licensing form with permissions - Registering (
/registering) - Loading state during "on-chain" registration - Success (
/success) - License confirmation, token rewards, and data collection
The app automatically collects user data in Google Sheets:
- User signup information (name, email)
- License details (content link, permissions, pricing)
- Creator scores and token rewards
- Timestamps for all activities
See GOOGLE_SHEETS_SETUP.md for setup instructions.
- Push your code to GitHub
- Go to vercel.com and sign up/login
- Click "New Project"
- Import your GitHub repository
- Vercel will auto-detect Next.js settings
- Click "Deploy"
Your site will be live at https://your-project-name.vercel.app
No environment variables are required for this application.
src/
├── pages/
│ ├── index.tsx # Home page
│ ├── signup.tsx # User signup
│ ├── license.tsx # License form
│ ├── registering.tsx # Loading state
│ └── success.tsx # Success page with data collection
├── components/
│ └── ui/ # ShadCN UI components
├── config/
│ └── sheets.ts # Google Sheets configuration
└── styles/
└── globals.css # Global styles
- Modify colors in
src/styles/globals.css - Update Tailwind classes in components
- Customize ShadCN UI theme in
components.json
- Update text content in each page component
- Modify form fields in
license.tsx - Adjust success page rewards and scoring
- Add more license options
- Integrate with real blockchain
- Add user authentication
- Implement file upload functionality
The application is optimized with:
- ✅ Next.js static generation
- ✅ Tailwind CSS for minimal CSS
- ✅ Optimized images and assets
- ✅ Responsive design
- ✅ Fast loading times
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.
Ready to deploy? This application is production-ready and optimized for Vercel deployment with Google Sheets integration! 🚀