{"id":46044626,"url":"https://github.com/pirakansa/shiki","last_synced_at":"2026-03-01T07:10:15.290Z","repository":{"id":331339680,"uuid":"1125304454","full_name":"pirakansa/shiki","owner":"pirakansa","description":"A cross-host sequence orchestrator that extends systemd beyond a single machine.","archived":false,"fork":false,"pushed_at":"2026-02-23T14:44:06.000Z","size":255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-23T22:46:08.694Z","etag":null,"topics":["http","orchestrator","systemd"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/pirakansa.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-30T13:44:19.000Z","updated_at":"2026-02-23T14:44:56.000Z","dependencies_parsed_at":"2026-01-07T08:03:36.859Z","dependency_job_id":null,"html_url":"https://github.com/pirakansa/shiki","commit_stats":null,"previous_names":["pirakansa/shiki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pirakansa/shiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirakansa%2Fshiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirakansa%2Fshiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirakansa%2Fshiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirakansa%2Fshiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirakansa","download_url":"https://codeload.github.com/pirakansa/shiki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirakansa%2Fshiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["http","orchestrator","systemd"],"created_at":"2026-03-01T07:10:14.641Z","updated_at":"2026-03-01T07:10:15.282Z","avatar_url":"https://github.com/pirakansa.png","language":"Rust","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./docs/shiki-logo.png\" width=\"320\" alt=\"SHIKI logo\"/\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eS.H.I.K.I.\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eSystem Handoff \u0026 Inter-node Kickoff Initiator.\u003c/strong\u003e\u003cbr\u003e\n  A cross-host sequence orchestrator that extends systemd beyond a single machine.\n\u003c/p\u003e\n\n[![CI](https://github.com/pirakansa/shiki/actions/workflows/ci.yml/badge.svg)](https://github.com/pirakansa/shiki/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**shiki** は、複数マシン間で systemd サービスの起動順序を HTTP ベースで連携させる軽量ツールです。\n\n---\n\n## 特徴\n\n- **REST API ベース**: シンプルな HTTP リクエストで次のノードに起動指示を送信\n- **軽量エージェント**: 静的リンクされた単一バイナリ、Docker 内でも動作\n- **柔軟な連携**: 既存の systemd ユニットファイルと併用して、マシン間の依存関係を構築\n- **シンプルな設定**: YAML 形式の設定ファイル\n\n---\n\n## ユースケース\n\n```mermaid\nsequenceDiagram\n    participant A as Machine A (Web)\n    participant B as Machine B (DB)\n    \n    Note over A: nginx.service 起動前\n    A-\u003e\u003eB: POST /api/v1/notify (start postgresql)\n    B-\u003e\u003eB: systemctl start postgresql\n    B--\u003e\u003eA: 200 OK\n    Note over A: nginx.service 起動\n```\n\n- Web サーバー起動前に、別マシンの DB サーバーを起動\n- マイクロサービスの起動順序制御\n- Docker Compose では難しいマルチホスト連携\n\n---\n\n## クイックスタート\n\n### 1. インストール\n\n```bash\n# バイナリをダウンロード（リリース後）\ncurl -L https://github.com/pirakansa/shiki/releases/latest/download/shiki-linux-amd64 -o shiki\nchmod +x shiki\nsudo mv shiki /usr/local/bin/\n```\n\n### 2. 設定ファイルを作成\n\n```bash\nsudo mkdir -p /etc/shiki\nsudo cp docs/examples/config.example.yaml /etc/shiki/config.yaml\nsudo vim /etc/shiki/config.yaml\n```\n\n### 3. エージェントを起動\n\n```bash\n# フォアグラウンドで起動（テスト用）\nshiki serve\n\n# または systemd サービスとして起動\nsudo systemctl enable --now shiki\n```\n\n### 4. 通知を送信\n\n```bash\n# 別マシンのサービスを起動\nshiki notify \\\n    --target remote-server:8080 \\\n    --action start \\\n    --service nginx \\\n    --wait\n```\n\n### 5. systemd ユニットで連携\n\n```ini\n# /etc/systemd/system/myapp.service\n[Service]\nExecStartPre=/usr/local/bin/shiki notify \\\n    --target db-server:8080 \\\n    --action start \\\n    --service postgresql \\\n    --wait\n\nExecStart=/usr/local/bin/myapp\n```\n\n---\n\n## ドキュメント\n\n| ドキュメント | 内容 |\n|--------------|------|\n| [DESIGN.md](docs/DESIGN.md) | アーキテクチャ設計書 |\n| [SPECIFICATION.md](docs/SPECIFICATION.md) | 機能仕様書 |\n| [API.md](docs/API.md) | REST API リファレンス |\n| [CONFIGURATION.md](docs/CONFIGURATION.md) | 設定リファレンス |\n| [SYSTEMD_INTEGRATION.md](docs/SYSTEMD_INTEGRATION.md) | systemd 連携ガイド |\n\n---\n\n## 開発\n\n### 必要環境\n\n- Rust 1.70+\n- Linux (systemd)\n\n### ビルド\n\n```bash\n# 開発ビルド\nmake build\n\n# リリースビルド\nmake release\n\n# テスト\nmake test\n\n# リント\nmake lint\n```\n\n### プロジェクト構造\n\n```\n.\n├── src/\n│   ├── main.rs          # エントリーポイント\n│   └── lib.rs           # ライブラリ\n├── docs/\n│   ├── DESIGN.md        # 設計書\n│   ├── SPECIFICATION.md # 仕様書\n│   ├── API.md           # API リファレンス\n│   ├── CONFIGURATION.md # 設定リファレンス\n│   ├── SYSTEMD_INTEGRATION.md # systemd 連携\n│   └── examples/\n│       └── config.example.yaml\n├── tests/               # 統合テスト\n├── Cargo.toml\n├── Makefile\n└── README.md\n```\n\n---\n\n## ライセンス\n\nMIT License - 詳細は [LICENSE](LICENSE) を参照してください。\n\n---\n\n## 貢献\n\nIssue や Pull Request を歓迎します。詳細は [AGENTS.md](AGENTS.md) を参照してください","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirakansa%2Fshiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirakansa%2Fshiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirakansa%2Fshiki/lists"}