playtranslate
Real-time screen translation app for Android for both language learners and casual gamers
新人エンジニア向け。1 回 3 分で IT の基礎用語を読んで、打って、クイズで覚える。
Translation pending
EducationTypeScript · JavaScriptGitHub @ysj101OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
タイピングで英語を学ぶ 90 秒のブラウザゲーム。 初回の E2E 実行前に pnpm exec playwright install chromium が必要です。 pnpm test:e2e e2e/a11y.spec.ts で、各画面の axe(重大な違反ゼロ)、モバイル幅での横スクロールなし、キーボード操作(フォーカストラップ・Tab 順序)を確認できます。 PWA(Service Worker)により、初回読み込み後はオフラインでもプレイできます。 アイコンは node scripts/generate-icons.mjs で再生成できます。 公開 URL は https://ysj101.github.io/Typoria/ です。リポジトリ名のサブパスで配信します。ビルド時の環境変数 VITE_BASE_PATH で Vite の base を切り替えます(未指定は /)。PWA manifest の start_url / scope と Service Worker の navigateFallback も同じパスになります。画面遷移は hash ルーターなので、サブパス用の 404 フォールバックは不要です。Read the full README ↗
新人エンジニアがスマートフォンで数分、IT の基礎用語を読んで、打って、クイズで覚える学習アプリ。
対応ブラウザは macOS Chrome(現行安定版)と iPhone Chrome(iOS 現行版)です。Windows / Android / iPad / Safari / Edge での動作確認は行っていません。
pnpm install
pnpm dev
| コマンド | 内容 |
|---|---|
pnpm dev | 開発サーバー起動 |
pnpm build | 型チェック + 本番ビルド |
pnpm preview | ビルド成果物のプレビュー |
pnpm lint | ESLint + Prettier チェック |
pnpm test | 単体テスト(Vitest) |
pnpm test:e2e | E2E テスト(Playwright、chromium + mobile-chrome) |
pnpm test:e2e:all | E2E テスト(上記 + webkit。pnpm exec playwright install webkit が必要) |
初回の E2E 実行前に pnpm exec playwright install chromium が必要です。
pnpm test:e2e e2e/a11y.spec.ts で、各画面の axe(重大な違反ゼロ)、モバイル幅での横スクロールなし、キーボード操作(フォーカストラップ・Tab 順序)を確認できます。
PWA(Service Worker)により、初回読み込み後はオフラインでもプレイできます。
アイコンは node scripts/generate-icons.mjs で再生成できます。
公開 URL は https://ysj101.github.io/Typoria/ です。リポジトリ名のサブパスで配信します。ビルド時の環境変数 VITE_BASE_PATH で Vite の base を切り替えます(未指定は /)。PWA manifest の start_url / scope と Service Worker の navigateFallback も同じパスになります。画面遷移は hash ルーターなので、サブパス用の 404 フォールバックは不要です。
VITE_BASE_PATH=/Typoria/ pnpm build
VITE_BASE_PATH=/Typoria/ pnpm preview
プレビューは http://localhost:4173/Typoria/ で開けます。ローカルの pnpm dev、pnpm build、pnpm test、pnpm test:e2e は VITE_BASE_PATH 未設定のため / で動きます。CI の build ジョブは VITE_BASE_PATH=/Typoria/ でビルドし、PR の時点でサブパス向けビルドが壊れていないか確認します。
初回のみ、Pages のソースを GitHub Actions にし、Website に公開 URL を設定します。
gh api -X POST repos/ysj101/Typoria/pages -f build_type=workflow
gh repo edit ysj101/Typoria --homepage https://ysj101.github.io/Typoria/
main への push、または Actions からの手動実行(workflow_dispatch)で .github/workflows/deploy.yml が動きます。
pnpm install --frozen-lockfile で依存関係を入れるVITE_BASE_PATH=/Typoria/ pnpm build で dist を作るdist を GitHub Pages へデプロイする進行中のデプロイはキャンセルしません。Service Worker は registerType: "autoUpdate" なので、公開後にページを開くと新しい Worker が有効になり、古い precache は置き換わります。
ブラウザ横断・性能の確認記録は docs/verification.md を参照してください(pnpm test:e2e e2e/perf.spec.ts で計測)。