A beautiful and minimal web application to search and display GitHub user profiles with detailed statistics and information.
GitHub Profile Inspector is a modern web application built with Node.js and vanilla JavaScript that allows you to search for any GitHub user and instantly view their profile information, statistics, and a direct link to their GitHub account.
- Search GitHub users by username
- Display comprehensive user profile information
- Show follower, following, and repository counts
- User bio and profile picture
- Direct link to GitHub profile
- Dark theme UI inspired by Discord
- Responsive design for mobile and desktop
- Real-time error handling and user feedback
- Loading indicators for better UX
- Keyboard navigation support (Enter to submit)
- Node.js - Backend server
- Express.js - Web framework
- Vanilla JavaScript - Frontend functionality
- CSS3 - Styling and animations
- GitHub API - User data source
.
├── package.json
├── server.js
├── README.md
└── public/
├── index.html
├── script.js
└── style.css
- Clone the repository
git clone https://github.com/iamsumedhsg/Profile-Inspector.git
cd Profile-Inspector- Install dependencies
npm install- Start the server
node server.js- Open your browser and navigate to
http://localhost:3000
- Enter a GitHub username in the search box
- Click the Search button or press Enter
- View the profile information including:
- Profile picture
- Name and bio
- Follower count
- Following count
- Public repository count
- Click "Visit GitHub Profile" to go directly to their GitHub page
The application follows a simple client-server architecture:
- User enters a GitHub username in the frontend
- JavaScript sends a request to the backend API
- Backend fetches user data from GitHub's public API
- Data is returned and displayed beautifully on the frontend
- User can interact with the profile or search again
The application exposes an internal API endpoint:
GET /api/github/:username
This endpoint fetches user data from GitHub and returns JSON with profile information.
The UI features a Discord-inspired dark theme with:
- Dark charcoal background for reduced eye strain
- Teal accent color for interactive elements
- Smooth animations and transitions
- Professional typography using system fonts
- Responsive grid layout for statistics
- Accessible form controls with focus states
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
The application handles various error scenarios:
- Invalid or non-existent usernames
- Network errors
- API rate limiting
- Empty input validation
Clear error messages guide the user to correct their input.
Potential features for future versions:
- User profile caching to reduce API calls
- Search history
- Multiple profile comparison
- Repository listing for searched users
- User location and company information
- GitHub contributions graph
Contributions are welcome! Feel free to fork the repository and submit pull requests.
This project is open source and available under the MIT License.
Created by Sumedh Singh Gautam
For issues, questions, or suggestions, please open an issue on the GitHub repository.