{"id":31057286,"url":"https://github.com/rishikesh-suvarna/zyppd","last_synced_at":"2026-04-17T09:31:31.424Z","repository":{"id":304270340,"uuid":"1018302727","full_name":"rishikesh-suvarna/zyppd","owner":"rishikesh-suvarna","description":"A modern, feature-rich URL shortener built with Next.js 14, offering custom domains, advanced analytics, and premium features for businesses and professionals.","archived":false,"fork":false,"pushed_at":"2025-12-21T18:59:58.000Z","size":699,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T07:41:39.563Z","etag":null,"topics":["neondb","nextjs","postgresql","serverless","url-shortener","vercel-deployment"],"latest_commit_sha":null,"homepage":"https://www.zyppd.cc","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishikesh-suvarna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-12T01:46:20.000Z","updated_at":"2025-12-21T18:59:50.000Z","dependencies_parsed_at":"2025-07-12T03:46:15.109Z","dependency_job_id":"1de5353b-d966-4ef3-970e-d60d79cf39fe","html_url":"https://github.com/rishikesh-suvarna/zyppd","commit_stats":null,"previous_names":["rishikesh-suvarna/zyppd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishikesh-suvarna/zyppd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishikesh-suvarna%2Fzyppd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishikesh-suvarna%2Fzyppd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishikesh-suvarna%2Fzyppd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishikesh-suvarna%2Fzyppd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishikesh-suvarna","download_url":"https://codeload.github.com/rishikesh-suvarna/zyppd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishikesh-suvarna%2Fzyppd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neondb","nextjs","postgresql","serverless","url-shortener","vercel-deployment"],"created_at":"2025-09-15T06:56:23.031Z","updated_at":"2026-04-17T09:31:31.389Z","avatar_url":"https://github.com/rishikesh-suvarna.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Zyppd Logo](https://github.com/rishikesh-suvarna/zyppd/raw/main/public/logo-vertical.png \"Zyppd Logo\")\n\n# 🔗 Zyppd\n\nA modern, feature-rich URL shortener built with Next.js 14, offering custom domains, advanced analytics, and premium features for businesses and professionals.\n\n## ✨ Features\n\n### 🆓 Free Tier\n- Create custom short links\n- Password protection for links\n- Link expiration dates\n- Basic analytics (clicks, countries, referrers)\n- Branded short links with zyppd.cc domain\n\n### 👑 Premium Tier\n- Custom domains (use your own domain)\n- Advanced analytics with detailed charts\n- Unlimited links\n- API access\n- Priority support\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Node.js 18+ \n- PostgreSQL database\n- Google OAuth App (for authentication)\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/rishikesh-suvarna/zyppd.git\n   cd zyppd\n   ```\n\n2. **Install dependencies**\n   ```bash\n   npm install\n   ```\n\n3. **Setup environment variables**\n   ```bash\n   cp .env.example .env\n   ```\n   \n   Fill in your environment variables:\n   ```env\n   # Database\n   DATABASE_URL=\"postgresql://username:password@localhost:5432/zyppd\"\n   \n   # NextAuth\n   NEXTAUTH_URL=\"http://localhost:3000\"\n   NEXTAUTH_SECRET=\"your-secret-key\"\n   \n   # Google OAuth\n   GOOGLE_CLIENT_ID=\"your-google-client-id\"\n   GOOGLE_CLIENT_SECRET=\"your-google-client-secret\"\n   \n   # App\n   NEXT_PUBLIC_BASE_URL=\"http://localhost:3000\"\n   ```\n\n4. **Setup database**\n   ```bash\n   npx prisma generate\n   npx prisma db push\n   ```\n\n5. **Run the development server**\n   ```bash\n   npm run dev\n   ```\n\n6. **Open your browser**\n   Visit [http://localhost:3000](http://localhost:3000)\n\n## 🔧 Tech Stack\n\n- **Framework**: Next.js 14 (App Router)\n- **Database**: PostgreSQL with Prisma ORM\n- **Authentication**: NextAuth.js (Google)\n- **Styling**: Tailwind CSS\n- **Icons**: Lucide React\n- **Language**: TypeScript\n\n## 📖 Usage\n\n### Creating Short Links\n\n1. Sign in with your Google account\n2. Go to the Dashboard\n3. Click \"Create New Link\"\n4. Enter your URL and optional settings:\n   - Custom short code\n   - Password protection\n   - Expiration date\n   - Title and description\n\n### Analytics\n\nView detailed analytics for your links:\n- Click statistics over time\n- Geographic data (countries)\n- Referrer information\n- Device and browser data\n\n### Custom Domains (Premium)\n\n1. Upgrade to Premium\n2. Go to Settings → Custom Domains\n3. Add your domain\n4. Follow DNS setup instructions\n5. Use your domain for short links\n\n## 🛠️ API Reference\n\n### Authentication\nAll API endpoints require authentication via NextAuth session.\n\n### Create Link\n```bash\nPOST /api/links\nContent-Type: application/json\n\n{\n  \"originalUrl\": \"https://example.com\",\n  \"shortCode\": \"my-link\",\n  \"title\": \"My Link\",\n  \"password\": \"secret123\",\n  \"expiresAt\": \"2024-12-31T23:59:59.000Z\"\n}\n```\n\n### Get Links\n```bash\nGET /api/links?page=1\u0026limit=10\u0026search=example\n```\n\n### Get Analytics\n```bash\nGET /api/links/{linkId}/analytics\n```\n\n## 🔐 Environment Variables\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `DATABASE_URL` | PostgreSQL connection string | ✅ |\n| `NEXTAUTH_URL` | Your app URL | ✅ |\n| `NEXTAUTH_SECRET` | NextAuth secret key | ✅ |\n| `GOOGLE_CLIENT_ID` | Google OAuth Client ID | ✅ |\n| `GOOGLE_CLIENT_SECRET` | Google OAuth Client Secret | ✅ |\n| `NEXT_PUBLIC_BASE_URL` | Public app URL | ✅ |\n\n## 📁 Project Structure\n\n```\nzyppd/\n├── app/                    # Next.js app directory\n│   ├── api/               # API routes\n│   ├── auth/              # Authentication pages\n│   ├── dashboard/         # Dashboard pages\n│   └── [shortCode]/       # Dynamic redirect pages\n├── components/            # React components\n├── lib/                   # Utility functions\n├── prisma/               # Database schema\n└── public/               # Static assets\n```\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🆘 Support\n\n- 📧 Email: rishikeshsuvarna@gmail.com\n- 🐛 Issues: [GitHub Issues](https://github.com/rishikesh-suvarna/zyppd/issues)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishikesh-suvarna%2Fzyppd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishikesh-suvarna%2Fzyppd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishikesh-suvarna%2Fzyppd/lists"}