https://github.com/natgluons/ai-pickupline-generator
A fun web app that generates clever, cringey, or romantic pickup lines using SmolLM-135M. Built with Next.js and TailwindCSS. Perfect for dating apps or breaking the ice!
https://github.com/natgluons/ai-pickupline-generator
chatbot hugging-face hugging-face-spaces nextjs smollm tailwindcss text-generator
Last synced: about 2 months ago
JSON representation
A fun web app that generates clever, cringey, or romantic pickup lines using SmolLM-135M. Built with Next.js and TailwindCSS. Perfect for dating apps or breaking the ice!
- Host: GitHub
- URL: https://github.com/natgluons/ai-pickupline-generator
- Owner: natgluons
- Created: 2025-03-25T10:19:25.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-25T11:23:58.000Z (about 2 months ago)
- Last Synced: 2025-03-25T11:33:35.907Z (about 2 months ago)
- Topics: chatbot, hugging-face, hugging-face-spaces, nextjs, smollm, tailwindcss, text-generator
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π Pickup Line Generator
### A modern web application that generates fun, clever, or cringey pickup lines using the SmolLM-135M model. Built with Next.js and TailwindCSS, itβs fast, simple, and doesnβt ghost you.
> ## **Tired of staring at a dating app, wondering what to say first?** Let AI do the flirting for you.
> ## Smooth, silly, or straight-up ridiculous β weβve got a line for that.
> ## Choose *your* vibe. Hit generate. Shoot your shot!
> # Have fun out there, and good luck scoring that date (or getting laid π)! You got this. ππ
---
## π Features
- Generate pickup lines with different vibes:
- π Romantic
- π Cheesy
- π¬ Nerdy
- π Cringe
- π Flirty
- Modern, responsive UI with beautiful animations
- One-click copy to clipboard
- Powered by SmolLM-135M model## π οΈ Tech Stack
- **Frontend**: Next.js 13+ with App Router
- **Styling**: TailwindCSS
- **Model**: SmolLM-135M (via Hugging Face Inference API)## π Getting Started
### Prerequisites
- Node.js 18+
- Python 3.8+### Installation
1. Clone the repository:
```bash
git clone
cd pickup-line-generator
```2. Install dependencies:
```bash
npm install
```3. Run the development server:
```bash
npm run dev
```Visit `http://localhost:3000` to see the application.
## π Deployment to Hugging Face Spaces
1. Push your code to GitHub
2. Create a new Space on Hugging Face:
- Choose "Next.js" as the SDK
- Connect your GitHub repository
- The environment variables are already configured in the repositoryThe application will automatically build and deploy.
## π Project Structure
```
pickup-line-generator/
βββ app/
β βββ page.tsx # Main page component
β βββ layout.tsx # Root layout
β βββ globals.css # Global styles
β βββ api/
β βββ generate/ # API route for generation
β βββ route.ts
βββ lib/
β βββ model.ts # Model integration
βββ public/ # Static assets
```## π― Example Pickup Lines
Here are some examples of what the generator can create:
- π **Romantic**: "Are you a magician? Because whenever I look at you, everyone else disappears."
- π¬ **Nerdy**: "Are you made of copper and tellurium? Because you're Cu-Te!"
- π **Cheesy**: "Are you a parking ticket? Because you've got FINE written all over you!"
- π **Cringe**: "Are you a dictionary? Because you're adding meaning to my life!"
- π **Flirty**: "Is your name Google? Because you've got everything I've been searching for!"## π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## π License
This project is licensed under the MIT License - see the LICENSE file for details.
## π Acknowledgments
- Built using SmolLM by Hugging Face
- Deployed on Hugging Face Spaces