Skip to content

Commit a678d96

Browse files
committed
change prometheus web to playground
1 parent 6c7aea8 commit a678d96

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A clear and concise description of what you expected to happen.
1717
Steps to reproduce the behavior:
1818

1919
Please include:
20-
- A **minimal reproducible example** shared via the Prometheus Web playground: https://prometheus-lua.github.io/Prometheus/
20+
- A **minimal reproducible example** shared via the Prometheus Playground: https://prometheus-lua.github.io/Prometheus/
2121
- Your config (preset/custom config)
2222
- The produced output (or relevant excerpt/error)
2323

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ When opening a bug report, include:
1717
- Clear bug description
1818
- Expected behavior
1919
- Steps to reproduce
20-
- A minimal reproducible example shared via the Prometheus Web playground: https://prometheus-lua.github.io/Prometheus/
20+
- A minimal reproducible example shared via the Prometheus Playground: https://prometheus-lua.github.io/Prometheus/
2121
- Config used (preset/custom config)
2222
- Produced output and relevant errors/logs
2323
- Environment details (OS, Lua/LuaJIT version)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<br/>
1010

1111
<a href="https://prometheus-lua.github.io/Prometheus/">
12-
<img src="https://img.shields.io/badge/Prometheus%20Web-Try%20Out-0F766E?style=for-the-badge&logo=github&logoColor=white" alt="Open Prometheus Web UI" />
12+
<img src="https://img.shields.io/badge/Prometheus%20Web-Try%20Out-0F766E?style=for-the-badge&logo=github&logoColor=white" alt="Open Prometheus Playground" />
1313
</a>
1414
<a href="https://github.com/prometheus-lua/Prometheus/actions/workflows/Test.yml">
1515
<img src="https://img.shields.io/github/actions/workflow/status/prometheus-lua/Prometheus/Test.yml?branch=master&style=for-the-badge&label=Tests" alt="Tests" />
@@ -50,7 +50,7 @@ Try the browser version first:
5050

5151

5252
<a href="https://prometheus-lua.github.io/Prometheus/">
53-
<img src="https://img.shields.io/badge/Prometheus%20Web-Open-0F766E?style=for-the-badge&logo=github&logoColor=white" alt="Open Prometheus Web UI" />
53+
<img src="https://img.shields.io/badge/Prometheus%20Web-Open-0F766E?style=for-the-badge&logo=github&logoColor=white" alt="Open Prometheus Playground" />
5454
</a>
5555

5656
### Install CLI (Linux/macOS)

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Prometheus is a Lua obfuscator written in pure Lua.
66

77
Prometheus obfuscates Lua source code using AST transforms and a configurable pipeline.
88

9-
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`).
9+
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`).
1010

1111
This documentation covers:
1212

doc/getting-started/quickstart-first-obfuscation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Quickstart: First Obfuscation
22

3-
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.
3+
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.
44

55
Create a simple Lua file:
66

web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Prometheus Web</title>
6+
<title>Prometheus</title>
77
</head>
88
<body>
99
<div id="root"></div>

web/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ export default function App() {
485485
<FileCode2 className="size-5" />
486486
</div>
487487
<div>
488-
<h1 className="text-lg font-semibold leading-tight">Prometheus Web</h1>
488+
<h1 className="text-lg font-semibold leading-tight">Prometheus Playground</h1>
489489
<p className="text-xs text-muted-foreground">
490490
In-browser Lua obfuscation powered by Prometheus by levno-710.
491491
</p>

web/src/e2e/app.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from "@playwright/test"
22

33
test("loads under the GitHub Pages base and obfuscates input", async ({ page }) => {
44
await page.goto("/")
5-
await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible()
5+
await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible()
66

77
const input = page.getByLabel("Lua input").locator(".cm-content")
88
await input.click()
@@ -22,7 +22,7 @@ test("loads under the GitHub Pages base and obfuscates input", async ({ page })
2222

2323
test("runs input script and shows logs", async ({ page }) => {
2424
await page.goto("/")
25-
await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible()
25+
await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible()
2626

2727
const input = page.getByLabel("Lua input").locator(".cm-content")
2828
await input.click()
@@ -37,7 +37,7 @@ test("runs input script and shows logs", async ({ page }) => {
3737
test("share link roundtrip keeps the same obfuscated output", async ({ browser, page, context }) => {
3838
await context.grantPermissions(["clipboard-read", "clipboard-write"])
3939
await page.goto("/")
40-
await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible()
40+
await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible()
4141

4242
const input = page.getByLabel("Lua input").locator(".cm-content")
4343
await input.click()
@@ -66,7 +66,7 @@ test("share link roundtrip keeps the same obfuscated output", async ({ browser,
6666
test("share link can be created after obfuscation fails", async ({ browser, page, context }) => {
6767
await context.grantPermissions(["clipboard-read", "clipboard-write"])
6868
await page.goto("/")
69-
await expect(page.getByRole("heading", { name: "Prometheus Web" })).toBeVisible()
69+
await expect(page.getByRole("heading", { name: "Prometheus Playground" })).toBeVisible()
7070

7171
const input = page.getByLabel("Lua input").locator(".cm-content")
7272
await input.click()

0 commit comments

Comments
 (0)