diff --git a/README.md b/README.md index e45affc..cbaa10f 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,38 @@ Delete your current ESET HOME account 5. [Updater](wiki/Updater.md) 6. [Installer](wiki/Installer.md) 7. [MBCI (Menu-based Сonsole Interface)](wiki/MBCI-Inferface.md) +8. [Web UI (FastAPI based)](wiki/WebUI.md) + +--- + +## 5. Web UI Usage +You can now use a web interface to generate ESET keys and accounts. + +### Prerequisites +Make sure you have installed the required dependencies: +```bash +pip install -r requirements.txt +``` + +### Running the Web Server +Execute the following command to start the web server: +```bash +python web.py +``` +Or if you are using `uvicorn` directly: +```bash +uvicorn web:app --host 0.0.0.0 --port 8000 +``` + +### Accessing the UI +Open your browser and navigate to: +`http://localhost:8000` + +The Web UI allows you to: +- Select generation modes and email APIs via dropdowns. +- View real-time execution logs through WebSockets. +- Access a history of all generated accounts and keys stored in a local SQLite database. +- Automatically save and load your last-used configuration. --- # Additional information diff --git a/requirements.txt b/requirements.txt index fc44db7..5fad1f0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,6 @@ selenium requests colorama +fastapi +uvicorn +websockets diff --git a/static/index.html b/static/index.html new file mode 100644 index 0000000..6169300 --- /dev/null +++ b/static/index.html @@ -0,0 +1,405 @@ + + +
+ + +| Date | +Type | +Password | +License Key | +|
|---|---|---|---|---|
| + | + + | +
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+ N/A
+
+ |
+
| No generation history found. | +||||