{"id":29579280,"url":"https://github.com/sunanda01/stream_nest","last_synced_at":"2026-06-25T03:31:15.725Z","repository":{"id":302253230,"uuid":"1011342523","full_name":"Sunanda01/Stream_Nest","owner":"Sunanda01","description":"StreamNest is a modern video sharing platform built with Next.js App Router, Cloudinary for video hosting, and Supabase PostgreSQL for scalable data storage. Featuring secure file uploads, thumbnail support, and Arcjet-based abuse protection — fully type-safe with Drizzle ORM.","archived":false,"fork":false,"pushed_at":"2025-07-05T12:10:36.000Z","size":65209,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-25T15:00:53.879Z","etag":null,"topics":["arcjet","better-auth","cloudinary","drizzle-orm","nextjs","postgresql","screen-re","supabase","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://stream-nest-chi.vercel.app","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/Sunanda01.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}},"created_at":"2025-06-30T17:04:21.000Z","updated_at":"2025-07-05T12:10:39.000Z","dependencies_parsed_at":"2025-07-25T15:11:27.015Z","dependency_job_id":null,"html_url":"https://github.com/Sunanda01/Stream_Nest","commit_stats":null,"previous_names":["sunanda01/stream_nest","sunanda01/streamnest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sunanda01/Stream_Nest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FStream_Nest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FStream_Nest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FStream_Nest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FStream_Nest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sunanda01","download_url":"https://codeload.github.com/Sunanda01/Stream_Nest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunanda01%2FStream_Nest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34758773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arcjet","better-auth","cloudinary","drizzle-orm","nextjs","postgresql","screen-re","supabase","tailwindcss","typescript"],"created_at":"2025-07-19T16:16:13.076Z","updated_at":"2026-06-25T03:31:15.719Z","avatar_url":"https://github.com/Sunanda01.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.\n\nThis project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.\n\n---\n\n## 📌 NOTE\nThis is the updated version of the original project: [Video_Streaming](https://github.com/Sunanda01/Video_Streaming.git)\n\n---\n\n## ▶️ What’s New in StreamNest\n\n\u003e StreamNest is a refactored and production-ready evolution of the original Video_Streaming app — built with better architecture, improved developer experience, and scalable backend services.\n\n\u003e A video streaming platform designed to deliver high-quality content with a smooth user experience that supports screen recording and uploading video.\n\n---\n\n\u003cimg src=\"/public/screenshots/Poster.jpg\" alt=\"Poster\" /\u003e\n\n---\n\n## Quick Glimpses\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eSignIn Page\u003cbr\u003e\u003cimg src=\"/public/screenshots/sign-in.png\" alt=\"Register Page\" /\u003e\u003c/td\u003e\n     \u003ctd\u003eHome Page\u003cbr\u003e\u003cimg src=\"/public/screenshots/home.png\" alt=\"Home Page\" /\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n     \u003ctr\u003e\n    \u003ctd colspan=2\u003eHome Page\u003cbr\u003e\u003cimg src=\"/public/screenshots/home2.png\" alt=\"Home Page\" /\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003ctd\u003eFilter\u003cbr/\u003e \u003cimg src=\"/public/screenshots/filter.png\" alt=\"Filter\" /\u003e\u003c/td\u003e\n     \u003ctd\u003eUpdate Visibility\u003cbr/\u003e \u003cimg src=\"/public/screenshots/update_visibility.png\" alt=\"Update Visibility\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n   \u003ctr\u003e\n    \u003ctd\u003eVideo Detail Page\u003cbr/\u003e \u003cimg src=\"/public/screenshots/video-detail.png\" alt=\"Video Detail Page\" /\u003e\u003c/td\u003e\n     \u003ctd\u003eProfile Page\u003cbr/\u003e \u003cimg src=\"/public/screenshots/profile.png\" alt=\"Profile Page\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n   \u003ctr\u003e\n    \u003ctd\u003eStart Recording\u003cbr/\u003e \u003cimg src=\"/public/screenshots/start-recording.png\" alt=\"Start Recording\" /\u003e\u003c/td\u003e\n     \u003ctd\u003eStop Recording\u003cbr/\u003e \u003cimg src=\"/public/screenshots/stop-recording.png\" alt=\"Stop Recording\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n   \u003ctr\u003e\n    \u003ctd\u003eScreen Recording\u003cbr/\u003e \u003cimg src=\"/public/screenshots/screen-recording.png\" alt=\"Screen Recording\" /\u003e\u003c/td\u003e\n     \u003ctd\u003eUpload Video\u003cbr/\u003e \u003cimg src=\"/public/screenshots/uplaod-video.png\" alt=\"Upload Video\" /\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n---\n\n## Clone the repo\n\n```bash\ngit clone https://github.com/Sunanda01/StreamNest.git\n```\n---\n\n## Add .env of this project\n\n```bash\n\nNEXT_PUBLIC_BASE_URL= \n\n#Better Auth\nBETTER_AUTH_SECRET=\nBETTER_AUTH_URL= \n\n#Google Cloud \nGOOGLE_CLIENT_ID=\nGOOGLE_CLIENT_SECRET=\n\n#Arcjet\nARCJET_API_KEY=\n\n#Supabase\nSUPABASE_PROJECT_PASSWORD=\nDATABASE_URL_POSTGRES=\n\n#Cloudinary\nNEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=\"\"\nNEXT_PUBLIC_CLOUDINARY_API_KEY=\"\"\nCLOUDINARY_API_SECRET=\"\"\n\n```\n\n---\n\n## Architecture Overview\n\n```bash\n\n              🌍 Client (Browser)\n                        │\n         ┌──────────────┼──────────────────┐\n         │              │                  │\n         ▼              ▼                  ▼\n   Upload Video   Upload Thumbnail     View Video\n     (FormData)      (FormData)         (HLS/URL)\n         │              │                  │\n         ▼              ▼                  │\n ┌────────────────┐ ┌────────────────┐     │\n │ Cloudinary API │ │ Cloudinary API │     │\n │ (video/upload) │ │ (image/upload) │     │\n └────────────────┘ └────────────────┘     │\n         │              │                  │\n         ▼              ▼                  │\n    Secure URLs saved in ↓                 │\n                 ┌─────────────────────────┘\n                 │\n         ┌───────▼────────┐\n         │     API Layer  │\n         │ (Next.js + SA) │\n         └───────┬────────┘\n                 │\n          ┌──────▼──────┐\n          │   Arcjet    │   ◄─ Bot detection, abuse filter\n          └──────┬──────┘\n                 │\n      ┌──────────▼────────────────┐\n      │   Drizzle ORM (type-safe) │\n      └──────────┬────────────────┘\n                 │\n        ┌────────▼────────┐\n        │   Supabase DB   │\n        │ (PostgreSQL)    │\n        └─────────────────┘\n\n```\n---\n\n## 🔄 Key Architecture Changes\n\n| Component            | Before                           | Now                                    |\n|----------------------|----------------------------------|----------------------------------------|\n| **Video Upload**     | Bunny CDN (HLS)                  | Cloudinary (via `/video/upload`)       |\n| **Thumbnail Upload** | Bunny / Static or Xata           | Cloudinary (`/image/upload`)           |\n| **Database**         | Xata + PostgreSQL (via Drizzle)  | Supabase PostgreSQL (via Drizzle ORM)  |\n| **Bot Protection**   | Arcjet                           | Arcjet (unchanged)                     |\n| **ORM**              | Drizzle                          | Drizzle (still used with Supabase)     |\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunanda01%2Fstream_nest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunanda01%2Fstream_nest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunanda01%2Fstream_nest/lists"}