A secure, web-based chat interface for talking to multiple AI models from different providersโall in one beautiful, easy-to-use application.
- Download and install Python 3.11 or newer from python.org.
- Important: During installation, check the box that says "Add Python to PATH". This ensures you can run Python from the command line.
- Open a terminal or command prompt.
- Navigate to the project folder containing
server.pyandindex.html:- Example:
cd path/to/bubbles-ai-gpt/bubbles-ai-gpt
- Example:
- Run the server:
python server.py
- The server will start and your browser should open to
http://localhost:8000automatically.
- Open
index.htmlin your browser, or let the server open it for you. - Sign in or create a Puter account to access AI chat features.
- Type your message and press Enter or click the arrow button.
- Choose your preferred AI provider and model.
- Logout Flow Improved: After logging out, youโll see a pop-up asking if you want to exit and close the app or stay on the login screen.
- Exit Button: Cleanly shuts down the server from the browser when you choose to exit.
- Frontend/Backend Integration: The app now allows the browser to request the backend server to shut down for a seamless exit experience.
-
Start the Server
- Open your terminal/command prompt.
- Navigate to this folder:
cd path/to/bubbles-ai-gpt - Run:
python server.py - Your browser will automatically open to
http://localhost:8000
-
Sign In or Create Account
- New users: Click "Create Account" for a free Puter account.
- Existing users: Click "Sign In" with your Puter credentials.
- Required: You must be signed in to access AI chat features.
-
Choose Your AI
- Beginners: Keep "Puter.js" selectedโit works immediately!
- Advanced: Click "โ๏ธ Configure" to add your own API keys.
-
Start Chatting!
- Type your message and press Enter or click the arrow button.
- Watch the AI respond in real-time!
-
Logout and Exit
- Click the logout button to sign out.
- After logout, choose to exit (which shuts down the server and closes the app) or stay on the login screen.
-
๐ Multiple AI Providers: Switch between different AI services instantly
- Puter.js (Default - No API key needed!)
- OpenAI (ChatGPT models)
- Anthropic (Claude models)
- Google (Gemini models)
- Groq (Fast, free models)
- Hugging Face (Open-source models)
-
๐ฏ Smart Model Selection: Choose from dozens of AI models
- GPT-4o, GPT-3.5 Turbo
- Claude 3.5 Sonnet, Opus, Haiku
- Gemini Pro, Gemini 1.5 Flash
- Llama 3, Mixtral, and more!
-
๐ Privacy & Security: Your conversations stay private
- Runs locally on your computer
- Secure Puter.js authentication required
- No data sent to third parties (except to chosen AI providers)
- Secure HTTPS connections only
-
๐ฌ Beautiful Chat Interface
- Clean, modern design
- Chat bubbles like your favorite messaging apps
- Real-time status updates
- Mobile-friendly responsive design
-
For advanced users: Click "โ๏ธ Configure" to add your own API keys
- Type your message in the text box
- Press Enter or click the arrow button
- Watch the AI respond in real-time!
Important: You must sign in with a Puter account to use any AI features in this application. This ensures secure access to AI services and protects your conversations.
- New to Puter? Click "Create Account" for a free account
- Existing user? Click "Sign In" with your credentials
- Why required? Puter provides secure authentication and AI access management
- Requires Puter account! Sign in or create a free account first
- Access to GPT, Claude, Gemini, and open-source models
- Seamless integration with your Puter cloud account
- First: Make sure you're signed in to your Puter account
- Click the "API Provider" dropdown
- Select your preferred provider (OpenAI, Claude, etc.)
- Click "โ๏ธ Configure"
- Add your API key (links provided for getting keys)
- Start chatting with that provider's models!
- Write essays, stories, or blog posts
- Get help with emails and letters
- Create social media content
- Proofread and edit text
- Ask questions about any topic
- Get explanations of complex concepts
- Help with homework or projects
- Learn new skills step-by-step
- Debug code and fix errors
- Learn programming languages
- Get code examples and explanations
- Review and optimize your code
- Brainstorm ideas for projects
- Create characters and stories
- Write poetry and lyrics
- Generate creative prompts
- Work through complex problems
- Get different perspectives on decisions
- Plan projects and organize tasks
- Analyze data and information
Your safety and privacy are our top priorities:
- ๐ Puter.js Authentication: Secure login required to access AI features
- ๐ Encrypted Connections: All AI communications use HTTPS
- ๐ซ No Local Data Storage: Conversations aren't saved on the local server
- โก Rate Limiting: Prevents abuse and keeps the service stable
- ๐ก๏ธ Path Protection: Blocks malicious file access attempts
- ๐ Request Validation: All inputs are sanitized for security
- Puter.js: Free tier available with generous limits
- Groq: Completely free with fast models (Llama 3, Mixtral)
- Hugging Face: Free access to open-source models
- OpenAI: Pay-per-use (typically $0.002-0.06 per 1K tokens)
- Anthropic: Pay-per-use (similar to OpenAI pricing)
- Google: Generous free tier, then pay-per-use
- Python 3.6+ installed on your computer
- Web browser (Chrome, Firefox, Safari, Edge)
- Internet connection for AI API access
- Puter account (free) for authentication and AI access
- Optional: API keys for advanced providers
- Make sure you're signed in to your Puter account
- Click "Sign In" or "Create Account" if you see the login screen
- Check your internet connection for Puter authentication
- Make sure Python is installed:
python --version - Check if port 8000 is available
- Run from the correct folder (where server.py is located)
- Ensure you're signed in to your Puter account first
- Check your internet connection
- Try switching to a different model
- For API key providers, verify your key is correct
- This is normal for some models/providers
- Try switching to Puter.js or a different model
- Check if your API key has sufficient credits
If you need assistance:
- Check the error messages in the browser console (F12)
- Try switching AI providers or models
- Restart the server (
Ctrl+Cthenpython server.py) - Ensure your API keys are correctly configured
Bubbles-AI-GPT is designed to make AI accessible and enjoyable for everyone. Whether you're a student, professional, creator, or just curious about AI, this app gives you the power to chat with the world's most advanced AI models from the comfort of your own computer.
Happy chatting! ๐
Built with โค๏ธ for the AI community. Secure, private, and powerful.