CodeNearby is a social networking platform built with Next.js 14, made specifically for developers to connect, collaborate, and grow together.
π Find coding partners. Build together. Think Tinder for developers.
π§βπ» Now open-source β contribute and grow with us!
- π Features
- βοΈ Tech Stack
- π§ Why CodeNearby?
- π οΈ Getting Started
- π€ Contributing
- π Our Vision
- π£ Find us on
- π Discover Developers: Search by skills, interests, and location
- π€ AI-Connect: Find GitHub developers through natural conversation using Meta: Llama 4 Maverick AI
- π¬ Chat: Real-time conversations and collaboration
- π’ Developer Feed: Share updates, snippets, and thoughts
- π Virtual Gatherings: Host anonymous polls, events & discussions
- π GitHub Integration: Auto-fetch your profile and GitHub activity
- π Global Meets Local: Interact worldwide, focus locally
- β‘ Redis Caching: Fast responses with Upstash Redis caching for GitHub searches and AI interactions
- Framework: Next.js 14
- Database: MongoDB
- Auth: NextAuth.js (GitHub provider)
- Storage: Cloudinary
- Realtime + Notifications: Firebase
- AI: Meta: Llama 4 Maverick AI for intelligent developer search
- Caching: Upstash Redis for efficient API and AI caching
Create a .env.local
file in the root and paste the following:
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_secret_here
GITHUB_ID=your_github_id_here
GITHUB_SECRET=your_github_secret_here
MONGODB_URI=mongodb://localhost:27017
NODE_ENV=development
CLOUDINARY_CLOUD_NAME=your_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
NEXT_PUBLIC_FIREBASE_DATABASE_URL=
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSENGER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=
# Google Gemini API
GOOGLE_GENERATIVE_AI_API_KEY=your_gemini_key
# Upstash Redis configuration for caching
UPSTASH_REDIS_REST_URL=your_upstash_redis_url
UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_token
-
GitHub OAuth (NextAuth)
β GitHub Developer Settings β Register a new OAuth App
β Homepage URL:http://localhost:3000
β Callback URL:http://localhost:3000/api/auth/callback/github
-
MongoDB URI
β Use MongoDB Atlas or local MongoDB
β Example:mongodb+srv://<username>:<password>@cluster.mongodb.net/CodeNearby
-
Cloudinary
β Sign Up β Dashboard β Get Cloud Name, API Key & Secret -
Firebase Config
β Firebase Console β Create project
β Go to Project Settings β Web App β Copy config variables into.env.local
-
Gemini API Key β Google AI Studio β Get API Key for Gemini AI
-
Upstash Redis β Sign Up for Upstash β Create a new Redis database β Copy the REST URL and REST Token into
.env.local
- Find devs who share your stack & mindset
- Use AI-powered search to discover the perfect collaborators
- Connect with people around you, virtually or IRL
- Build real technical relationships
- Share your coding journey
- Stay updated with local meetups & events
git clone https://github.com/subh05sus/codenearby.git
cd codenearby
npm install
cp .env.example .env.local # then fill it with your credentials
npm run dev
We welcome all contributions β from bug fixes to new feature ideas. Whether you're improving UI, fixing typos, or optimizing performance, you're helping the community.
-
Fork the repository
-
Clone your fork locally:
git clone https://github.com/subh05sus/codenearby.git cd codenearby
-
Create a new feature branch:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m "feat: add your feature"
-
Push to your fork and create a Pull Request:
git push origin feature/your-feature-name
-
Submit your PR to the
main
branch with a clear description.
π‘ Pro tip: Please follow our PR template and ensure your branch is updated with
main
before requesting review.
Networking for developers should be effortless.
Whether you're looking for a mentor, co-founder, or hackathon buddy, CodeNearby makes it simple and personal.
- Real-time chat integration
- More Advanced AI matchmaking
- Mobile app support (React Native)
- Event scheduling and calendar sync
- Video chat integration for real-time collaboration
- Localization and multi-language support
Q: Is CodeNearby free to use?
A: Yes, itβs fully open-source and free.
Q: Can I self-host CodeNearby?
A: Absolutely. Follow the setup instructions and youβre good.
Q: How does AI-Connect protect my data?
A: We only use your public GitHub data and process AI requests securely with Google Gemini API.
Q: Can I contribute without coding?
A: Yes! You can help by reporting bugs, suggesting features, or improving docs.
Let's make the developer community stronger, more collaborative, and accessible β together.
β Star this repo | π΄ Fork it | π€ Contribute
- Join the GitHub Discussions for community support
- Open an issue for bugs or feature requests
- Contact Subhadip directly for inquiries
Built with β€οΈ by Subhadip and the awesome contributors.