{"id":25001562,"url":"https://github.com/neelabo/neeruler","last_synced_at":"2025-04-22T23:11:48.092Z","repository":{"id":231657235,"uuid":"781289245","full_name":"neelabo/NeeRuler","owner":"neelabo","description":"Reading Ruler. A desktop ruler that supports the readability of text.","archived":false,"fork":false,"pushed_at":"2025-03-21T08:58:26.000Z","size":243,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T19:45:19.413Z","etag":null,"topics":["csharp","dotnet-framework","reading-ruler","reading-tracker","windows-desktop","wpf"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neelabo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-03T05:20:49.000Z","updated_at":"2025-03-21T08:58:29.000Z","dependencies_parsed_at":"2024-04-11T03:29:13.703Z","dependency_job_id":"ceb90fcc-b286-4192-a820-25589b8340c9","html_url":"https://github.com/neelabo/NeeRuler","commit_stats":null,"previous_names":["neelabo/neeruler"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelabo%2FNeeRuler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelabo%2FNeeRuler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelabo%2FNeeRuler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelabo%2FNeeRuler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neelabo","download_url":"https://codeload.github.com/neelabo/NeeRuler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250337946,"owners_count":21414104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet-framework","reading-ruler","reading-tracker","windows-desktop","wpf"],"created_at":"2025-02-04T20:35:30.619Z","updated_at":"2025-04-22T23:11:48.055Z","avatar_url":"https://github.com/neelabo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NeeRuler\n\n![App Icon](MakePackage/Appx/Resources/Assets/StoreLogo.scale-100.png)\n\n\nリーディング ルーラーです。文章の読みやすさをサポートするデスクトップ定規です。\n\n* 簡易的な自動移動機能があり、画面上のどのようなテキストにも対応しています。\n* 外観や詳細な設定は JSON ファイルを直接編集して行います。\n\n## 動作環境\n\n- Windows 10, 64bit\n- .NET Framework 4.8\n\n## ダウンロード\n\n- [GitHub Releases](https://github.com/neelabo/NeeRuler/releases)\n- [Microsoft Store](https://www.microsoft.com/store/apps/9NVP5Q4XM0X7)\n- [Vector](https://www.vector.co.jp/soft/winnt/personal/se526462.html)\n\n## 操作方法\n\nマウスでドラッグして読みたいテキスト行に合わせます。  \n\n|操作|説明|\n|----|----\n|左ボタン|次の行に進む\n|右ボタン|コンテキスト メニュー\n|マウス ホイール|テキスト ライン上部の余白を増減する\n\nショートカット キーについてはプロファイル フォルダーの `KeyConfig.json` を確認してください。\n\n## 自動ストライドについて\n\nパネルを移動させるときにテキスト行を自動的に検出します。\n\nテキスト行検出の仕組みは、ピクセル ラインをスキャンしてその明度の増減が多いものをテキストとみなすというもので、検出方法としては簡易的なものです。  \n仕組み上、パネルが不透明だと機能しなくなります。\nまた、文字以外に絵などが含まれていると正常に判定できなくなります。\n\n\n## 設定について\n\n設定は JSON ファイルを直接編集して行います。  \nコンテキストメニューの「プロファイル フォルダーを開く」に設定ファイルがあります。通常、`Profiles` フォルダーです。\n\n|ファイル名|説明|\n|--|-----\n|Settings.json  |設定\n|KeyConfig.json |ショートカットキー設定\n|Profile-*.json |プロファイル\n\n### Settings.json\n\n設定ファイルです。  \nアプリ起動時に読み込まれ、終了時に状態をこのファイルに保存します。\n\n|グループ|名前|型|説明|\n|-|--|-|-----\n||StorageLocationX|数値|記憶位置の X 座標\n||StorageLocationY|数値|記憶位置の Y 座標\n||Stride|数値|基本の移動量 (pixel)\n||AdjustStride|数値|調整用の移動量 (pixel)\n||IsAutoStride|真偽|自動ストライドを有効にする\n|AutoStride|MinTextHeight|数値|自動ストライド用パラメータ。最小のテキスト行幅 (pixel)。ルビ等を認識させないために使用します\n|AutoStride|TextLineComplexityThreshold|数値|自動ストライド用パラメータ。テキスト行とみなされる行の複雑さを示す値 (0.0-1.0)\n|Layout|IsVertical|真偽|パネルを縦方向に配置する\n|Layout|IsFlatPanel|真偽|背景色をテキスト ラインの色と同じにしてフラットなパネルにする\n|Layout|Width|数値|パネルの横幅 (pixel)。横方向に配置したときの値です\n|Layout|Height|数値|パネルの縦幅 (pixel)。横方向に配置したときの値です\n|Layout|TextLineHeight|数値|テキスト ラインの縦幅 (pixel)\n|Layout|TextLineTopMargin|数値|テキスト ライン上部の余白 (pixel)\n|Layout|TextLineBottomMargin|数値|テキスト ライン下部の余白 (pixel)\n|Layout|BaseLine|数値|ベースラインの位置 (pixel)。パネルの上端からベースラインまでの長さです\n|Layout|BaseLineHeight|数値|ベースラインの縦幅 (pixel)\n|Layout|BackgroundColor|色|背景色\n|Layout|TextLineColor|色|テキスト ラインの色\n|Layout|BaseLineColor|色|ベースラインの色\n\n### KeyConfig.json\n\nコマンドのショートカット キーを定義するファイルです。  \n使用できるキー名は [.NET の Key 列挙型](https://learn.microsoft.com/dotnet/api/system.windows.input.key) を参照してください。\n`Alt` `Shift` `Ctrl` で修飾できます。\n\n|コマンド|既定|説明|\n|--|--|-----\n|StoreLocation|`Shift+Q`|位置を記憶\n|RestoreLocation|`Q`|位置を復元\n|ToggleIsVertical|`V`|縦方向と横方向の切り替え\n|ToggleIsAutoStride|`E`|自動ストライドの切り替え\n|ToggleIsFlatPanel|`F`|フラット パネルの切り替え\n|MoveUp|`W` `Up`|上に移動\n|MoveDown|`S` `Down`|下に移動\n|MoveLeft|`A` `Left`|左に移動\n|MoveRight|`D` `Right`|右に移動\n|AdjustUp|`Shift+W` `Shift+Up`|上に調整\n|AdjustDown|`Shift+S` `Shift+Down`|下に調整\n|AdjustLeft|`Shift+A` `Shift+Left`|左に調整\n|AdjustRight|`Shift+D` `Shift+Right`|右に調整\n|Exit||アプリを終了\n|OpenProfilesFolder||プロファイル フォルダーを開く\n|Profile-1|`1`|`Profile-1.json` を適用する\n|Profile-2|`2`|`Profile-2.json` を適用する\n|Profile-3|`3`|`Profile-3.json` を適用する\n|Profile-*||`Profile-*.json` を適用する。`*` はファイル名に依存します\n\n### Profile-*.json\n\n設定の一部を切り替えるための定義ファイルです。\nプロファイルは複数保持することができ、`*` は任意の文字列です。  \nフォーマットは `Settings.json` と同じです。\n省略されたプロパティは現状のまま変更されません。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneelabo%2Fneeruler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneelabo%2Fneeruler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneelabo%2Fneeruler/lists"}