An open API service indexing awesome lists of open source software.

https://github.com/nishadkindre/gitflex

Flex your GitHub profile
https://github.com/nishadkindre/gitflex

analytics github open-source profile pwa react tailwind

Last synced: 9 months ago
JSON representation

Flex your GitHub profile

Awesome Lists containing this project

README

          

# GitFlex - Flex ๐Ÿ’ช Your GitHub Profile


GitFlex Logo

Transform your GitHub profile into a beautiful, professional showcase



[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
[![React](https://img.shields.io/badge/React-18+-blue.svg)](https://reactjs.org/)
[![Tailwind CSS](https://img.shields.io/badge/Tailwind%20CSS-3+-38B2AC.svg)](https://tailwindcss.com/)
[![Vite](https://img.shields.io/badge/Vite-4+-646CFF.svg)](https://vitejs.dev/)

![Screenshot_20-9-2025_13364_gitflexx vercel app](https://github.com/user-attachments/assets/acde29eb-2a0d-41fb-9931-a1a12dad7cda)

## โœจ Features

### ๐ŸŽจ **Neomorphic Design**
- Modern, elegant UI with soft shadows and depth
- Beautiful light and dark themes with smooth transitions
- Responsive design that works perfectly on all devices

### ๐Ÿ“Š **Rich Data Visualization**
- Interactive contribution graphs and heatmaps
- Language distribution charts
- Repository statistics and trends
- Activity timelines and insights

### โšก **Performance First**
- Lightning-fast loading with intelligent caching
- Lazy loading and code splitting
- Optimized bundle size and runtime performance
- Progressive Web App capabilities

### ๐Ÿ” **Privacy Focused**
- No data collection or tracking
- Uses only public GitHub API data
- Completely client-side application
- Optional GitHub token for higher rate limits

## ๐Ÿš€ Quick Start

### Prerequisites
- Node.js 18+ and npm 9+
- A modern web browser
- Optional: GitHub Personal Access Token for higher API rate limits

### Installation

1. **Clone the repository**
```bash
git clone https://github.com/nishadkindre/gitflex.git
cd gitflex
```

2. **Install dependencies**
```bash
npm install
```

3. **Set up environment variables** (optional)
```bash
cp .env.example .env
# Edit .env and add your GitHub token if needed
```

4. **Start the development server**
```bash
npm run dev
```

5. **Open your browser**
Navigate to `http://localhost:5173`

## ๐Ÿ› ๏ธ Tech Stack

- **Frontend**: React 18+ with modern hooks
- **Styling**: Tailwind CSS with custom neomorphism design system
- **Animation**: Framer Motion for smooth, performant animations
- **Routing**: React Router for client-side navigation
- **Charts**: Chart.js with React integration
- **Icons**: Lucide React for consistent iconography
- **HTTP Client**: Axios with intelligent caching
- **Build Tool**: Vite for fast development and optimized production builds
- **Code Quality**: ESLint + Prettier for consistent code formatting

## ๐Ÿ“ Project Structure

```
gitflex/
โ”œโ”€โ”€ docs/ # Documentation files
โ”œโ”€โ”€ public/ # Static assets
โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ components/ # Reusable UI components
โ”‚ โ”‚ โ”œโ”€โ”€ ui/ # Base UI components
โ”‚ โ”‚ โ”œโ”€โ”€ common/ # Layout components
โ”‚ โ”‚ โ””โ”€โ”€ profile/ # Profile-specific components
โ”‚ โ”œโ”€โ”€ pages/ # Page components
โ”‚ โ”œโ”€โ”€ hooks/ # Custom React hooks
โ”‚ โ”œโ”€โ”€ services/ # API services
โ”‚ โ”œโ”€โ”€ utils/ # Utility functions
โ”‚ โ”œโ”€โ”€ context/ # React contexts
โ”‚ โ””โ”€โ”€ main.jsx # Application entry point
โ”œโ”€โ”€ tailwind.config.js # Tailwind configuration
โ””โ”€โ”€ vite.config.js # Vite configuration
```

## ๐ŸŽฏ Usage

1. **Visit the landing page** and enter any GitHub username
2. **Explore the profile** with beautiful visualizations
3. **Use filters and search** to find specific repositories
4. **Toggle between themes** using the theme switcher
5. **View contribution patterns** and coding statistics

### Example URLs
- `https://gitflexx.vercel.app/octocat` - View GitHub's mascot profile
- `https://gitflexx.vercel.app/torvalds` - View Linus Torvalds' profile
- `https://gitflexx.vercel.app/microsoft` - View Microsoft's organization

## ๐Ÿ”ง Configuration

### Environment Variables

Create a `.env` file based on `.env.example`:

```env
# Optional: GitHub Personal Access Token for higher rate limits
VITE_GITHUB_TOKEN=your_token_here

# API Configuration
VITE_API_BASE_URL=https://api.github.com

```

### GitHub API Rate Limits

- **Without token**: 60 requests per hour
- **With token**: 5000 requests per hour

To get a GitHub token:
1. Go to [GitHub Settings > Developer Settings > Personal Access Tokens](https://github.com/settings/tokens)
2. Generate a new token with public repository access
3. Add it to your `.env` file

## ๐Ÿšข Deployment

### Vercel (Recommended)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/nishadkindre/gitflex)

### Netlify
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/nishadkindre/gitflex)

### Manual Deployment

1. **Build the project**
```bash
npm run build
```

2. **Deploy the `dist` folder** to your preferred hosting service

## ๐Ÿงช Development

### Available Scripts

```bash
# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

# Lint code
npm run lint
npm run lint:fix

# Format code
npm run format
npm run format:check

# Clean build artifacts
npm run clean
```

### Code Style

This project uses ESLint and Prettier for consistent code formatting. The configuration follows React best practices and modern JavaScript standards.

## ๐ŸŽจ Design System

GitFlex uses a custom neomorphic design system built on top of Tailwind CSS:

### Colors
- **Light Mode**: Soft grays with subtle shadows
- **Dark Mode**: Deep grays with inner/outer shadows
- **Accent**: Vibrant blue (#007AFF) and green (#34C759)

### Typography
- **Headings**: Inter or SF Pro Display
- **Code**: JetBrains Mono
- **Body**: Inter with fluid scaling

### Shadows
- Multiple shadow layers for depth
- Responsive shadow system
- Theme-aware shadow colors

## ๐Ÿค Contributing

We welcome contributions from the community! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

### Quick Contribution Steps

1. Fork the repository
2. Create a feature branch: `git checkout -b feature/amazing-feature`
3. Commit your changes: `git commit -m 'Add amazing feature'`
4. Push to the branch: `git push origin feature/amazing-feature`
5. Open a Pull Request

## ๐Ÿ“ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## ๐Ÿ™ Acknowledgments

- [GitHub API](https://docs.github.com/en/rest) for providing the data
- [React](https://reactjs.org/) for the amazing framework
- [Tailwind CSS](https://tailwindcss.com/) for the utility-first CSS framework
- [Framer Motion](https://www.framer.com/motion/) for beautiful animations
- [Lucide](https://lucide.dev/) for the icon system

## ๐Ÿ“Š Stats


GitHub Stars
GitHub Forks
GitHub Issues
License

---


Made with โค๏ธ by Nishad Kindre



Live Demo โ€ข
Report Bug โ€ข
Request Feature