{"id":42481670,"url":"https://github.com/hetima/ComfyUI-SingleLinePicker","last_synced_at":"2026-02-07T20:00:32.334Z","repository":{"id":334665813,"uuid":"1141618498","full_name":"hetima/ComfyUI-SingleLinePicker","owner":"hetima","description":"Custom node for ComfyUI that select one line from the text list with a single click. It dramatically improves the process of switching LoRA or prompts.","archived":false,"fork":false,"pushed_at":"2026-01-26T06:47:43.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-26T21:00:53.288Z","etag":null,"topics":["comfyui","comfyui-custom-node"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hetima.png","metadata":{"files":{"readme":"README-ja.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":"2026-01-25T05:28:24.000Z","updated_at":"2026-01-26T15:03:42.000Z","dependencies_parsed_at":"2026-01-26T21:00:55.659Z","dependency_job_id":null,"html_url":"https://github.com/hetima/ComfyUI-SingleLinePicker","commit_stats":null,"previous_names":["hetima/comfyui-singlelinepicker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hetima/ComfyUI-SingleLinePicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetima%2FComfyUI-SingleLinePicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetima%2FComfyUI-SingleLinePicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetima%2FComfyUI-SingleLinePicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetima%2FComfyUI-SingleLinePicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hetima","download_url":"https://codeload.github.com/hetima/ComfyUI-SingleLinePicker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetima%2FComfyUI-SingleLinePicker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29206797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"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":["comfyui","comfyui-custom-node"],"created_at":"2026-01-28T11:00:24.072Z","updated_at":"2026-02-07T20:00:32.322Z","avatar_url":"https://github.com/hetima.png","language":"JavaScript","funding_links":[],"categories":["Workflows created today"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"./README.md\"\u003eEnglish\u003c/a\u003e |\r\n  \u003ca href=\"./README-ja.md\"\u003e日本語 (Japanese)\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n# ComfyUI-SingleLinePicker\r\n\r\nリストからワンクリックでテキストを選択できるComfyUIのカスタムノードです。LoRAやプロンプトの切り替え作業を劇的に改善します。\r\n\r\n![screecshot01](./assets/slp01.jpg)\r\n\r\n## Nodes\r\n\r\n### SLP List View\r\n\r\n入力されたテキストを個々の行のリストとして表示します。選択された行を出力します。\r\n\r\n表示されるテキストは、複数行テキストを出力する適当なノードからINPUTの`text`に繋げることで反映されます。最初の実行時やテキストの内容が変わると選択状態がリセットされ、何も出力しません。ノードを選択したときに出てくるツールボックスから部分実行を行えば全体の工程を行わずにテキストが流れ込みます。内容が固定の場合は一度読み込まれたら接続を切っても大丈夫です。\r\n\r\nノード情報パネルのParametersで`source_text`を直接編集することでも内容を変更できます。\r\n\r\nノードのコンテクストメニューに「Get Lora List」項目が追加されます。これを選ぶとインストールしているLoRAの一覧を取得しリストに表示します。後述するSLP Lora Loaderに直接出力できます。\r\n\r\nノードのコンテクストメニューに「Upload File...」項目が追加されます。これを選ぶとローカルファイルから内容を設定できます。`.csv`, `.tsv`, `.txt`ファイルに対応しています。`.csv`と`.tsv`は1列目を表示テキスト2列目を出力されるテキストと解釈して処理します（後述のセクションモードになります）。\r\n\r\n**辞書モード**：テキストの一行目に`#dict`と記入すると2行目以降をコロンを挟んで「表示テキスト: 出力されるテキスト」と解釈して処理します。長い文章を簡潔なタイトルで把握することができます。\r\n\r\n例：\r\n```\r\n#dict\r\nfirst:output value\r\nsecond:other value\r\nthird:last value\r\n```\r\n\r\n**セクションモード**：テキストの一行目に`#section`と記入すると2行目以降を「\\[表示テキスト\\](改行)出力されるテキスト」の連続と解釈して処理します。表示テキストの行全体を角括弧で囲み、次の行から出力されるテキストを記入します。出力されるテキストは改行を含めることができます。\r\n\r\n例：\r\n```\r\n#section\r\n[first]\r\noutput value\r\n[second]\r\nother\r\nvalue\r\n[third]\r\nlast value\r\n```\r\n\r\n![screecshot02](./assets/slp02.jpg)\r\n\r\ncsv, tsvやテキストファイル群から整形済みテキストを生成する[Pythonスクリプトが付属しています](./tools/README-ja.md)。出力テキストをSLP List Viewで読める形式にすると、二重構造のリストを再現することができます。SLP List Viewを2つ繋げて最初のノードに適用することで、カテゴリーを選んでから項目を選ぶようなことができるようになります。付属スクリプトで簡単に作ることができます。\r\n\r\n![screecshot05](./assets/slp05.jpg)\r\n\r\n\u003e [!WARNING]\r\n\u003eNodes 2.0 にはまだ対応していません。\r\n\r\n### SLP Lora Loader / SLP Lora Loader (Model Only)\r\n\r\nデフォルトのローダーとほぼ同じです。LoRAファイルの指定部分がコンボボックスではなくテキストになっているのでSLP List Viewを直接繋げることができます。\r\n\r\n出力パラメータ`stem`を持っています。LoRAファイルの拡張子を除いたファイル名を出力します。次節のSLP Filename Prefixで利用できます。\r\n\r\n\r\n### SLP Filename Prefix\r\n\r\n「画像を保存」などのファイルを書き出すノードは`filename_prefix(ファイル名_プレフィックス)`パラメータを持ち`%date:%`方式で現在の日付時刻を設定できます。ただしこれはフロントエンドで前処理されるため、実行中の出力と組み合わせることが難しいのです。`filename_prefix`にインプット接続しても日付時刻の処理はされません。\r\n\r\nそれを解決するためにこのノードでは、日付時刻の処理に加えてプレースホルダによる文字列置き換えを行った結果を出力します。「画像を保存」などの`filename_prefix`に有効な値を渡すことができます。\r\n\r\nプレースホルダは`$1` `$2` `$3` `$4`と最大4個作ることができ、それぞれ同名のインプットで置き換えられます。入力は文字列と数値に対応しています。\r\n\r\n![screecshot03](./assets/slp03.jpg)\r\n\r\n## Installation\r\n\r\n`ComfyUI/custom_nodes` で `git clone` する\r\n\r\n```\r\ngit clone https://github.com/hetima/ComfyUI-SingleLinePicker\r\n```\r\nもしくは ComfyUI Manager から探してインストールしてください。\r\n\r\n必要な追加 pip パッケージはありません。\r\n\r\n## Changelog\r\n\r\n- `Get Lora List` コンテクストメニューを追加\r\n- `Upload File...` コンテクストメニューを追加\r\n\r\n### 1.2.1\r\n- ノード表示名を `SLP List View` に変更\r\n\r\n### 1.2.0\r\n- `#section`モードを追加\r\n- ヘルパースクリプト `slp_buld_csv.py` と `slp_build_folder.py` を追加\r\n- SLP List View 同士の接続に対応\r\n\r\n\r\n### 1.1.0\r\n- カスタムノード `SLP Filename Prefix` を追加\r\n\r\n### 1.0.0\r\n- 最初のリリース\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetima%2FComfyUI-SingleLinePicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhetima%2FComfyUI-SingleLinePicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetima%2FComfyUI-SingleLinePicker/lists"}