{"id":13466219,"url":"https://github.com/sakura-editor/sakura","last_synced_at":"2025-05-14T12:12:38.469Z","repository":{"id":37493183,"uuid":"134057969","full_name":"sakura-editor/sakura","owner":"sakura-editor","description":"SAKURA Editor (Japanese text editor for MS Windows)","archived":false,"fork":false,"pushed_at":"2025-05-10T14:05:52.000Z","size":105935,"stargazers_count":1315,"open_issues_count":199,"forks_count":175,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-05-10T15:20:33.538Z","etag":null,"topics":["appveyor","azure-pipelines","bregonig","codefactor","cpp","cpplint","editor","grep","macro","regex","sakura","sakura-editor","sonarcloud","text-editor","visual-studio","windows","windows-desktop"],"latest_commit_sha":null,"homepage":"https://sakura-editor.github.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sakura-editor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2018-05-19T12:02:06.000Z","updated_at":"2025-05-10T14:35:23.000Z","dependencies_parsed_at":"2024-01-16T06:07:23.197Z","dependency_job_id":"11cf9eb3-0666-45ba-a2a4-1a1bfc731a32","html_url":"https://github.com/sakura-editor/sakura","commit_stats":{"total_commits":6119,"total_committers":54,"mean_commits":"113.31481481481481","dds":0.8380454322601733,"last_synced_commit":"53ea30b98ffd60d5afa9efde08e652ff8a39ba90"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakura-editor%2Fsakura","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakura-editor%2Fsakura/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakura-editor%2Fsakura/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakura-editor%2Fsakura/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakura-editor","download_url":"https://codeload.github.com/sakura-editor/sakura/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254140768,"owners_count":22021220,"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":["appveyor","azure-pipelines","bregonig","codefactor","cpp","cpplint","editor","grep","macro","regex","sakura","sakura-editor","sonarcloud","text-editor","visual-studio","windows","windows-desktop"],"created_at":"2024-07-31T15:00:41.113Z","updated_at":"2025-05-14T12:12:33.438Z","avatar_url":"https://github.com/sakura-editor.png","language":"C++","funding_links":[],"categories":["C++","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++"],"sub_categories":[],"readme":"# Sakura Editor\n[![Build status](https://ci.appveyor.com/api/projects/status/xlsp22h1q91mh96j/branch/master?svg=true)](https://ci.appveyor.com/project/sakuraeditor/sakura/branch/master)\n[![Github Releases All](https://img.shields.io/github/downloads/sakura-editor/sakura/total.svg)](https://github.com/sakura-editor/sakura/releases \"All Releases\")\n[![License: Zlib](https://img.shields.io/badge/License-Zlib-lightgrey.svg)](https://opensource.org/licenses/Zlib)\n[![CodeFactor](https://www.codefactor.io/repository/github/sakura-editor/sakura/badge)](https://www.codefactor.io/repository/github/sakura-editor/sakura)\n[![Build Status](https://dev.azure.com/sakuraeditor/sakura/_apis/build/status/sakura-editor.sakura?branchName=master)](https://dev.azure.com/sakuraeditor/sakura/_build/latest?definitionId=3\u0026branchName=master)\n[![build sakura](https://github.com/sakura-editor/sakura/workflows/build%20sakura/badge.svg)](https://github.com/sakura-editor/sakura/actions?query=workflow%3A%22build+sakura%22)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=sakura-editor_sakura\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=sakura-editor_sakura)\n[![Star History](https://img.shields.io/badge/star-histroy-yellow.svg)](https://star-history.t9t.io/#sakura-editor/sakura)\n\n\u003c!-- 以下は Markdownの参照形式によるリンク の定義です。 --\u003e\n\u003c!-- 参照 https://hail2u.net/blog/coding/markdown-reference-style-links.html --\u003e\n\n[Visual Studio 以前のバージョン]: https://visualstudio.microsoft.com/ja/vs/older-downloads/ \"Visual Studio 以前のバージョン\"\n[Visual Studio 最新版]: https://visualstudio.microsoft.com/ja/downloads/ \"Visual Studio 最新版\"\n[ライセンスの OSI のページ]: https://opensource.org/license/zlib\n[Visual Studio Community ライセンス]: https://visualstudio.microsoft.com/ja/license-terms/vs2022-ga-community/\n[Markdown をローカルで確認する方法]: https://github.com/sakura-editor/sakura/wiki/markdown-%E3%82%92%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E3%81%A7%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\n[How to extract currently installed Visual Studio component IDs?]: https://stackoverflow.com/questions/52946333/how-to-extract-currently-installed-visual-studio-component-ids\n[Configure Visual Studio across your organization with .vsconfig]: https://devblogs.microsoft.com/setup/configure-visual-studio-across-your-organization-with-vsconfig/\n[インストール構成をインポートまたはエクスポートする]: https://docs.microsoft.com/ja-jp/visualstudio/install/import-export-installation-configurations?view=vs-2019\n[コマンド ライン パラメーターを使用して Visual Studio をインストールする]: https://docs.microsoft.com/ja-jp/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2019\n[不足しているコンポーネントを自動的にインストールする]: https://docs.microsoft.com/ja-jp/visualstudio/install/import-export-installation-configurations?view=vs-2019#automatically-install-missing-components\n\n\u003c!-- TOC --\u003e\n\n- [Sakura Editor](#sakura-editor)\n  - [Hot topic](#hot-topic)\n  - [Web Site](#web-site)\n  - [開発参加ポリシー](#開発参加ポリシー)\n  - [Build Requirements](#build-requirements)\n    - [Visual Studio Install options required](#visual-studio-install-options-required)\n    - [Visual Studio 2019 以降の対応に関して](#visual-studio-2019-以降の対応に関して)\n    - [.vsconfig に関して](#vsconfig-に関して)\n      - [全対応バージョン共通](#visual-studio-2017-以降共通)\n      - [Visual Studio 2019 以降のみ](#visual-studio-2019-以降のみ)\n      - [参照](#参照)\n  - [How to build](#how-to-build)\n    - [詳細情報](#詳細情報)\n  - [CI Buildおよびローカルビルドの環境変数](#ci-buildおよびローカルビルドの環境変数)\n  - [PR(Pull Request) を簡単にローカルに取得する方法](#prpull-request-を簡単にローカルに取得する方法)\n  - [CI Build (Azure Pipelines)](#ci-build-azure-pipelines)\n    - [ビルドの仕組み (Azure Pipelines)](#ビルドの仕組み-azure-pipelines)\n  - [CI Build (AppVeyor)](#ci-build-appveyor)\n    - [ビルドの仕組み (AppVeyor)](#ビルドの仕組み-appveyor)\n    - [ビルド成果物を利用する上での注意事項](#ビルド成果物を利用する上での注意事項)\n    - [ビルド成果物のダウンロード(バイナリ、インストーラなど)](#ビルド成果物のダウンロードバイナリインストーラなど)\n      - [master の 最新](#master-の-最新)\n      - [master の 最新以外](#master-の-最新以外)\n  - [開発情報](#開発情報)\n    - [単体テスト](#単体テスト)\n    - [デバッグ方法](#デバッグ方法)\n  - [変更履歴](#変更履歴)\n  - [マクロのサンプル](#マクロのサンプル)\n  - [静的コード解析](#静的コード解析)\n\n\u003c!-- /TOC --\u003e\n\nA free Japanese text editor for Windows\n\n## Hot topic\nProject(カンバン)運用を始めます。\n\n- [Projects](https://github.com/orgs/sakura-editor/projects)\n- [カンバン運用](https://github.com/sakura-editor/sakura/wiki/ProjectOperation)\n\n## Web Site\n- [Sakura Editor Portal](https://sakura-editor.github.io/)\n\n## 開発参加ポリシー\n開発ポリシーを以下にまとめていきます。開発にご参加いただける方はこちらご参照ください。  \nhttps://github.com/sakura-editor/sakura/wiki\n\n## Build Requirements\n\nSakura Editor をコンパイルするためには、 \n[最新のVisual Studio][Visual Studio 最新版] または [以前のバージョンのVisual Studio（Visual Studio 2017 以降。ただし Express 2017 for Windows Desktop は除く）][Visual Studio 以前のバージョン]が必要です。\n\nSakura Editor は、[Open Source Initiative (OSI) 認定ライセンスである zlib ライセンス][ライセンスの OSI のページ][に基づいている](LICENSE)ため、[通常 Community エディションの対象外であるエンタープライズ組織でも、特例で Community エディションを利用しての開発・テストができます。][Visual Studio Community ライセンス]もちろん、Professional・Enterprise エディションも利用できます。\n\n正式バイナリは [Visual Studio Community 2017][Visual Studio 以前のバージョン] でビルドされます。\n\n### Visual Studio Install options required\n- Windows 10 SDK\n\n### Visual Studio 2019 以降の対応に関して\n\n| Visual Studioバージョン | 対応済みIssue/PR                                           |\n| ----------------------- | ---------------------------------------------------------- |\n| 2022                    | [#1872](https://github.com/sakura-editor/sakura/pull/1872)（[コミット][2022対応コミット]） |\n| 2017/2019同時           | [#866](https://github.com/sakura-editor/sakura/issues/866) |\n\n[2022対応コミット]: https://github.com/sakura-editor/sakura/pull/1872/commits/93cf3f3eacfed6a4d0a2c30d5445b53b2599db3c\n\n[仕組みに関してはこちらを参照](vcx-props/project-PlatformToolset.md)\n\n### .vsconfig に関して\n\nSakura Editor のコンパイルに必要なコンポーネントを Visual Studio にインストールするために [.vsconfig](.vsconfig) という設定ファイルを用意しています。\n\n[#1162](https://github.com/sakura-editor/sakura/pull/1162) で [.vsconfig](.vsconfig) というファイルを sakura.sln と同じディレクトリに配置しています。\n\n#### 全対応バージョン共通\n\n`vs_community__XXXXX.exe` でインストールする際に、--config オプションをつけてインストールする。\nあるいは構成変更することにより、必要なコンポーネントを自動的にインストールします。\n\n```\nvs_community__XXXXX.exe --config \u003c.vsconfig のファイルパス\u003e\n```\n\n#### Visual Studio 2019 以降のみ\n\n最新のVisual Studio(Visual Studio 2019 以降)で `sakura.sln` を開くと、同じディレクトリにある [.vsconfig](.vsconfig) から必要なコンポーネントのリストが読み込まれます。インストールされていないコンポーネントがある場合、インストールボタンが表示されます。インストールをクリックすると不足しているコンポーネントが自動的にインストールされます。\n\n#### 参照\n\n- [How to extract currently installed Visual Studio component IDs?][How to extract currently installed Visual Studio component IDs?]\n- [Configure Visual Studio across your organization with .vsconfig][Configure Visual Studio across your organization with .vsconfig]\n- [インストール構成をインポートまたはエクスポートする][インストール構成をインポートまたはエクスポートする]\n- [コマンド ライン パラメーターを使用して Visual Studio をインストールする][コマンド ライン パラメーターを使用して Visual Studio をインストールする]\n- [不足しているコンポーネントを自動的にインストールする][不足しているコンポーネントを自動的にインストールする]\n\n## How to build\n\n- [7-Zip](https://7-zip.opensource.jp/) をインストールして 7z.exe へのパスを通します。\n- Visual Studio で `sakura.sln` を開いてビルドします。\n\n### 詳細情報\n\n詳しくは [こちら](build.md) を参照\n\n## CI Buildおよびローカルビルドの環境変数\n\n[こちら](ci/build-envvars.md) を参照してください。\n\n## PR(Pull Request) を簡単にローカルに取得する方法\n\n- [PR(Pull Request) を簡単にローカルに取得する方法](get-PR.md)\n\n## CI Build (Azure Pipelines)\n\n### ビルドの仕組み (Azure Pipelines)\n\n[azure-pipelines.md](ci/azure-pipelines/azure-pipelines.md) でビルドの仕組みを説明しています。\n\n## CI Build (AppVeyor)\n\n### ビルドの仕組み (AppVeyor)\n\nAppVeyor では、 [build-all.bat](build-all.bat) を使用してビルドを行っています。\nビルドに使用されるバッチファイルについては [build-batchfiles.md](ci/build-batchfiles.md) を参照してください。\n\n### ビルド成果物を利用する上での注意事項\n\n[`これ`](installer/warning.txt) を読んでからご利用ください。\n\n[`x64 版は alpha 版`](installer/warning-alpha.txt)です。  \n対応中のため予期せぬ不具合がある可能性があります。 \n\n### ビルド成果物のダウンロード(バイナリ、インストーラなど)\n\n#### master の 最新\n\n1. https://ci.appveyor.com/project/sakuraeditor/sakura/branch/master にアクセスする\n2. 右端にある `Jobs` をクリックします。\n3. 自分がダウンロードしたいビルド構成 (例: `Configuration: Release; Platform: Win32`) をクリックします。\n4. 右端にある `ARTIFACTS` をクリックします。\n5. 自分がダウンロードしたいものをクリックしてダウンロードします。\n   - (ユーザー用) 末尾に `Exe` がついてるのが実行ファイルのセットです。\n   - (ユーザー用) 末尾に `Installer` がついてるのがインストーラのセットです。\n   - ~~(すべて欲しい人向け) `All` がついてるのがバイナリ、インストーラ、ビルドログ、アセンブラ出力のフルセットです。~~ ([#514](https://github.com/sakura-editor/sakura/issues/514) の軽減のため無効化中) \n   - (開発者用) 末尾に `Log` がついてるのがビルドログのセットです。\n   - (開発者用) 末尾に `Asm` がついてるのがアセンブラ出力セットです。\n\n#### master の 最新以外\n\n以下から取得したいビルドを選択後、同様にしてダウンロードできます。  \nhttps://ci.appveyor.com/project/sakuraeditor/sakura/history\n\n## 開発情報\n\n### 単体テスト\n\n[こちら](tests/unittest.md) を参照してください。\n\n### デバッグ方法\n\n- [タスクトレイのメニュー項目をデバッグする方法](debug-tasktray-menu.md) を参照\n- [大きなファイルの作成方法](create-big-file.md)\n\n## 変更履歴\n\n- 変更履歴は [CHANGELOG.md](https://github.com/sakura-editor/sakura/blob/master/CHANGELOG.md) を参照してください。\n- 最新の `CHANGELOG.md` は [ここからダウンロード](https://ci.appveyor.com/project/sakuraeditor/changelog-sakura/branch/master/artifacts) できます([Markdown をローカルで確認する方法](https://github.com/sakura-editor/sakura/wiki/markdown-%E3%82%92%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E3%81%A7%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95)\nで説明している手順でローカルで確認できます)。\n- `CHANGELOG.md` は [PullRequest](https://github.com/sakura-editor/sakura/pulls) から自動的に生成しています。\n  - 具体的には [github-changelog-generator](https://github.com/github-changelog-generator/github-changelog-generator) というソフトを使用して [changelog-sakura](https://github.com/sakura-editor/changelog-sakura) のリポジトリで [appveyor](https://ci.appveyor.com/project/sakuraeditor/changelog-sakura) で生成しています。\n  - 詳細は wiki の [CHANGELOG.mdについて](https://github.com/sakura-editor/sakura/wiki/CHANGELOG.md%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6) をご覧ください。\n\n## マクロのサンプル\n\n[こちら](tools/macro)でマクロのサンプルを提供してます。  \nもしサンプルを作ってもいいよ～という方がおられましたら PR の作成お願いします。\n\n## 静的コード解析\n\n- CodeFactor を利用しています。\n    - [cpplint.py](CPPLINT.md) で cpp のスタイルのチェックを行っています。\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakura-editor%2Fsakura","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakura-editor%2Fsakura","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakura-editor%2Fsakura/lists"}