{"id":42180452,"url":"https://github.com/yappy/dollskit","last_synced_at":"2026-01-26T22:04:02.623Z","repository":{"id":65633431,"uuid":"65021891","full_name":"yappy/DollsKit","owner":"yappy","description":"yappy家の管理プログラム","archived":false,"fork":false,"pushed_at":"2025-12-24T09:18:45.000Z","size":15385,"stargazers_count":1,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-12-24T09:53:42.313Z","etag":null,"topics":["raspberry-pi","raspberrypi","rust","shell-script"],"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/yappy.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":null,"dco":null,"cla":null}},"created_at":"2016-08-05T13:46:56.000Z","updated_at":"2025-12-24T08:09:10.000Z","dependencies_parsed_at":"2023-02-17T09:01:00.013Z","dependency_job_id":"d4b494c1-90ac-4cc6-a685-f583e020cf9e","html_url":"https://github.com/yappy/DollsKit","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/yappy/DollsKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yappy%2FDollsKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yappy%2FDollsKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yappy%2FDollsKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yappy%2FDollsKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yappy","download_url":"https://codeload.github.com/yappy/DollsKit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yappy%2FDollsKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28789721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: 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":["raspberry-pi","raspberrypi","rust","shell-script"],"created_at":"2026-01-26T22:02:44.373Z","updated_at":"2026-01-26T22:04:02.595Z","avatar_url":"https://github.com/yappy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DollsKit\n\nGithub Actions:\n[![Rust](https://github.com/yappy/DollsKit/actions/workflows/rust.yml/badge.svg)](https://github.com/yappy/DollsKit/actions/workflows/rust.yml)\n[![Rust](https://github.com/yappy/DollsKit/actions/workflows/doc.yml/badge.svg)](https://github.com/yappy/DollsKit/actions/workflows/doc.yml)\n\nyappy家の管理プログラム\n\n## ドキュメント\n\nGitHub Pages: \u003chttps://yappy.github.io/DollsKit/\u003e\n\nドキュメントのソースは `docs/` 以下: [docs/index.md](./docs/index.md)\n\n## ソースの入手\n\n```sh\ngit clone \u003cthis_repository\u003e\n```\n\n## ビルド\n\n環境の整った人形、または PC の中で\n\n```sh\ncd shanghai\ncargo build --release\n# or\ncargo b -r\n\n# 以下は debug build となる\ncargo build\n```\n\nStable 版の Rust 環境があればビルドできるはず。\n\n### リンクの高速化\n\n[rust_tools.md](./docs/note/rust_tools.md) を参照。\n\n## 管理プログラムの実行開始\n\n### 仮実行\n\n```sh\ncargo run --release\n# or\ncargo r -r\n```\n\n### 設定\n\n起動には設定ファイルが必要です。\n初回起動時は設定ファイルが存在しないためエラーになりますが、\nデフォルト設定ファイルが生成されるのでそれをコピーして作成してください。\nほぼすべての機能はデフォルトでは無効になっています。\n存在しないキーはデフォルトファイルの内容が使われます。\n\n```sh\ncp config_default.toml config.toml\n```\n\n### フォント\n\n※Twitter bot 向けの機能なので現在は有効にしても動作しません。\n\nデフォルト設定で指定されているフォントファイルは以下でインストールできます。\n\n```sh\nsudo apt install fonts-ipafont\n```\n\n### 本実行\n\n```sh\ncargo run --release\n# or\ncargo r -r\n```\n\n### daemon として実行\n\n`--daemon` オプション付きで実行します。\n\n```sh\ncargo run --release -- --daemon\nor\ncargo r -r -- --daemon\n```\n\nただし、`--daemon` なしでもよいので一度実行すると `exec.sh`, `kill.sh` が\n生成されるので、そちらを実行する方が便利です。\n\n```sh\n./exec.sh\n\n./kill.sh\n```\n\n### シグナル\n\n* SIGINT\n* SIGTERM\n  * プログラムを終了します。\n* SIGHUP\n  * (プロセスを終了せずに) 再起動します。設定やリソースファイルのリロードに使えます。\n* SIGUSR1\n  * ログをフラッシュします。\n    ディスク (SD Card) の寿命対策のため、これを行わないと最新のログがファイルに\n    反映されません。\n\n## システム起動時に自動起動\n\n一度実行すると `cron.txt` ができます。\n\n```sh\ncrontab \u003c cron.txt\n```\n\n## 設定ファイル (config.toml) のヘルプ\n\nドキュメントの sys::config::Config にあります。\n\n\u003chttps://yappy.github.io/DollsKit/doc/sys/config/struct.Config.html\u003e\n\n## テストのビルドと実行\n\n```sh\ncargo test\n```\n\n## ドキュメントのビルド\n\n```sh\ncargo doc --no-deps --document-private-items\n```\n\n## CI\n\nGitHub Actions で自動ビルドを行っています。\n`.github/workflows/` 以下を参照。\n\n### 自動ビルド\n\npush および pull request 時に debug/release ビルドおよびテストを行います。\n\n### ドキュメントの自動更新\n\n`doc` ブランチの `docs/` ディレクトリが GitHub Pages で公開されています。\n`main` ブランチに変更が push されると自動で `doc` ブランチを更新します。\n\n1. `doc` ブランチをチェックアウト\n1. `doc` ブランチに `main` ブランチをマージ\n1. `cargo doc` で Rust ドキュメントを自動生成\n1. `docs/` 以下を更新して commit\n1. push\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyappy%2Fdollskit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyappy%2Fdollskit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyappy%2Fdollskit/lists"}