aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client-web/public/start.html47
1 files changed, 27 insertions, 20 deletions
diff --git a/client-web/public/start.html b/client-web/public/start.html
index d81351a..4c90934 100644
--- a/client-web/public/start.html
+++ b/client-web/public/start.html
@@ -31,46 +31,53 @@
<a href="https://codeberg.org/metamuffin/keks-meet">codeberg</a>
</noscript>
<script>
- <!-- TODO any better idea for random room names? -->
function random_name() {
const frags = [
[
- "Sweet",
"Delicious",
+ "Flavourful",
"Fluffy",
- "Small",
"Glowing",
- "Flavourful",
+ "Irradiated",
+ "Magic",
+ "Radiant",
+ "Small",
+ "Soft",
+ "Sweet",
"Tasty",
"Yummy",
- "Soft",
],
[
- "Strawberry",
- "Raspberry",
+ "Apple",
+ "Banana",
+ "Berry",
"Blueberry",
"Chocolate",
- "Vanilla",
- "Potato",
- "Tomato",
"Lemon",
- "Apple",
+ "Lime",
"Pineapple",
+ "Potato",
"Pumpkin",
+ "Raspberry",
+ "Strawberry",
+ "Tomato",
+ "Vanilla",
],
[
- "Muffin",
- "Pie",
- "Cupcake",
- "Sandwish",
+ "Biscuit",
"Cake",
"Cookie",
"Crêpe",
- "Pancake",
- "Biscuit",
- "IceCream",
- "Yogurt",
+ "Cupcake",
+ "Dessert",
+ "Icecream",
+ "Meal",
"Milkshake",
+ "Muffin",
+ "Pancake",
+ "Pie",
+ "Sandwish",
+ "Snack",
],
];
return frags
@@ -81,7 +88,7 @@
function random_secret() {
const random = window.crypto.getRandomValues(
- new Uint8Array(32)
+ new Uint8Array(10) // 80b (+ ~11b from name) entropy
);
return Array.from(random)
.map((b) => b.toString(16).padStart(2, "0"))