Skip to content

AmiayGPT is a modern, open-source ChatGPT-like chatbot app with user authentication, persistent conversations, beautiful UI, markdown/codeblock support, and OpenAI integration. Built with Node.js, Express, MySQL, vanilla JS, and Tailwind CSS.

Notifications You must be signed in to change notification settings

stranik38/AmiayGPT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmiayGPT Banner

AmiayGPT 🤖✨

Modern, open-source ChatGPT-like chatbot app with user authentication, persistent conversations, beautiful UI, markdown/codeblock support, and OpenAI integration.


📚 Table of Contents


✨ Features

  • 🤖 OpenAI GPT-3.5-turbo integration
  • 🔐 User authentication (JWT, MySQL)
  • 💬 Persistent conversation history
  • 🎨 Modern UI (glassmorphism, dark/light mode)
  • 📝 Markdown & codeblock syntax highlighting
  • 🌗 Light/Dark mode toggle
  • 📋 Copy button for code blocks
  • 📱 Responsive design
  • 🛎️ Notifications & real-time typing indicator
  • 💡 Suggestion cards for quick prompts
  • ...and more!

🚀 Setup

  1. Clone the repository
  2. Install dependencies
    npm install
  3. Configure environment variables
    • Copy .env.example to .env and fill in your values (OpenAI API key, MySQL credentials, JWT secret, etc.)
  4. Import the database schema
    • Run the SQL in database.sql on your MySQL server
  5. Start the server
    npm start
  6. Visit http://localhost:3000

🛠️ Project Structure

amiaygpt/
├── public/                 # Frontend (HTML, CSS, JS)
├── config/                 # Database config
├── middleware/             # JWT authentication
├── routes/                 # API routes (auth, conversations)
├── server.js               # Main Express server
├── database.sql            # MySQL schema
├── package.json            # Dependencies and scripts
└── README.md               # Documentation

📝 Codeblock & Markdown Syntax

  • Markdown: Bot responses support headings, bold, italic, lists, tables, blockquotes, links, inline code, and more
  • Syntax highlighting: All languages supported via PrismJS
  • Light/Dark mode: Toggle in the UI
  • Codeblocks: Use triple backticks and language name:

Example:

# This is a Python code block
for i in range(5):
    print(i)

🧩 Coming Soon

  • 🎨 More advanced markdown rendering
  • 🧑‍💻 User profile customization
  • 📦 Conversation export
  • 🖌️ More codeblock themes
  • 📱 Mobile app

AmiayGPT is under active development. Stay tuned! 🚀

About

AmiayGPT is a modern, open-source ChatGPT-like chatbot app with user authentication, persistent conversations, beautiful UI, markdown/codeblock support, and OpenAI integration. Built with Node.js, Express, MySQL, vanilla JS, and Tailwind CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.1%
  • HTML 25.9%
  • CSS 9.0%