GitHubTok is a fun and interactive way to discover trending GitHub repositories. Inspired by popular social media apps, it lets you swipe through repositories to find interesting projects that match your interests.
- Swipe through trending GitHub repositories (TikTok-style)
- View key repository information at a glance (stars, forks, language)
- Mobile-first responsive design
- Smooth animations and transitions
- Desktop and mobile navigation options
- Quick access to repository details
- Next.js 14 - React framework
- Tailwind CSS - Styling
- Framer Motion - Animations
- shadcn/ui - UI components
- GitHub API - Data source
- Node.js 18+
- pnpm (recommended) or npm
- GitHub API Token (optional, but recommended for higher rate limits)
- Create a
.env.localfile in the root directory:
# GitHub API Token (optional but recommended)
GITHUB_TOKEN=your_github_token_hereTo get a GitHub token:
- Go to GitHub Settings > Developer Settings > Personal Access Tokens
- Generate a new token with
public_reposcope - Copy the token to your
.env.localfile
- Clone the repository:
git clone https://github.com/yourusername/githubtok.git
cd githubtok- Install dependencies:
pnpm install- Start the development server:
pnpm dev- Open http://localhost:3000 with your browser to start exploring!
-
Mobile:
- Swipe right if you like a repository
- Swipe left to skip
- Swipe up to open in GitHub
-
Desktop:
- Use arrow keys for navigation
- Click navigation buttons
- Click repository links to open in GitHub
Contributions are welcome! Feel free to:
- Open issues for bugs or feature requests
- Submit pull requests
- Improve documentation
This project is open source and available under the MIT License.
- Built with Next.js
- Styled with Tailwind CSS
- UI components from shadcn/ui
- Powered by GitHub API