Conversation
… correct RAM display, proxy management, and management URL in install summary
…hanced settings page - install.sh: SOCKS5 setup with user/pass, Ad-Tag from MTProxyBot, GeoIP country blocking - docker-compose: added vimagick/dante container for SOCKS5 - Web UI: new SOCKS5 page with connection details and usage instructions - Web UI: enhanced settings page showing all services (SOCKS5, Ad-Tag, GeoIP) - Web UI: SOCKS5 link in sidebar and dashboard - config/socks5.conf: generated Dante config with auth - settings.json: stores all new options
… SOCKS5 page, enhanced stats and settings
…e endpoint - Web UI: backup/restore page with list, create, restore, delete - Web UI: health check with Docker, disk, RAM, config checks - Web UI: multiple SOCKS5 users management - API: /api/system/backup, /restore, /delete-backup, /backups, /health - API: /api/socks5/add-user for adding SOCKS5 users - API: /api/qr for QR code generation - Sidebar: added Backup link
… and enhanced settings - install.sh: HTTP/HTTPS proxy setup with Squid, webhook notification config - docker-compose: added sameersbn/squid container for HTTP proxy - config/squid.conf: generated Squid config with basic auth - config/squid.passwd: generated htpasswd file - Web UI: HTTP/HTTPS proxy page with usage instructions and comparison table - Web UI: speedtest endpoint (download/upload/ping via Cloudflare) - Web UI: webhook test endpoint - Web UI: settings page with speedtest, webhook test, HTTP proxy info - settings.json: stores http_proxy and webhook_url - version: 1.3.0
… webhook, backup, health check, SOCKS5 multi-user
…ent, rate limiting, config export - Web UI: new Security page with IP management, firewall, rate limiting, config export - API: /api/security/ip-lists, /blacklist/add, /blacklist/remove, /whitelist/add, /whitelist/remove - API: /api/security/firewall (GET/POST) for UFW port management - API: /api/security/ratelimit for rate limit configuration - API: /api/security/export for downloading all configs as ZIP - Sidebar: added Security link
… management, 2FA, i18n BREAKING: Complete platform overhaul NEW FEATURES: - MTG Agent: FastAPI HTTP agent for remote node monitoring and management - Node Management: Add/edit/delete nodes, SSH connect, country flags, ping test - Client Management: Auto port/secret, start/stop, QR codes, sync, mass view - Real-time Monitoring: rx/tx traffic, unique IPs, 24h sparkline charts, online cache - Limits & Automation: Traffic GB auto-stop, device limit, expiry, auto-reset schedule - Security: Token auth, TOTP 2FA (Google Authenticator, Aegis, Authy) - Interface: Dark/light theme, RU/EN languages, custom logo upload, responsive - Agent: One-click install via curl, Docker API integration, 30s cache ARCHITECTURE: - Multi-node support with HTTP agent on each node - Client lifecycle management with limits and auto-stop - Real-time sparkline charts for 24h connection history - QR code generation for quick Telegram connection - Config export as ZIP archive Updated: README.md, webui/app.py, all templates, CSS, JS Added: agent/ directory with agent.py, Dockerfile, install.sh Updated: Version 2.0.0
…ture, API, install guide
…ith --build --force-recreate, added update.sh script - install.sh: downloads files directly to INSTALL_DIR instead of temp dir - install.sh: removes old webui/bot/scripts before downloading fresh copies - install.sh: docker compose up -d --build --force-recreate on install - install.sh: removes old Docker images before rebuild - scripts/update.sh: one-command update script that downloads all files and rebuilds - All step numbers corrected (8-12)
…ate contexts, auto-open firewall ports - app.py: get_settings() now returns defaults for ALL fields (socks5, http_proxy, webhook, etc.) - app.py: common_context() helper passes settings, has_logo, lang, now to all templates - app.py: auto ufw allow port when creating new clients - app.py: error handling for psutil in get_system_info() - All page routes use common_context() to ensure consistent template variables - Fixed template variable mismatches causing 500 errors
…TProto tab - All templates fully in Russian (dashboard, clients, nodes, stats, settings, security, socks5, http-proxy, logs, backup) - Every page has a description paragraph explaining what it does - Added /mtproto page for MTProto proxy settings (domain rotation, Ad-Tag, connection links) - Removed i18n/English toggle — everything is Russian by default - All buttons, labels, placeholders, tooltips in Russian - Sidebar navigation fully in Russian - Added descriptions to forms explaining what each field does - Help sections with tips on each page
CRITICAL FIXES: - Docker volume mounts: added /var/run/docker.sock and /opt/mtprotoserver to webui container - Web UI now has full access to host Docker and filesystem - All file operations use correct paths (/app/data, /app/config, /opt/mtprotoserver) - Speedtest rewritten in pure Python (no curl dependency) - Health check uses docker Python SDK instead of CLI - Logs work from inside container via docker compose - Config export ZIP uses correct HOST_DIR path NEW FEATURES: - Password protection for dashboard - asked during installation - Login page with cookie-based auth middleware - Create SOCKS5 proxy directly from dashboard (one click) - Create HTTP/HTTPS proxy directly from dashboard (one click) - Update system button on dashboard (pull + rebuild) - SOCKS5/HTTP creation auto-updates docker-compose and starts containers - Auto-open firewall ports when creating new proxies FILES: - install.sh: added dashboard password step, auth.json creation, docker.sock mount - app.py: complete rewrite with auth middleware, proxy creation, Python speedtest - Dockerfile: added curl, requirements: added docker SDK - New: login.html template
…ks, systemd, files, firewall rules, docker prune
…nimal requirements
…delete all, secret gen, node instructions CRITICAL FIXES: - Auto-create clients.json and nodes.json on startup if missing - Fix health check - creates missing files automatically - Add server_ip to all template contexts for auto IP substitution - Fix all copy buttons to use server_ip variable - Fix copy buttons in clients.html, mtproto.html, nodes.html NEW FEATURES: - Delete all button on dashboard (with double confirmation) - Secret generation button in MTProto settings page - Detailed step-by-step instructions on nodes page - Uninstall API endpoint TEMPLATES UPDATED: - dashboard.html: added delete all button, server_ip usage - clients.html: fixed copy buttons with server_ip - nodes.html: detailed instructions, server_ip usage - mtproto.html: secret generation, server_ip usage - All templates use server_ip instead of settings.proxy_ip
…show all MTProto proxies
…o public API shows all proxies
…et per proxy, delete individual proxies, list API endpoint
…oxies, add WIP notice to README
…y is always saved even if container creation fails
…h proxies and clients merged
…lify to use only proxies.json
…te from proxies.json
…ack to /proc/net/tcp
…fic counting via /proc/net/dev
…t connected IPs with traffic
…f empty clients.json
…real client IPs and connections
…t/tcp access (inspired by MaksimTMB/mtg-adminpanel)
… (works in Alpine)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.