A feature-rich, real-time messaging plugin for Acode editor that allows you to chat with other users while coding. Built with modern UI design and real-time WebSocket communication.
note this plugin is fully open source at hear and it usage Chat-API as backend which is also open source at hear
this plugin usage this repository which is written in FastAPI (python)
- Secure Login/Logout with session management
- User Registration with email verification
- OTP Verification for account security
- Password Reset functionality
- Auto-login with cookie-based sessions
- Safe message encoding/decoding
- Real-time messaging via WebSocket
- Group chats and direct messages
- Typing indicators
- Message timestamps
- Online/Offline status
- Message history persistence
- Modern Dark Theme with customizable colors
- Smooth Animations and transitions
- Responsive Design for mobile and desktop
- Intuitive Chat Interface
- Custom Avatars and user profiles
- Search functionality for users and chats
- Edit personal information
- Change password
- Update profile picture
- Theme preferences
- Notification settings
- Offline Support with network detection
- Automatic Reconnection for WebSocket
- Error Handling with user-friendly messages
- Loading States and progress indicators
- Cross-platform compatibility
- Open Acode Editor
- Go to Settings β Plugins
- Search for "Messenger Ax"
- Click Install
- Restart Acode
- After installation, click on the Messenger icon in the sidebar
- Create an account or login if you already have one
- Verify your email with the OTP code sent to your inbox
- Start chatting!
- Start New Chat: Click the "New Chat" button and search for users
- Send Messages: Type in the message input and press Enter or click Send
- View Profile: Click on your profile picture in the sidebar
- Search Chats: Use the search bar to find specific conversations
- Real-time Updates: See messages instantly as they arrive
- Typing Indicators: Know when someone is typing
- Message Status: See when messages were sent
- Chat History: Access previous conversations
The plugin connects to a messaging server. Default server URL is:
http://fi5.bot-hosting.net:22148
To change the server URL, modify the SERVER_URL constant in the plugin code.
The plugin uses CSS variables for theming. You can customize:
- Primary colors
- Background colors
- Text colors
- Accent colors
The plugin uses the following server endpoints:
POST /login- User loginPOST /sign_up- User registrationPOST /account_verification- OTP verificationPOST /resend_otp- Resend verification codePOST /get_token- Session token validationPOST /forgot_password- Password reset requestPOST /reset_password- Password reset
POST /get_old_messages- Fetch message historyPOST /get_all_users- Get user listWebSocket /ws- Real-time messaging
POST /get_settings_data- Get user profilePATCH /get_settings_data- Update user profile
- Sent messages appear on the right with primary color
- Received messages appear on the left with surface color
- Timestamps show relative time (now, 2m ago, 1h ago)
- Button loaders for form submissions
- Content loaders for chat lists
- Skeleton screens for better UX
- Toast notifications for important events
- Error messages with detailed information
- Success confirmations for completed actions
- Message Encryption using safe encoding
- Secure Authentication with tokens
- Input Validation on all forms
- XSS Protection through content sanitization
- Automatic session renewal
- Secure cookie storage
- Logout from all devices support
-
Connection Failed
- Check your internet connection
- Verify server URL is correct
- Ensure server is running
-
Login Issues
- Verify email and password
- Check if email is verified
- Try password reset if needed
-
Messages Not Sending
- Check WebSocket connection
- Verify recipient is online
- Check message encoding
-
UI Not Loading
- Restart Acode
- Reinstall plugin
- Clear plugin cache
Enable debug mode by setting DEVELOPMENT_MODE = true in the plugin code to see detailed logs.
- Clone the repository
- Modify the plugin code
- Test in Acode development environment
- Package for distribution
messenger-ax/
βββ main.js # Main plugin file
βββ icon.png # Plugin icon
βββ README.md # This file
βββ styles/ # Additional styles (if any)
- Acode Editor API
- Cordova HTTP Plugin
- Cordova WebSocket Plugin
We welcome contributions! Please feel free to submit pull requests, report bugs, or suggest new features.
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
If you need help with the plugin:
- Check this README for solutions
- Open an issue on GitHub
- Contact support via email
- Acode Team for the excellent editor platform
- Contributors who helped improve this plugin
- Testers for valuable feedback
- Users for making this plugin better
Enjoy seamless messaging while coding with Messenger Ax! ππ¬