From 63a2ae4c0503c7c3a42c6c8909f7655c3e9fcaae Mon Sep 17 00:00:00 2001 From: kentakom1213 Date: Wed, 27 May 2026 14:01:14 +0900 Subject: [PATCH 1/2] fix: modify top page information --- README.md | 8 +- docs/improve-seo/00-plan.md | 287 ++++++++++++++++++++++++++++++++++++ index.html | 74 ++++++++-- public/robots.txt | 4 + public/sitemap.xml | 6 + 5 files changed, 362 insertions(+), 17 deletions(-) create mode 100644 docs/improve-seo/00-plan.md create mode 100644 public/robots.txt create mode 100644 public/sitemap.xml diff --git a/README.md b/README.md index 886b989..7590e03 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,16 @@ [![Build Status](https://github.com/kentakom1213/graph-editor/workflows/CI/badge.svg)](https://github.com/kentakom1213/graph-editor/actions?workflow=CI) -Graph Editor は,競技プログラミング用のグラフを直感的に作成・編集できるアプリです. +Graph Editor is a graph creation and visualization tool for competitive programming and AtCoder. + +Demo: https://kentakom1213.github.io/graph-editor/ + +Graph Editor は,競技プログラミング用のグラフを直感的に作成・編集できるグラフエディタです. 頂点や辺をマウスで編集し,辺リスト形式でコピーしたり,PNG / SVG 画像として出力したりできます. +It is useful as a graph editor, graph visualization tool, and graph creation tool for programming contest inputs. + ![demo](./images/graph-editor-demo-v6.gif) ## 使い方 diff --git a/docs/improve-seo/00-plan.md b/docs/improve-seo/00-plan.md new file mode 100644 index 0000000..1e8468b --- /dev/null +++ b/docs/improve-seo/00-plan.md @@ -0,0 +1,287 @@ +# SEO 改善メモ for graph-editor + +## 背景 + +現在,`https://kentakom1213.github.io/graph-editor/` は `site:` 検索では見つかるため,Google にまったく認識されていないわけではない. + +一方で,通常の検索語,たとえば `Graph Editor` や `グラフエディタ` では上位に出てこない.主な原因は次の 2 点と考えられる. + +- `Graph Editor` が一般名詞に近く,競合が非常に多い +- WASM / SPA アプリのため,クローラから見える初期 HTML の本文が薄い + +そのため,検索エンジンに対して「これは競技プログラミング向けのグラフ作成ツールである」と静的に伝わるようにする. + +## 目的 + +この修正の目的は,以下の検索語で見つかりやすくすることである. + +- `competitive programming graph editor` +- `graph editor for competitive programming` +- `AtCoder graph editor` +- `競プロ グラフエディタ` +- `競技プログラミング グラフ 作成` +- `AtCoder グラフ 作成` + +`Graph Editor` 単体での上位表示は競合が強いため,まずは用途を含むロングテール検索での流入を狙う. + +## 修正方針 + +### 1. HTML の title を用途込みにする + +現在の `` が単に `Graph Editor` のようになっている場合,検索語として一般的すぎる. + +次のように,競技プログラミング向けツールであることを含める. + +```html +<title>Graph Editor - Competitive Programming Graph Tool +``` + +日本語寄りにする場合は次でもよい. + +```html +Graph Editor - 競技プログラミング向けグラフ作成ツール +``` + +英語検索も拾いたいので,基本は英語を含めた前者が無難. + +### 2. meta description を追加する + +`index.html` の `` に `meta description` を追加する. + +```html + +``` + +日本語も入れるなら,少し長くなるが次のようにする. + +```html + +``` + +### 3. 初期 HTML に静的な説明文を入れる + +WASM / SPA アプリでは,JavaScript 実行後に UI が描画されるため,検索エンジンから見える初期 HTML の本文が薄くなりやすい. + +`index.html` の `` 内に,静的な説明文を追加する. + +例: + +```html +
+
+

Graph Editor

+

+ Graph Editor is a graph creation and visualization tool for competitive + programming. It helps users create directed and undirected graphs, edit + vertices and edges, and export graphs in programming-contest input + formats. +

+

+ 競技プログラミング向けのグラフ作成・可視化ツールです。 + 頂点や辺を直感的に編集し、AtCoder などで使いやすい入力形式に変換できます。 +

+
+
+``` + +既存の WASM 起動処理が `#app` などを使っている場合は,既存の構造を壊さないように注意する. + +もし WASM 側が `body` 全体や特定の DOM を置き換える場合でも,初期 HTML に一度は説明文が含まれていればよい. + +### 4. noscript に説明文を入れる + +JavaScript が実行されない環境向けに,`