{"id":34692994,"url":"https://github.com/deadronos/repohub","last_synced_at":"2026-05-26T15:35:25.615Z","repository":{"id":329192499,"uuid":"1118510067","full_name":"deadronos/repohub","owner":"deadronos","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-06T13:28:23.000Z","size":1190,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T15:37:52.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://deadronosrepohub.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/deadronos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-17T21:37:21.000Z","updated_at":"2026-05-06T13:28:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deadronos/repohub","commit_stats":null,"previous_names":["deadronos/repohub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deadronos/repohub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frepohub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frepohub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frepohub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frepohub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadronos","download_url":"https://codeload.github.com/deadronos/repohub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadronos%2Frepohub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33528076,"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":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-12-24T22:04:06.713Z","updated_at":"2026-05-26T15:35:25.609Z","avatar_url":"https://github.com/deadronos.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Project Hub (RepoHub)\n\nA **Cyber-Minimalist** portfolio and project gallery built with the latest web technologies. Features a \"Holo-Deck\" style bento grid layout with physics-based animations and premium glassmorphism aesthetics.\n\n![Next.js](https://img.shields.io/badge/Next.js-16-black) ![Supabase](https://img.shields.io/badge/Supabase-SSR-green) ![Tailwind](https://img.shields.io/badge/Tailwind_CSS-v4-blue) ![Framer Motion](https://img.shields.io/badge/Framer_Motion-Animation-purple)\n\n## ✨ Features\n\n- **Cyber-Minimalist Design**: Dark mode, neon glows, and glassmorphism UI.\n- **WebGPU-Powered 3D Particle Effects**: Advanced particle system using WebGPU with automatic WebGL fallback for maximum browser compatibility.\n- **Bento Grid Layout**: Responsive, masonry-style grid for project cards.\n- **Zero-Layout Shift Transitions**: Clicking a card expands it into a details modal using `framer-motion` layout animations.\n- **Secure Admin Dashboard**:\n  - Protected route `/admin` (Middleware + explicit admin allowlist).\n  - **CRUD Operations**: Create, Read, Update, and Delete projects.\n  - **Image Upload**: Drag \u0026 drop upload directly to public Supabase Storage.\n- **Tech Stack**:\n  - **Framework**: Next.js 16 (App Router)\n  - **Backend**: Supabase (PostgreSQL + Auth + Storage)\n  - **Styling**: Tailwind CSS v4\n  - **3D Graphics**: React Three Fiber with WebGPU renderer\n  - **Icons**: Lucide React\n\n## 🛠️ Setup Guide\n\n### 1. Prerequisites\n\n- Node.js 20.9+ (required by Next.js 16)\n- A [Supabase](https://supabase.com) account\n\n### 2. Installation\n\n```bash\ngit clone https://github.com/yourusername/repohub.git\ncd repohub\nnpm install\n```\n\n### 3. Environment Variables\n\nCreate a `.env.local` file in the root:\n\n```bash\nNEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co\nNEXT_PUBLIC_SUPABASE_PUBLISHABLE_DEFAULT_KEY=your_publishable_key\nADMIN_EMAILS=admin@example.com\n```\n\n`ADMIN_EMAILS` is a comma-separated allowlist of admin email addresses. Any authenticated user whose email is not in this list will be blocked from `/admin` and from project mutations.\n\n### 4. Supabase Configuration\n\n`supabase/schema.sql` is the canonical schema source for this project. Use that file in Supabase instead of relying on a copied SQL snippet in this README.\n\nSetup steps:\n\n1. In Supabase Storage, create a new bucket named `projects` and enable **Public Bucket**.\n2. Run the full contents of [`supabase/schema.sql`](supabase/schema.sql) in the Supabase **SQL Editor**.\n3. Manage admin emails by adding them to the `public.admin_emails` table in the Supabase dashboard.\n\nThat schema creates all required runtime pieces, including:\n\n- The `projects` and `admin_emails` tables.\n- RLS policies for public reads and allowlisted admin mutations.\n- Storage policies for the `projects` bucket.\n- The `update_project_order(uuid[])` RPC used by drag-and-drop ordering in `/admin`.\n\nIf you change the database setup later, update [`supabase/schema.sql`](supabase/schema.sql) first and keep the README aligned with it.\n\n### 5. Create Admin User\n\nSince there is no public sign-up page:\n\n1. Go to Supabase Dashboard -\u003e **Authentication** -\u003e **Users**.\n2. Click **Add User** and create your admin credentials.\n3. Add that exact email address to `ADMIN_EMAILS` in your environment.\n4. Add that same email address to the `public.admin_emails` table in your Supabase database to ensure database-level RLS policies grant you access.\n\n## 🏃‍♂️ Running Locally\n\n```bash\nnpm run dev\n```\n\n- **Home**: `http://localhost:3000`\n- **Admin**: `http://localhost:3000/admin` (Redirects to login unless the signed-in user email is allowlisted)\n\n## 📚 Documentation\n\n- **[WebGPU Migration Guide](docs/WEBGPU_MIGRATION.md)**: Details on the WebGPU renderer implementation, browser compatibility, and fallback behavior.\n\n## 🧪 Testing\n\n```bash\nnpm run test          # Run all tests\nnpm run test:coverage # Generate coverage report\nnpm run typecheck     # TypeScript type checking\n```\n\n## 🌐 Browser Compatibility\n\nThe particle background uses WebGPU when available (Chrome 113+, Safari 18+) and automatically falls back to WebGL2 for broader compatibility. All major modern browsers are supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Frepohub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadronos%2Frepohub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadronos%2Frepohub/lists"}