diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml
index 5924b414..53bafd3a 100644
--- a/.github/workflows/build-and-push.yml
+++ b/.github/workflows/build-and-push.yml
@@ -9,7 +9,7 @@ on:
- main
env:
- IMAGE_NAME: ghcr.io/hmbanan666/chat-game/app
+ IMAGE_NAME: ghcr.io/chat-game/app
jobs:
docker:
diff --git a/README.md b/README.md
index 57abf756..ee6be347 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
- πΊ [Developing and playing it live](https://www.twitch.tv/hmbanan666)
- πΎ [Our community in Discord](https://discord.gg/B6etUajrGZ)
-![Screen](https://github.com/hmbanan666/chat-game/assets/25910785/a22468a4-0bf1-43e3-91fc-23a1e2a675fc)
+![Screen](https://github.com/chat-game/app/assets/25910785/a22468a4-0bf1-43e3-91fc-23a1e2a675fc)
π€ Imagine procedurally generated world where you and your viewers can:
@@ -32,12 +32,12 @@ Let's build a similar world together! βοΈ Become a Stargazer βοΈ
You can develop in isolated container with prepared options:
-[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/hmbanan666/chat-game)
+[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/chat-game/app)
Make a fork. Or clone this repo and use standard commands:
```shell
-git clone https://github.com/hmbanan666/chat-game
+git clone https://github.com/chat-game/app
yarn install
yarn run dev
```
@@ -46,8 +46,8 @@ yarn run dev
A huge thank you to everyone who is helping to improve. Thanks to you, the project can evolve!
-
+
## πͺ License
-This project is licensed under the MIT License - see the [**MIT License**](https://github.com/hmbanan666/chat-game/blob/main/LICENSE) file for details.
+This project is licensed under the MIT License - see the [**MIT License**](https://github.com/chat-game/app/blob/main/LICENSE) file for details.
diff --git a/package.json b/package.json
index 181c2e94..c419f39c 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "chat-game",
+ "name": "app",
"type": "module",
"version": "0.2.0",
"description": "Chat Game for Twitch",
@@ -8,10 +8,10 @@
"homepage": "https://chatgame.space",
"repository": {
"type": "git",
- "url": "git+https://github.com/hmbanan666/chat-game.git"
+ "url": "git+https://github.com/chat-game/app.git"
},
"bugs": {
- "url": "https://github.com/hmbanan666/chat-game/issues"
+ "url": "https://github.com/chat-game/app/issues"
},
"keywords": [
"game",
diff --git a/src/lib/config.ts b/src/lib/config.ts
index 72680ed9..e715871a 100644
--- a/src/lib/config.ts
+++ b/src/lib/config.ts
@@ -2,12 +2,12 @@ import { z } from 'zod'
import { env as publicEnv } from '$env/dynamic/public'
/**
- * ΠΠ΄Π΅ΡΡ ΠΎΠ±ΡΡΠ²Π»ΡΠ΅ΡΡΡ ΡΡ
Π΅ΠΌΠ° ΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠ°ΡΠΈΠΈ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ.
- * Π‘ΠΎΠ΄Π΅ΡΠΆΠΈΡ ΡΠΎΠ»ΡΠΊΠΎ ΠΏΡΠ±Π»ΠΈΡΠ½ΡΠ΅ ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΠΎΠΊΡΡΠΆΠ΅Π½ΠΈΡ.
+ * This is where the application configuration schema is declared.
+ * Contains only public environment variables.
*
- * ΠΡΠΈΠ²Π°ΡΠ½ΡΠ΅ ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΡΠ΅ ΠΎΠΊΡΡΠΆΠ΅Π½ΠΈΡ Ρ
ΡΠ°Π½ΡΡΡΡ Π² '$env/dynamic/private'
- * ΠΠΎ ΠΏΠΎΠ»ΠΈΡΠΈΠΊΠ΅ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΎΠ½ΠΈ Π½Π΅ Π΄ΠΎΠ»ΠΆΠ½Ρ Π±ΡΡΡ Π΄ΠΎΡΡΡΠΏΠ½Ρ Π½Π° ΠΊΠ»ΠΈΠ΅Π½ΡΠ΅.
- * Π ΠΊΠ°ΠΆΠ΄ΠΎΠ΅ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΏΡΠΈΠ²Π°ΡΠ½ΠΎΠΉ ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠΉ ΠΎΠΊΡΡΠΆΠ΅Π½ΠΈΡ Π΄ΠΎΠ»ΠΆΠ½ΠΎ Π² ΡΡΡΠ½ΠΎΠΌ ΡΠ΅ΠΆΠΈΠΌΠ΅.
+ * Private environment variables are stored in '$env/dynamic/private'
+ * According to security policy, they should not be available on the client.
+ * Every use of a private environment variable must be done manually.
*/
const allEnv = z.object({
@@ -15,7 +15,7 @@ const allEnv = z.object({
PUBLIC_SIGNIN_REDIRECT_URL: z.string().default(''),
PUBLIC_WEBSOCKET_URL: z.string().default(''),
PUBLIC_DONATE_URL: z.string().default('https://www.donationalerts.com/r/hmbanan666'),
- PUBLIC_GITHUB_REPO_URL: z.string().default('https://github.com/hmbanan666/chat-game'),
+ PUBLIC_GITHUB_REPO_URL: z.string().default('https://github.com/chat-game/app'),
PUBLIC_DISCORD_SERVER_INVITE_URL: z.string().default('https://discord.gg/B6etUajrGZ'),
PUBLIC_GAME_ADMIN_PLAYER_ID: z.string().default('svhjz9p5467wne9ybasf1bwy'),
PUBLIC_TWITCH_CLIENT_ID: z.string().default(''),