A lightweight, web-based administration panel for the oscar-server (AIM/ICQ protocol emulator). This tool provides a clean UI to manage users, chat rooms, and active sessions without dealing with complex CLI commands or PowerShell scripts.
DISCLAIMER: This project is intended for internal testing and development purposes only. It is not designed for production environments. The proxy included here bypasses CORS for ease of use in local labs and does not implement additional authentication layers beyond what is provided by the base server. Use it within your trusted home lab or private network.
- User Management: Create, delete, and list users (UIN/Screen Names).
- Password Control: Easily update user passwords via the UI.
- Chat Room Management: Create and monitor public chat rooms.
- Session Tracking: View real-time active sessions on the server.
- Automatic Proxy: Built-in Python proxy to handle CORS issues and serve the frontend seamlessly.
- Persistent Config: Remembers your API host settings using browser LocalStorage.
- Python 3.x installed on the server.
- An active instance of oscar-server running (defaulting to port 8080).
-
Clone the repository:
git clone https://github.com/maurognx/oscarserverdashboard.git cd oscarserverdashboard -
Verify File Structure and configure your files: Ensure
admin.htmlandoscar_admin.pyare in the same directory and configure host parameters in oscar_admin.py. -
Run the Dashboard:
python3 oscar_admin.py
- Open your browser and navigate to
http://your-server-ip:9000/admin.html. - In the API Host field at the top, enter the proxy URL:
http://your-server-ip:9000/api - Click Enter (or tab out) to save. The "Saved!" message will appear.
- Start managing your ICQ/AIM users!
Modern browsers enforce strict CORS (Cross-Origin Resource Sharing) policies. Since the base oscar-server does not send CORS headers, a direct web-to-server connection usually fails.
This project solves this by acting as a Reverse Proxy:
- The Python Script serves the static
admin.htmlfile. - It creates an
/apiroute that intercepts requests from the browser. - The script then forwards these requests to the local
oscar-serverand injects the requiredAccess-Control-Allow-Originheaders into the response.
Contributions are welcome! If you want to add retro-style CSS skins (Win98/XP style) or new administrative features, feel free to open an Issue or a Pull Request.
This project is open-source under the GNU License. Use it responsibly for your retro-computing labs!