⭐ Star this repo on GitHub to support the project and stay updated with the latest changes.
Konvo is a real-time chat application built with Next, Node.js, Express, and Socket.io. It allows users to communicate with each other in real-time through a web interface.
- Features
- Built with
- Before you start
- Getting started
- Env variables
- Run it
- Want to help out?
- License
- Thanks
- Real-time chat with Socket.io
- Sign up and log in with Better Auth
- Chat rooms you can join and switch between
- Dark and light mode
- Works on desktop and mobile
- Next.js (App Router)
- React
- Tailwind CSS
- shadcn/ui components
- Framer Motion for animations
- Better Auth for sign up, log in and sessions
Make sure you have these installed:
- Node.js (v18 or newer)
- npm (comes with Node)
- A PostgreSQL database running somewhere (local or hosted)
git clone https://github.com/Shaeikh/Konvo.git
cd Konvonpm installCopy the example file and fill in your own values:
cp .env.example .env| Variable | What it's for |
|---|---|
BETTER_AUTH_SECRET |
Secret key used by Better Auth. See the Better Auth docs |
BETTER_AUTH_URL |
The base URL of the app, e.g.http://localhost:3000 |
POSTGRESQL_URL |
Your Postgres connection string |
NEXT_PUBLIC_APP_URL |
The app URL used in production |
NEXT_PUBLIC_SOCKET_URL |
Optional. Where the socket server runs. Left empty, it uses the base URL |
npm run devOpen http://localhost:3000 in your browser.
npm run build
npm startContributions are welcome! Here's how:
- Fork the repo
- Make a new branch (
git checkout -b my-feature) - Commit your changes (
git commit -m "Add my feature") - Push the branch (
git push origin my-feature) - Open a pull request
Found a bug? Feel free to open an issue.
This project is licensed under the MIT License. See the LICENSE file for more info.
- Next.js for the framework.
- Better Auth for easy authentication
- Socket.io for real-time messaging
- shadcn/ui for the UI components
- Everyone who stars and shares the project ⭐
- Me who is brave enough to use Socket.io with Next
