diff --git a/index.html b/index.html index 8a28494..5966f25 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - random + API Key Generator
diff --git a/public/favicon.svg b/public/favicon.svg index 6893eb1..3a93133 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1 +1,10 @@ - \ No newline at end of file + + + + + + + + + + diff --git a/src/App.svelte b/src/App.svelte index dafc575..4290dd5 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,88 +1,11 @@
-
- - Svelte logo - Vite logo -
-
-

Get started

-

Edit src/App.svelte and save to test HMR

-
- -
- -
- -
-
- -

Documentation

-

Your questions, answered

- -
-
- -

Connect with us

-

Join the Vite community

- -
+

API Key Generator

+

Generate secure Stripe-style API keys

+
diff --git a/src/lib/KeyGenerator.svelte b/src/lib/KeyGenerator.svelte new file mode 100644 index 0000000..f5c958b --- /dev/null +++ b/src/lib/KeyGenerator.svelte @@ -0,0 +1,146 @@ + + +
+
+ + {revealed ? key : 'sk_live_' + '•'.repeat(32)} + + +
+ +
+ + +
+
+ +