{"id":42273072,"url":"https://github.com/coder7475/cf-remix","last_synced_at":"2026-01-27T07:30:38.995Z","repository":{"id":281123737,"uuid":"937490177","full_name":"coder7475/cf-remix","owner":"coder7475","description":"My Portfolio build using Remix And Deployed to Cloudflare","archived":false,"fork":false,"pushed_at":"2025-12-13T04:19:23.000Z","size":744,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T07:02:26.226Z","etag":null,"topics":["cloudflare","portfolio-website","remix"],"latest_commit_sha":null,"homepage":"https://robiulhossain.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coder7475.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-23T07:13:33.000Z","updated_at":"2025-12-13T04:19:26.000Z","dependencies_parsed_at":"2025-03-24T14:24:02.980Z","dependency_job_id":"c8fff1b4-9e66-4aa3-8517-17e7df523021","html_url":"https://github.com/coder7475/cf-remix","commit_stats":null,"previous_names":["coder7475/cf-remix"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/coder7475/cf-remix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fcf-remix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fcf-remix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fcf-remix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fcf-remix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder7475","download_url":"https://codeload.github.com/coder7475/cf-remix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder7475%2Fcf-remix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28808012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:14:39.408Z","status":"ssl_error","status_checked_at":"2026-01-27T07:14:39.098Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cloudflare","portfolio-website","remix"],"created_at":"2026-01-27T07:30:37.234Z","updated_at":"2026-01-27T07:30:38.990Z","avatar_url":"https://github.com/coder7475.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cf-remix [![CI/CD](https://github.com/coder7475/cf-remix/actions/workflows/ci_cd.yml/badge.svg)](https://github.com/coder7475/cf-remix/actions/workflows/ci_cd.yml)\n\nA modern portfolio website built with **Remix** and deployed on **Cloudflare Pages** with automated CI/CD using GitHub Actions. This project showcases a full-stack web application with server-side rendering, edge computing capabilities, and modern development practices.\n\n## ✨ Features\n\n- 🚀 **Edge-First Architecture**: Built for Cloudflare's edge network for lightning-fast global performance\n- 🎨 **Modern UI Components**: Crafted with Tailwind CSS, Radix UI primitives, and Lucide React icons\n- 📱 **Fully Responsive**: Mobile-first design that works seamlessly across all devices\n- ⚡ **Server-Side Rendering**: Remix-powered SSR for optimal SEO and performance\n- 🔄 **Automated Deployment**: CI/CD pipeline with GitHub Actions for seamless updates\n- 🎯 **TypeScript**: Full type safety throughout the application\n- 🎭 **Interactive Components**: Toast notifications and smooth animations\n- 📊 **Portfolio Sections**: About, Experience, Projects, Skills, Blog, and Contact pages\n\n## 🛠️ Tech Stack\n\n### Frontend\n- **[Remix](https://remix.run/)** - Full-stack web framework\n- **[React 18](https://react.dev/)** - UI library with latest features\n- **[TypeScript](https://www.typescriptlang.org/)** - Type-safe JavaScript\n- **[Tailwind CSS](https://tailwindcss.com/)** - Utility-first CSS framework\n- **[Radix UI](https://www.radix-ui.com/)** - Unstyled, accessible UI primitives\n- **[Lucide React](https://lucide.dev/)** - Beautiful \u0026 consistent icon pack\n- **[Class Variance Authority](https://cva.style/)** - Class utility library\n\n### Infrastructure \u0026 Tooling\n- **[Cloudflare Pages](https://pages.cloudflare.com/)** - Edge deployment platform\n- **[Wrangler](https://developers.cloudflare.com/workers/wrangler/)** - Cloudflare developer platform CLI\n- **[Vite](https://vitejs.dev/)** - Next generation frontend build tool\n- **[pnpm](https://pnpm.io/)** - Fast, disk space efficient package manager\n- **[ESLint](https://eslint.org/)** - Code linting and formatting\n- **[GitHub Actions](https://github.com/features/actions)** - CI/CD automation\n\n## 📋 Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- **Node.js** ≥ 20.0.0\n- **pnpm** ≥ 9.0.0 (recommended) or npm/yarn\n- **Git** for version control\n- **Cloudflare Account** for deployment\n\n## 🚀 Quick Start\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/coder7475/cf-remix.git\ncd cf-remix\n```\n\n### 2. Install Dependencies\n\n```bash\npnpm install\n```\n\n### 3. Start Development Server\n\n```bash\npnpm run dev\n```\n\nThe application will be available at `http://localhost:5173`\n\n## 🔧 Development\n\n### Available Scripts\n\n| Command | Description |\n|---------|-------------|\n| `pnpm run dev` | Start development server with hot reload |\n| `pnpm run build` | Build the application for production |\n| `pnpm run start` | Preview the built application locally |\n| `pnpm run preview` | Build and preview the application |\n| `pnpm run deploy` | Build and deploy to Cloudflare Pages |\n| `pnpm run typecheck` | Run TypeScript type checking |\n| `pnpm run typegen` | Generate Cloudflare Workers types |\n| `pnpm run lint` | Run ESLint for code quality |\n| `pnpm run cf-typegen` | Alternative command for type generation |\n\n### Development Workflow\n\n1. **Local Development**: Use `pnpm run dev` for development with hot module replacement\n2. **Type Checking**: Run `pnpm run typecheck` to ensure type safety\n3. **Linting**: Use `pnpm run lint` to maintain code quality\n4. **Testing Locally**: Use `pnpm run start` to test the built application\n\n### Working with Wrangler\n\nTo run the application using Wrangler (Cloudflare's development environment):\n\n```bash\npnpm run build\npnpm run start\n```\n\nThis simulates the Cloudflare Pages environment locally, including edge runtime features.\n\n## 🏗️ Project Structure\n\n```\ncf-remix/\n├── app/                        # Remix application code\n│   ├── components/            # Reusable React components\n│   │   ├── ui/               # UI primitives and shared components\n│   │   ├── AboutMe.tsx       # About section component\n│   │   ├── Banner.tsx        # Hero banner component\n│   │   ├── Blog.tsx          # Blog section component\n│   │   ├── Experience.tsx    # Experience timeline component\n│   │   ├── Footer.tsx        # Site footer component\n│   │   ├── GetInTouch.tsx    # Contact form component\n│   │   ├── Navbar.tsx        # Navigation component\n│   │   ├── Projects.tsx      # Projects showcase component\n│   │   └── Skills.tsx        # Skills display component\n│   ├── hooks/                # Custom React hooks\n│   ├── libs/                 # Utility functions and helpers\n│   ├── routes/               # Remix route components\n│   │   ├── _index.tsx        # Home page route\n│   │   ├── about.tsx         # About page route\n│   │   ├── blog.tsx          # Blog page route\n│   │   ├── contact.tsx       # Contact page route\n│   │   ├── experiences.tsx   # Experience page route\n│   │   ├── projects.tsx      # Projects page route\n│   │   └── skills.tsx        # Skills page route\n│   ├── entry.client.tsx      # Client-side entry point\n│   ├── entry.server.tsx      # Server-side entry point\n│   ├── root.tsx              # Root application component\n│   └── tailwind.css          # Global styles and Tailwind imports\n├── build/                     # Built application (generated)\n├── public/                    # Static assets\n├── .github/                   # GitHub Actions workflows\n│   └── workflows/\n│       └── ci_cd.yml         # CI/CD pipeline configuration\n├── package.json              # Project dependencies and scripts\n├── wrangler.toml            # Cloudflare Workers configuration\n├── vite.config.ts           # Vite build configuration\n├── tailwind.config.ts       # Tailwind CSS configuration\n└── tsconfig.json            # TypeScript configuration\n```\n\n## 🎨 Styling \u0026 UI\n\n### Tailwind CSS Configuration\n\nThe project uses a custom Tailwind CSS setup with:\n\n- **Custom Design System**: Consistent spacing, colors, and typography\n- **Component Variants**: Using Class Variance Authority for component styling\n- **Responsive Design**: Mobile-first approach with responsive utilities\n- **Animations**: Smooth transitions and micro-interactions\n- **Dark Mode Support**: Built-in dark mode capabilities\n\n### Component Architecture\n\n- **Atomic Design**: Components are organized in a scalable hierarchy\n- **Accessibility First**: All components follow WCAG guidelines\n- **Reusability**: Shared components with flexible prop interfaces\n- **Type Safety**: Full TypeScript integration for component props\n\n## ⚙️ Configuration\n\n### Environment Variables\n\nCreate a `.env` file in the root directory for local development:\n\n```env\n# Add your environment variables here\n# CLOUDFLARE_API_TOKEN=your_api_token\n# CLOUDFLARE_ACCOUNT_ID=your_account_id\n```\n\n### Wrangler Configuration\n\nThe `wrangler.toml` file configures Cloudflare Workers settings:\n\n```toml\nname = \"cf-remix\"\ncompatibility_date = \"2024-02-20\"\n\n[site]\nbucket = \"./build/client\"\n```\n\n### Vite Configuration\n\nCustom Vite setup with:\n\n- **Remix Integration**: Full-stack development with file-based routing\n- **TypeScript Paths**: Absolute imports configuration\n- **Cloudflare Dev Proxy**: Local development with edge runtime\n- **Future Flags**: Latest Remix features enabled\n\n## 📦 Type Generation\n\nGenerate TypeScript types for your Cloudflare bindings:\n\n```bash\npnpm run typegen\n```\n\nThis command:\n\n- Reads your `wrangler.toml` configuration\n- Generates TypeScript definitions for Workers APIs\n- Updates type definitions for environment bindings\n- Ensures type safety across your application\n\n**Note**: Rerun typegen whenever you modify `wrangler.toml` or add new Cloudflare bindings.\n\n## 🚢 Deployment\n\n### Automatic Deployment (Recommended)\n\nThe project includes a GitHub Actions workflow that automatically:\n\n1. **Builds** the application on every push to main\n2. **Tests** code quality with linting and type checking\n3. **Deploys** to Cloudflare Pages\n4. **Notifies** of deployment status\n\n### Manual Deployment\n\nFor manual deployments:\n\n```bash\n# Build the application\npnpm run build\n\n# Deploy to Cloudflare Pages\npnpm run deploy\n```\n\n### Deployment Prerequisites\n\n1. **Cloudflare Account**: Set up a Cloudflare account\n2. **Wrangler Authentication**: Login with `wrangler login`\n3. **GitHub Secrets**: Configure deployment secrets in GitHub repository\n4. **Domain Configuration**: Set up custom domain (optional)\n\n## 🔍 Performance \u0026 Optimization\n\n### Edge Computing Benefits\n\n- **Global CDN**: Content delivered from 200+ edge locations\n- **Zero Cold Starts**: Instant response times worldwide\n- **Automatic Scaling**: Handles traffic spikes seamlessly\n- **Built-in Caching**: Intelligent edge caching strategies\n\n### Bundle Optimization\n\n- **Tree Shaking**: Eliminates unused code automatically\n- **Code Splitting**: Lazy loading for optimal performance\n- **Asset Optimization**: Automatic image and asset optimization\n- **Compression**: Gzip and Brotli compression enabled\n\n## 🧪 Testing \u0026 Quality Assurance\n\n### Code Quality\n\n- **ESLint**: Comprehensive linting rules for JavaScript/TypeScript\n- **TypeScript**: Compile-time error checking and IntelliSense\n- **Prettier Integration**: Consistent code formatting\n- **Import Sorting**: Organized import statements\n\n### CI/CD Pipeline\n\nThe GitHub Actions workflow ensures:\n\n- **Dependency Installation**: Cached for faster builds\n- **Type Checking**: Validates TypeScript across the project\n- **Linting**: Enforces code quality standards\n- **Build Verification**: Ensures successful production builds\n- **Automated Deployment**: Seamless deployment on success\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 some amazing feature'`)\n4. **Push** to the branch (`git push origin feature/amazing-feature`)\n5. **Open** a Pull Request\n\n### Development Guidelines\n\n- Follow the existing code style and conventions\n- Write meaningful commit messages\n- Add appropriate TypeScript types for new features\n- Test your changes locally before submitting\n- Update documentation for significant changes\n\n## 📚 Learning Resources\n\n- **[Remix Documentation](https://remix.run/docs)** - Learn Remix framework\n- **[Cloudflare Pages Docs](https://developers.cloudflare.com/pages/)** - Deployment platform guide\n- **[Tailwind CSS Guide](https://tailwindcss.com/docs)** - Styling documentation\n- **[Vite Documentation](https://vitejs.dev/guide/)** - Build tool configuration\n- **[TypeScript Handbook](https://www.typescriptlang.org/docs/)** - Type system guide\n\n## 🐛 Troubleshooting\n\n### Common Issues\n\n**Development server not starting:**\n```bash\n# Clear node_modules and reinstall\nrm -rf node_modules pnpm-lock.yaml\npnpm install\npnpm run dev\n```\n\n**Type errors after updating dependencies:**\n```bash\n# Regenerate types\npnpm run typegen\npnpm run typecheck\n```\n\n**Build failures:**\n```bash\n# Check for TypeScript errors\npnpm run typecheck\n\n# Check for linting issues\npnpm run lint\n```\n\n**Deployment issues:**\n```bash\n# Login to Wrangler\nwrangler login\n\n# Verify configuration\nwrangler pages project list\n```\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- **[Remix Team](https://remix.run/)** for the amazing full-stack framework\n- **[Cloudflare](https://cloudflare.com/)** for the edge computing platform\n- **[Tailwind CSS](https://tailwindcss.com/)** for the utility-first CSS framework\n- **[Radix UI](https://www.radix-ui.com/)** for accessible UI primitives\n- **Open Source Community** for the excellent tools and libraries\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder7475%2Fcf-remix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder7475%2Fcf-remix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder7475%2Fcf-remix/lists"}