diff --git a/assets/README.md b/assets/README.md new file mode 100644 index 0000000..74a76bc --- /dev/null +++ b/assets/README.md @@ -0,0 +1,37 @@ +# 겜녹이 brand assets (app + site) + +Name: **겜녹이** (English: GAME VOICE RECORDER). Sources: `docs/brand/` (avatar, banner) and `src/*.svg`. +Rebuild everything with `./build.sh` (google-chrome + Pillow). + +## app/ (Windows portable exe, Electron) + +| File | Use | +|---|---| +| `icon.ico` | exe / taskbar / window icon (16·24·32 = simplified `src/icon-small.svg`, 48–256 = full icon) | +| `icon.png` | 512px icon (BrowserWindow `icon`, about screen) | +| `tray.png`, `tray@2x.png` | system tray icon (`new Tray(nativeImage)`; Electron picks @2x on HiDPI) | +| `banner.png` | first-run wizard sidebar header, about screen | + +electron-builder (M5): + +```json +{ + "productName": "겜녹이", + "appId": "kr.tkrmagid.gvr", + "win": { "target": "portable", "icon": "assets/app/icon.ico" }, + "portable": { "artifactName": "GameVoiceRecorder-${version}.exe" } +} +``` + +Window titles use `겜녹이 · ` (e.g. `겜녹이 · 설정`). The exe file name stays ASCII so paths and shortcuts never break on non-Korean locales. + +## site/ (gvr.tkrmagid.kr) + +| File | Use | +|---|---| +| `favicon.ico`, `favicon.svg` | browser tab icon | +| `apple-touch-icon.png`, `icon-192.png`, `icon-512.png` | home-screen / PWA icons (`site.webmanifest`) | +| `banner.webp`, `banner.png` | login screen and placeholder page hero | +| `og-image.png` | 1200×630 link preview (Discord/KakaoTalk embeds) | + +The live placeholder (`deploy/placeholder/site/`) already uses these files. diff --git a/assets/app/banner.png b/assets/app/banner.png new file mode 100644 index 0000000..89c80a8 Binary files /dev/null and b/assets/app/banner.png differ diff --git a/assets/app/icon.ico b/assets/app/icon.ico new file mode 100644 index 0000000..08c9d3b Binary files /dev/null and b/assets/app/icon.ico differ diff --git a/assets/app/icon.png b/assets/app/icon.png new file mode 100644 index 0000000..75f2a96 Binary files /dev/null and b/assets/app/icon.png differ diff --git a/assets/app/tray.png b/assets/app/tray.png new file mode 100644 index 0000000..2deea5c Binary files /dev/null and b/assets/app/tray.png differ diff --git a/assets/app/tray@2x.png b/assets/app/tray@2x.png new file mode 100644 index 0000000..e02c015 Binary files /dev/null and b/assets/app/tray@2x.png differ diff --git a/assets/build.sh b/assets/build.sh new file mode 100755 index 0000000..f2ebc92 --- /dev/null +++ b/assets/build.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +# Regenerate 겜녹이 brand assets for the exe app (app/) and the site (site/) from SVG sources. +# Needs google-chrome (SVG render) + python3 Pillow. Sources: src/*.svg, ../docs/brand/{avatar,banner}*. +set -euo pipefail +cd "$(dirname "$0")" +T=$(mktemp -d "${TMPDIR:-$HOME/.tmp}/gvr-assets.XXXX"); trap 'rm -rf "$T"' EXIT +render() { # svg width height out [bg] + echo "" > "$T/r.html" + timeout 60 google-chrome --headless=new --no-sandbox --disable-gpu --hide-scrollbars --default-background-color=00000000 \ + --window-size=$2,$3 --screenshot="$4" "file://$T/r.html" >/dev/null 2>&1 +} +render icon.svg 1024 1024 "$T/icon.png" +render icon-small.svg 256 256 "$T/small.png" +render og-image.svg 1200 630 "$T/og.png" +T="$T" python3 - <<'PY' +import os +from PIL import Image +T=os.environ['T']; R=Image.LANCZOS +big=Image.open(f'{T}/icon.png').convert('RGBA'); small=Image.open(f'{T}/small.png').convert('RGBA') +sz=lambda n:(small if n<=32 else big).resize((n,n),R) +def ico(path,sizes): + ims=[sz(n) for n in sizes]; ims[-1].save(path,format='ICO',sizes=[(n,n) for n in sizes],append_images=ims[:-1]) +ico('app/icon.ico',[16,24,32,48,64,128,256]); big.resize((512,512),R).save('app/icon.png') +sz(16).save('app/tray.png'); sz(32).save('app/tray@2x.png') +ban=Image.open('../docs/brand/banner-1500x600.png').convert('RGB') +ban.save('app/banner.png',optimize=True); ban.save('site/banner.png',optimize=True); ban.save('site/banner.webp',quality=88) +ico('site/favicon.ico',[16,32,48]) +Image.open('../docs/brand/avatar-1024.png').convert('RGB').resize((180,180),R).save('site/apple-touch-icon.png') +for n in (192,512): big.resize((n,n),R).save(f'site/icon-{n}.png') +Image.open(f'{T}/og.png').convert('RGB').save('site/og-image.png',optimize=True) +PY +cp src/icon.svg site/favicon.svg +echo "assets rebuilt" diff --git a/assets/site/apple-touch-icon.png b/assets/site/apple-touch-icon.png new file mode 100644 index 0000000..d67066a Binary files /dev/null and b/assets/site/apple-touch-icon.png differ diff --git a/assets/site/banner.png b/assets/site/banner.png new file mode 100644 index 0000000..89c80a8 Binary files /dev/null and b/assets/site/banner.png differ diff --git a/assets/site/banner.webp b/assets/site/banner.webp new file mode 100644 index 0000000..d4febc6 Binary files /dev/null and b/assets/site/banner.webp differ diff --git a/assets/site/favicon.ico b/assets/site/favicon.ico new file mode 100644 index 0000000..d6c19c3 Binary files /dev/null and b/assets/site/favicon.ico differ diff --git a/assets/site/favicon.svg b/assets/site/favicon.svg new file mode 100644 index 0000000..02e430e --- /dev/null +++ b/assets/site/favicon.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/site/icon-192.png b/assets/site/icon-192.png new file mode 100644 index 0000000..4792a90 Binary files /dev/null and b/assets/site/icon-192.png differ diff --git a/assets/site/icon-512.png b/assets/site/icon-512.png new file mode 100644 index 0000000..75f2a96 Binary files /dev/null and b/assets/site/icon-512.png differ diff --git a/assets/site/og-image.png b/assets/site/og-image.png new file mode 100644 index 0000000..591a7e4 Binary files /dev/null and b/assets/site/og-image.png differ diff --git a/assets/src/icon-small.svg b/assets/src/icon-small.svg new file mode 100644 index 0000000..9f0b490 --- /dev/null +++ b/assets/src/icon-small.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/src/icon.svg b/assets/src/icon.svg new file mode 100644 index 0000000..02e430e --- /dev/null +++ b/assets/src/icon.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/src/og-image.svg b/assets/src/og-image.svg new file mode 100644 index 0000000..752f8a0 --- /dev/null +++ b/assets/src/og-image.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 겜녹이 + + GAME VOICE RECORDER + 발로란트 · 롤 음성 녹음 & 경기 리포트 + + + + + + REC + + gvr.tkrmagid.kr + \ No newline at end of file diff --git a/deploy/placeholder/nginx.conf b/deploy/placeholder/nginx.conf index 43e0010..6a5e05c 100644 --- a/deploy/placeholder/nginx.conf +++ b/deploy/placeholder/nginx.conf @@ -2,5 +2,6 @@ server { listen 80; root /usr/share/nginx/html; location = /healthz { default_type text/plain; return 200 "ok\n"; } + location = /site.webmanifest { default_type application/manifest+json; } location / { try_files $uri /index.html; } } diff --git a/deploy/placeholder/site/apple-touch-icon.png b/deploy/placeholder/site/apple-touch-icon.png new file mode 100644 index 0000000..d67066a Binary files /dev/null and b/deploy/placeholder/site/apple-touch-icon.png differ diff --git a/deploy/placeholder/site/banner.webp b/deploy/placeholder/site/banner.webp new file mode 100644 index 0000000..d4febc6 Binary files /dev/null and b/deploy/placeholder/site/banner.webp differ diff --git a/deploy/placeholder/site/favicon.ico b/deploy/placeholder/site/favicon.ico new file mode 100644 index 0000000..d6c19c3 Binary files /dev/null and b/deploy/placeholder/site/favicon.ico differ diff --git a/deploy/placeholder/site/favicon.svg b/deploy/placeholder/site/favicon.svg new file mode 100644 index 0000000..02e430e --- /dev/null +++ b/deploy/placeholder/site/favicon.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/deploy/placeholder/site/icon-192.png b/deploy/placeholder/site/icon-192.png new file mode 100644 index 0000000..4792a90 Binary files /dev/null and b/deploy/placeholder/site/icon-192.png differ diff --git a/deploy/placeholder/site/icon-512.png b/deploy/placeholder/site/icon-512.png new file mode 100644 index 0000000..75f2a96 Binary files /dev/null and b/deploy/placeholder/site/icon-512.png differ diff --git a/deploy/placeholder/site/index.html b/deploy/placeholder/site/index.html index 58d9585..ff3458a 100644 --- a/deploy/placeholder/site/index.html +++ b/deploy/placeholder/site/index.html @@ -1,6 +1,22 @@ -Game Voice Recorder - -

