README demo GIF is 7.7 MB

オープン 初心者向け
#157 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
86/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
performance

調査の方向性

README.md:131 のデモへの参照と、ソースファイル assets/screenshots/play-vs-computer.gif から始めてください。画像の寸法とフレームレートを確認し、圧縮オプションを比較しながら、クリップにコンピューターとの対戦が引き続き表示されることを確かめてください。README のデモが約 1.5 MB 未満で、内容が理解できる状態であれば完了です。

索引モデルが issue の本文から書いたものです。

説明

good first issue performance severity: low

Summary

assets/screenshots/play-vs-computer.gif, added in the latest commit and embedded in the README, is 7.7 MB. That is about 80% of assets/.

Where

  • README.md:131
  • assets/screenshots/play-vs-computer.gif (7,870,061 bytes)

Impact

Every README view on GitHub downloads about 7.7 MB, which takes seconds on mobile. Every clone carries the file permanently in history, and the Pages deploy publishes it too. The app itself does not download it: the file is not in the service worker's file list.

Suggested fix

Reduce the frame rate, colours or dimensions to stay under about 1.5 MB, or use an MP4/WebM clip, which is usually about 10x smaller. GitHub READMEs can show a video uploaded as an asset. Replace the file soon, before more history accumulates.

Acceptance criteria

  • The README demo is under ~1.5 MB and still shows a game against the computer

Getting started

  • Relevant files: README.md, assets/screenshots/

Filed by repo-audit/full-audit at 73cd279. Severity: low. Effort: S. audit-key: performance|assets/screenshots/play-vs-computer.gif|readme-gif

主要言語
JavaScript
スター
4
フォーク
2
平均マージ
6時間 13分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TMHSDigital/Static_Chess のほかの issue

TMHSDigital/Static_Chess の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。