Skip to content

CodeNearby is a social networking platform, made specifically for developers to connect, collaborate, and grow together.

License

Notifications You must be signed in to change notification settings

subh05sus/CodeNearby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘‹ Welcome to CodeNearby

License: MIT PRs Welcome Good First Issues Last Commit Contributors Open Issues Vercel Visitors

CodeNearby is a social networking platform built with Next.js 14, made specifically for developers to connect, collaborate, and grow together.

CodeNearby - Find coding partners & build togetherβ€”Tinder for developers! | Product Hunt

πŸš€ Find coding partners. Build together. Think Tinder for developers.
πŸ§‘β€πŸ’» Now open-source β€” contribute and grow with us!

πŸ“š Table of Contents

🌟 Features

  • πŸ” 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

βš™οΈ Tech Stack

  • 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

🚧 .env Configuration

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

πŸ”‘ How to Get the Required Credentials

  • 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


🧠 Why CodeNearby?

  • 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

πŸ› οΈ Getting Started (Local Development)

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

🀝 Contributing to CodeNearby

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.

πŸ“Œ Steps to Contribute

  1. Fork the repository

  2. Clone your fork locally:

    git clone https://github.com/subh05sus/codenearby.git
    cd codenearby
  3. Create a new feature branch:

    git checkout -b feature/your-feature-name
  4. Make your changes and commit them:

    git commit -m "feat: add your feature"
  5. Push to your fork and create a Pull Request:

    git push origin feature/your-feature-name
  6. 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.


πŸ’‘ Contributors

πŸ“Œ Our Vision

Networking for developers should be effortless.
Whether you're looking for a mentor, co-founder, or hackathon buddy, CodeNearby makes it simple and personal.

πŸ›€οΈ Roadmap & Future Plans

  • 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

❓ FAQ

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.

🌍 Join the Movement

Let's make the developer community stronger, more collaborative, and accessible β€” together.

⭐ Star this repo | 🍴 Fork it | 🀝 Contribute

πŸ“£ Find us on

πŸ†˜ Need Help?

  • 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.

About

CodeNearby is a social networking platform, made specifically for developers to connect, collaborate, and grow together.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages