Skip to content

ThinkSync is a modern, session-based AI chatbot built using Flask, Google Gemini Flash, and MySQL. It supports user authentication, Markdown-rich responses, and a beautiful chat interface designed for real-time conversations and persistent history.

License

Notifications You must be signed in to change notification settings

rajrounak21/ThinkSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– ThinkSync β€” AI Chatbot Powered by Gemini & Flask

ThinkSync is a modern, session-based AI chatbot built using Flask, Google Gemini Flash, and MySQL. It supports user authentication, Markdown-rich responses, and a beautiful chat interface designed for real-time conversations and persistent history.


✨ Features

  • πŸ” User authentication (register & login)
  • πŸ’¬ Conversational chat UI with typing effect
  • 🧠 Powered by Google Gemini (Generative AI)
  • πŸ“œ Markdown rendering (supports code, lists, tables, etc.)
  • πŸ—‚οΈ Session-based chat history stored in MySQL
  • 🎨 Responsive frontend built with minimal JavaScript and clean HTML/CSS
  • πŸ”‘ Environment-based secret management via .env

πŸ“¦ Tech Stack

  • Backend: Python (Flask), Google Generative AI SDK
  • Frontend: HTML5, CSS3, Jinja2, Marked.js
  • Database: MySQL
  • Security: Hashed passwords, session management

πŸ”‘ How to Get Your Google Gemini API Key To use ThinkSync, you need access to the Google Generative AI API (Gemini). Here's how you can get your API key:

🧭 Step-by-Step Guide Go to Google AI Studio Visit https://makersuite.google.com/app

Sign In with Your Google Account Use a Google account to access the platform.

Enable the Gemini API You’ll be prompted to agree to terms and enable API access for your account.

Generate an API Key

Go to this site : https://makersuite.google.com/app/apikey

Click "Create API key"

Copy the key shown

Paste it in your .env file GEMINI_API_KEY=your-copied-api-key

⚠️ Important: Do not share this API key publicly. Treat it like a password.

πŸš€ Getting Started

1. Clone the Repository

git clone https://github.com/yourusername/ThinkSync.git
cd ThinkSync

About

ThinkSync is a modern, session-based AI chatbot built using Flask, Google Gemini Flash, and MySQL. It supports user authentication, Markdown-rich responses, and a beautiful chat interface designed for real-time conversations and persistent history.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors