Welcome to the git repository for Cogify.Social, the ultimate interactive web platform designed to Chatgpt-4 based conversation Free always, no ads and Whatsapp usability. Powered by cutting-edge technologies like Next.js 13, React, TypeScript, and more, this platform offers users a rich blend of features including Chatgpt-4 conversations, AI-driven image generation, insightful image analysis, and lifelike text-to-speech functionalities and much more. Dive into a world where technology meets creativity, fully live-hosted and free to use, backed by an open-source community's excellence.
- Live Conversations: Engage in best AI-Based conversation with GPT-4o. Including streaming, always free forever, no ads. 💬
- Web connected GPT-4o: Experience the power of OPEN AI GPT-4o connected to realtime internet. 🛜
- AI-Powered Image Generation: Bring your imaginations to life with just a few clicks. Generate up to 7 images at once with Dall-E-3 🎨
- Image Insights: Get deep insights into the content and context of images. And ask questions regarding your image🔍
- Whatsapp integration: Send your message to Here to continue these awesome features in whatsapp. Start enjoying by saying Hi.
- Text to Speech: Convert your text into natural-sounding speech seamlessly with more then 5 speaking model. 🗣️
- More features are on the way
- Fill this form and we will reach out to you with all the information quickly. Help
Check out Cogify.Social live in action! Visit: Cogify.social
To set up your own version of Cogify.Social, follow these steps:
-
Clone the repository:
git clone https://github.com/Shubham-sharma8/saas cd saas
-
Install dependencies:
npm i
-
Environment Variables: Copy the
.env.example
file to.env
and update the environment variables as per your requirements.cp .env.example .env
-
Run the prisma for database:
npx prisma db generate npx prisma db push
-
Run the development server:
npm run dev
The site should now be running on http://localhost:3000!
Run the database in server:
Cogify.Social uses a MySQL database to manage data. Here is a step-by-step guide to help you create and host the database on an Ubuntu server:
Make sure you have Ubuntu server set up and you have administrative (sudo) rights.
sudo apt update
sudo apt install mysql-server
This step ensures that MySQL is installed and running on your system.
sudo systemctl status mysql
Log into MySQL shell as the root user:
sudo mysql
Once inside MySQL Shell, you might want to create a new user and grant privileges for better security and management. Execute the following SQL commands:
SELECT user FROM mysql.user;
CREATE USER 'USERNAME'@'%' IDENTIFIED BY 'PASSWORD';
GRANT ALL PRIVILEGES ON *.* TO 'USERNAME'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
This command fetches the public IP of your server, which you might need for accessing your MySQL server remotely.
curl ifconfig.me
By default, MySQL doesn't allow connections from remote hosts. Edit the MySQL config file to change this:
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
In the editor, look for the line that says bind-address
and change its value from 127.0.0.1
to 0.0.0.0
.
sudo systemctl restart mysql
Your MySQL database is now set up and configured to accept connections remotely using the public IP of your server.
ℹ️ Note: For security purposes, it is highly recommended to use a firewall to restrict access to your MySQL server and to use SSL for data encryption if your database will be accessed over the internet.
✅ For cloud server like azure and AWS etc: Open port 3306, 80 TCP.
💭Your database URL: DATABASE_URL= mysql://USERNAME:PASSWORD@YOURSERVERIP:3306/sample?usessl=true
🛑Invalid Website: If you getting this error in your button right. Create an account with Crisp and update components/crisp-chat.tsx with your credentials.
- Next.js 14 - The React framework for production
- React - A JavaScript library for building user interfaces
- TypeScript (TSX) - Superset of JavaScript for type-safe code
- Clerk - For secure user management and authentication
- Aceternity UI and Shadch UI - Advanced UI frameworks for modern React applications
- Tailwind CSS - A utility-first CSS framework for rapidly building custom designs
- Prisma - Next-generation ORM for Node.js and TypeScript
- Stripe - Integrated payment solutions
- Crisp - For support and quick help.
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug 🐛
- Discussing the current state of the code 🔍
- Submitting a fix 🔧
- Proposing new features 💡
Feel free to contribute or check our contribution guidelines for more details.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Join our dynamic community and start contributing. For more information, or to join our team, please visit Join-us.
We're excited to see how you use and enhance Cogify.Social. Get started today and unleash your creativity! 🌟 Cogify.social