Game Voice Recorder

사이트 준비 중입니다.

+겜녹이 · Game Voice Recorder + + + + + + + + + +
+ +
사이트 준비 중
+

디스코드 로그인과 경기 기록 화면은 개발이 끝나면 이 주소에서 열립니다.

+
diff --git a/deploy/placeholder/site/og-image.png b/deploy/placeholder/site/og-image.png new file mode 100644 index 0000000..591a7e4 Binary files /dev/null and b/deploy/placeholder/site/og-image.png differ diff --git a/deploy/placeholder/site/site.webmanifest b/deploy/placeholder/site/site.webmanifest new file mode 100644 index 0000000..2bad397 --- /dev/null +++ b/deploy/placeholder/site/site.webmanifest @@ -0,0 +1 @@ +{"name":"겜녹이 · Game Voice Recorder","short_name":"겜녹이","icons":[{"src":"/icon-192.png","sizes":"192x192","type":"image/png"},{"src":"/icon-512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#0b141c","background_color":"#0b141c","display":"standalone","start_url":"/"} diff --git a/docs/report/img/app-settings.png b/docs/report/img/app-settings.png index 601d5e9..fe71c9b 100644 Binary files a/docs/report/img/app-settings.png and b/docs/report/img/app-settings.png differ diff --git a/docs/report/img/app-wizard.png b/docs/report/img/app-wizard.png index e782686..06b531c 100644 Binary files a/docs/report/img/app-wizard.png and b/docs/report/img/app-wizard.png differ diff --git a/docs/report/img/discord-notice.png b/docs/report/img/discord-notice.png index bc6dbfb..9bedb4c 100644 Binary files a/docs/report/img/discord-notice.png and b/docs/report/img/discord-notice.png differ diff --git a/docs/report/img/site-live.png b/docs/report/img/site-live.png new file mode 100644 index 0000000..13419d3 Binary files /dev/null and b/docs/report/img/site-live.png differ diff --git a/docs/report/img/site-locked.png b/docs/report/img/site-locked.png index 42db8cb..f0e9df9 100644 Binary files a/docs/report/img/site-locked.png and b/docs/report/img/site-locked.png differ diff --git a/docs/report/img/site-login.png b/docs/report/img/site-login.png new file mode 100644 index 0000000..c7b2b32 Binary files /dev/null and b/docs/report/img/site-login.png differ diff --git a/docs/report/img/site-mobile.png b/docs/report/img/site-mobile.png index a4d3d14..7456423 100644 Binary files a/docs/report/img/site-mobile.png and b/docs/report/img/site-mobile.png differ diff --git a/docs/report/img/site-timeline.png b/docs/report/img/site-timeline.png index 7c99c27..e7f749c 100644 Binary files a/docs/report/img/site-timeline.png and b/docs/report/img/site-timeline.png differ diff --git a/docs/report/mock/app-settings.html b/docs/report/mock/app-settings.html index 5acb243..2a68a3d 100644 --- a/docs/report/mock/app-settings.html +++ b/docs/report/mock/app-settings.html @@ -24,11 +24,11 @@ nav div.on{background:var(--panel2);color:#fff;font-weight:700;box-shadow:inset .line{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:14px} .line span.d{flex:1}
-
◆ Game Voice Recorder · 설정— ▢ ✕
+
겜녹이 · 설정— ▢ ✕
디스코드
@@ -36,7 +36,7 @@ nav div.on{background:var(--panel2);color:#fff;font-weight:700;box-shadow:inset

봇 연결

봇 토큰 (암호화 저장)
MTUz••••••••••••••••••••••••••••••••••••.G9x
👁연결 테스트
-
✓ 연결 성공 · GVR Recorder#4821 · 서버 1곳 · 음성 · 슬래시 명령 권한 정상
+
✓ 연결 성공 · 겜녹이#4821 · 서버 1곳 · 음성 · 슬래시 명령 권한 정상

음성채널 참여 규칙 · 여러 개 함께 선택 가능

diff --git a/docs/report/mock/app-wizard.html b/docs/report/mock/app-wizard.html index 8f0226f..6756fcb 100644 --- a/docs/report/mock/app-wizard.html +++ b/docs/report/mock/app-wizard.html @@ -29,10 +29,10 @@ body{width:1100px;height:720px;overflow:hidden;background:#1a2530;padding:0} .pbar{height:10px;border-radius:5px;background:var(--panel2);overflow:hidden;margin:8px 0} .pbar i{display:block;height:100%;width:62%;background:linear-gradient(90deg,var(--accent),#ff7a85);border-radius:5px}
-
◆ Game Voice Recorder · 첫 실행 설정— ▢ ✕
+
겜녹이 · 첫 실행 설정— ▢ ✕
-
시작하기
+
시작하기
✓디스코드 봇 연결
✓게임 선택
3STT 모델
diff --git a/docs/report/mock/base.css b/docs/report/mock/base.css index 1457028..5cef755 100644 --- a/docs/report/mock/base.css +++ b/docs/report/mock/base.css @@ -19,3 +19,10 @@ html,body{background:var(--bg);color:var(--ink);font-family:"Noto Sans CJK KR",s .chip.lol{background:transparent;border-color:var(--lol);color:var(--lol)} .chip.lol.on{background:linear-gradient(180deg,#c8aa6e,#9a7b45);color:#1e1a12;border-color:#c8aa6e;font-weight:700} .goldline{border-image:linear-gradient(90deg,var(--accent),var(--lol)) 1} + +/* v1.0: 겜녹이 brand (icon + name) */ +.brand{display:inline-flex;align-items:center;gap:10px;flex:none} +.brand img{width:36px;height:36px;border-radius:9px;display:block} +.brand .nm{font-family:"NanumSquare Neo","Noto Sans CJK KR",sans-serif;font-weight:900;font-size:21px;line-height:1;color:#f0e6d2;letter-spacing:.5px} +.brand .en{font-size:9.5px;line-height:1;margin-top:4px;letter-spacing:2.6px;color:var(--lol);font-weight:700} +.wtitle img{width:16px;height:16px;border-radius:4px;vertical-align:-3px;margin-right:2px} diff --git a/docs/report/mock/discord-notice.html b/docs/report/mock/discord-notice.html index f7d15b2..a4dcda7 100644 --- a/docs/report/mock/discord-notice.html +++ b/docs/report/mock/discord-notice.html @@ -35,7 +35,7 @@ body{width:1040px;height:600px;overflow:hidden;background:#313338;color:#dbdee1; .eq i{width:3px;background:#ff4655;border-radius:1px;display:block}
-
우리끼리 게임 서버
+
M&L
채팅 채널
# 일반
# 전적-공유
음성 채널
@@ -44,7 +44,7 @@ body{width:1040px;height:600px;overflow:hidden;background:#313338;color:#dbdee1;
민민수
지지우
현현우 🚫녹음 제외
-
●GVR Recorder 앱
+
겜녹이 앱
봇이 음성으로 말하는 안내 (TTS)
"지금부터 이 음성 채널의 대화가 녹음되고 텍스트로 기록됩니다. 녹음을 원하지 않으면 채팅에 슬래시 녹음제외를 입력해 주세요." @@ -56,15 +56,15 @@ body{width:1040px;height:600px;overflow:hidden;background:#313338;color:#dbdee1;
# 일반
승
승한오늘 오후 9:07
다들 들어와 랭겜 ㄱㄱ
-
●
+
현우 님이 /녹음제외 사용
- GVR Recorder 앱오늘 오후 9:09 + 겜녹이 앱오늘 오후 9:09
🚫 현우 님의 목소리는 지금부터 녹음되지 않습니다. 다시 참여하려면 /녹음참여를 입력하세요.
👁 나만 볼 수 있어요 · 메시지 닫기
-
GVR RECORDER 명령어
+
겜녹이 명령어
/녹음제외내 목소리를 녹음에서 뺍니다
/녹음참여녹음에 다시 참여합니다
/녹음시작봇을 내가 있는 음성채널로 부릅니다
diff --git a/docs/report/mock/site-locked.html b/docs/report/mock/site-locked.html index 5f6eae2..ae6f2f9 100644 --- a/docs/report/mock/site-locked.html +++ b/docs/report/mock/site-locked.html @@ -19,7 +19,7 @@ body{width:1440px;height:820px;overflow:hidden;position:relative} .dots{display:inline-flex;gap:4px;margin-left:6px}.dots i{width:6px;height:6px;border-radius:50%;background:var(--lol);display:block}
-
+
겜녹이
GAME VOICE RECORDER
● 게임 PC 연결 해제됨
민민수 · 디스코드 로그인
🔌
diff --git a/docs/report/mock/site-login.html b/docs/report/mock/site-login.html new file mode 100644 index 0000000..0225971 --- /dev/null +++ b/docs/report/mock/site-login.html @@ -0,0 +1,26 @@ + + +
+
+ +
+
디스코드 계정으로 로그인
+
겜녹이 봇이 있는 디스코드 서버(M&L)의 멤버만 들어올 수 있어요.
로그인하면 녹음된 대화와 경기 기록을 볼 수 있습니다.
+ Discord로 로그인 +
● 사이트 서버 정상● 게임 PC 연결됨🔒 HTTPS · gvr.tkrmagid.kr
+
+
+ diff --git a/docs/report/mock/site-mobile.html b/docs/report/mock/site-mobile.html index d4d0194..e653de6 100644 --- a/docs/report/mock/site-mobile.html +++ b/docs/report/mock/site-mobile.html @@ -23,7 +23,7 @@ header{padding:6px 16px 10px;display:flex;align-items:center;gap:10px} .ag{width:22px;height:22px;border-radius:5px;background:#26384a;vertical-align:middle} .wk{height:15px;vertical-align:middle;filter:drop-shadow(0 0 1px #000)}
9:41📶 🔋
-
● 녹음 중
+
겜녹이
● 녹음 중
어센트 13:9👥 전체 유저💬 채팅⚔ 킬
R7공격 · 4 : 2
diff --git a/docs/report/mock/site-timeline.html b/docs/report/mock/site-timeline.html index f652e28..42cffea 100644 --- a/docs/report/mock/site-timeline.html +++ b/docs/report/mock/site-timeline.html @@ -61,7 +61,7 @@ footer{height:96px;border-top:1px solid var(--line);background:#0f1b26;display:f .ag{width:22px;height:22px;border-radius:5px;background:#26384a;vertical-align:middle} .wk{height:15px;vertical-align:middle;filter:drop-shadow(0 0 1px #000)}
- +
겜녹이
GAME VOICE RECORDER
타임라인경기유저단어사전
녹음 중 · #발로 음성방 · 4명
● 게임 PC 연결됨
승승한