GitHub Profile Analyzer
A modern React application to analyze GitHub users, visualize their activities, and explore repositories. Built with React, TypeScript, and Vite with a sleek UI powered by shadcn/ui components.

Features
- 🔍 Search for any GitHub user by username
- 📊 View comprehensive user profile statistics
- 📈 Visualize commit activity with interactive charts
- 🌟 Track star/watching activity
- 🛠️ Monitor repo creation events
- 💻 Responsive design for all devices
Live Demo
Check out the live demo here
Tech Stack
- React js
- TypeScript
- Shadcn/ui components
- Tailwind CSS
- GitHub REST API
Installation and Setup
Prerequisites
- Node.js 18+ and npm
- GitHub Personal Access Token (for API access)
Setup Instructions
- Clone the repository
git clone https://github.com/SwastikIIIT/githubanalyser.git
cd githubanalyser
- Install dependencies
npm install
- Set up environment variables
Create a .env file in the root directory:
VITE_GITHUB_TOKEN=your_github_personal_access_token
⚠️ Never commit your .env file to version control!
- Start the development server
npm run dev
- Build for production
npm run build
Deployment
Deploying to Vercel
- Fork this repository
- Create an account on Vercel if you don’t have one
- Create a new project and import your GitHub repository
- Add your GitHub token as an environment variable:
- Name:
VITE_GITHUB_TOKEN
- Value: Your GitHub personal access token
- Deploy!
Deploying to Netlify
- Fork this repository
- Create an account on Netlify if you don’t have one
- Create a new site and import your GitHub repository
- Configure the build settings:
- Build command:
npm run build
- Publish directory:
dist
- Add your GitHub token as an environment variable:
- Name:
VITE_GITHUB_TOKEN
- Value: Your GitHub personal access token
- Deploy!
Usage
- Enter a GitHub username in the search box
- Click “Analyze” or press Enter
- Explore the user’s profile information, repositories, and activity analytics
- Navigate between tabs to view different aspects of the profile
- Use pagination to browse through repositories
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add some amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Created by Swastik Sharma
评论