/saas

Chatgpt clone- with enhanced features. Build with-Nextjs, tailwind css, prisma, including stripe.

Primary LanguageTypeScriptMIT LicenseMIT

Cogify.social

Cogify.Social Platform - Your Gateway to Enhanced AI-Based SAAS!πŸŽ‰πŸ€–

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.

Features πŸš€

  • 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
  • We build everything at no cost, Including Web domain, Chatgpt API Key, 24*7 Web hosting, SMTP Email Hosting for marketing etc - Everything .

  • Fill this form and we will reach out to you with all the information quickly. Help
Cogify Image Generation

Live Demo

Check out Cogify.Social live in action! Visit: Cogify.social

Installation and Setup

To set up your own version of Cogify.Social, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Shubham-sharma8/saas
    cd saas
  2. Install dependencies:

    npm i
  3. Environment Variables: Copy the .env.example file to .env and update the environment variables as per your requirements.

    cp .env.example .env
  4. Run the prisma for database:

    npx prisma db generate
    npx prisma db push
  5. Run the development server:

    npm run dev

The site should now be running on http://localhost:3000!

✨IMPORTANT

Run the database in server:

Setting Up and Hosting the Database on Ubuntu 🐬

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:

Prerequisites:

Make sure you have Ubuntu server set up and you have administrative (sudo) rights.

Step 1: Update Ubuntu packages:

sudo apt update

Step 2: Install MySQL Server:

sudo apt install mysql-server

Step 3: Check MySQL Service Status:

This step ensures that MySQL is installed and running on your system.

sudo systemctl status mysql

Step 4: Secure Access to MySQL:

Log into MySQL shell as the root user:

sudo mysql

Step 5: Create a New MySQL User:

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;

Step 6: Obtain Your Server IP Address:

This command fetches the public IP of your server, which you might need for accessing your MySQL server remotely.

curl ifconfig.me

Step 7: Configure MySQL to Allow Remote Connections:

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.

Step 8: Restart MySQL to Apply Changes:

sudo systemctl restart mysql

Your Database is now ready πŸŽ‰:

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.

Built With πŸ› οΈ

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

Whatsapp πŸ“±

Whatsapp

Contribution Guidelines 🀝

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.

License πŸ“œ

This project is licensed under the MIT License - see the LICENSE.md file for details.

Connect With Us 🌐

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