From a678d9652c0f6f4c23622b601efa64fd20f9e47f Mon Sep 17 00:00:00 2001 From: Elias Oelschner <62939318+levno-710@users.noreply.github.com> Date: Fri, 8 May 2026 15:06:20 +0200 Subject: [PATCH] change prometheus web to playground --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- CONTRIBUTING.md | 2 +- README.md | 4 ++-- doc/README.md | 2 +- doc/getting-started/quickstart-first-obfuscation.md | 2 +- web/index.html | 2 +- web/src/App.tsx | 2 +- web/src/e2e/app.spec.ts | 8 ++++---- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 2715609..7d9fcc2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,7 +17,7 @@ A clear and concise description of what you expected to happen. Steps to reproduce the behavior: Please include: -- A **minimal reproducible example** shared via the Prometheus Web playground: https://prometheus-lua.github.io/Prometheus/ +- A **minimal reproducible example** shared via the Prometheus Playground: https://prometheus-lua.github.io/Prometheus/ - Your config (preset/custom config) - The produced output (or relevant excerpt/error) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cea7e9e..3d3ce86 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ When opening a bug report, include: - Clear bug description - Expected behavior - Steps to reproduce -- A minimal reproducible example shared via the Prometheus Web playground: https://prometheus-lua.github.io/Prometheus/ +- A minimal reproducible example shared via the Prometheus Playground: https://prometheus-lua.github.io/Prometheus/ - Config used (preset/custom config) - Produced output and relevant errors/logs - Environment details (OS, Lua/LuaJIT version) diff --git a/README.md b/README.md index 9228b6e..ad03dfa 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@
- Open Prometheus Web UI + Open Prometheus Playground Tests @@ -50,7 +50,7 @@ Try the browser version first: - Open Prometheus Web UI + Open Prometheus Playground ### Install CLI (Linux/macOS) diff --git a/doc/README.md b/doc/README.md index 4668691..9e448eb 100644 --- a/doc/README.md +++ b/doc/README.md @@ -6,7 +6,7 @@ description: Prometheus is a Lua obfuscator written in pure Lua. Prometheus obfuscates Lua source code using AST transforms and a configurable pipeline. -Use the [Prometheus Webapp](https://prometheus-lua.github.io/Prometheus/) to quickly try out settings and test small snippets. For larger scripts and advanced workflows, use the CLI (`prometheus-lua` or `cli.lua`). +Use the [Prometheus Playground](https://prometheus-lua.github.io/Prometheus/) to quickly try out settings and test small snippets. For larger scripts and advanced workflows, use the CLI (`prometheus-lua` or `cli.lua`). This documentation covers: diff --git a/doc/getting-started/quickstart-first-obfuscation.md b/doc/getting-started/quickstart-first-obfuscation.md index 38b249d..56391cd 100644 --- a/doc/getting-started/quickstart-first-obfuscation.md +++ b/doc/getting-started/quickstart-first-obfuscation.md @@ -1,6 +1,6 @@ # Quickstart: First Obfuscation -You can quickly try Prometheus in the [Prometheus Webapp](https://prometheus-lua.github.io/Prometheus/). For large scripts or advanced use cases, prefer the CLI workflow below. +You can quickly try Prometheus in the [Prometheus Playground](https://prometheus-lua.github.io/Prometheus/). For large scripts or advanced use cases, prefer the CLI workflow below. Create a simple Lua file: diff --git a/web/index.html b/web/index.html index 2381aad..f3358d8 100644 --- a/web/index.html +++ b/web/index.html @@ -3,7 +3,7 @@ - Prometheus Web + Prometheus
diff --git a/web/src/App.tsx b/web/src/App.tsx index f216e80..6b8510d 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -485,7 +485,7 @@ export default function App() {
-

Prometheus Web

+

Prometheus Playground

In-browser Lua obfuscation powered by Prometheus by levno-710.

diff --git a/web/src/e2e/app.spec.ts b/web/src/e2e/app.spec.ts index 6e85daf..32a757c 100644 --- a/web/src/e2e/app.spec.ts +++ b/web/src/e2e/app.spec.ts @@ -2,7 +2,7 @@ import { expect, test } from "@playwright/test" test("loads under the GitHub Pages base and obfuscates input", async ({ page }) => { await page.goto("/") - await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible() + await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible() const input = page.getByLabel("Lua input").locator(".cm-content") await input.click() @@ -22,7 +22,7 @@ test("loads under the GitHub Pages base and obfuscates input", async ({ page }) test("runs input script and shows logs", async ({ page }) => { await page.goto("/") - await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible() + await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible() const input = page.getByLabel("Lua input").locator(".cm-content") await input.click() @@ -37,7 +37,7 @@ test("runs input script and shows logs", async ({ page }) => { test("share link roundtrip keeps the same obfuscated output", async ({ browser, page, context }) => { await context.grantPermissions(["clipboard-read", "clipboard-write"]) await page.goto("/") - await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible() + await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible() const input = page.getByLabel("Lua input").locator(".cm-content") await input.click() @@ -66,7 +66,7 @@ test("share link roundtrip keeps the same obfuscated output", async ({ browser, test("share link can be created after obfuscation fails", async ({ browser, page, context }) => { await context.grantPermissions(["clipboard-read", "clipboard-write"]) await page.goto("/") - await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible() + await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible() const input = page.getByLabel("Lua input").locator(".cm-content") await input.click()