{"id":37186824,"url":"https://github.com/cpcf/meh","last_synced_at":"2026-01-14T21:40:38.072Z","repository":{"id":278841927,"uuid":"935387870","full_name":"cpcf/meh","owner":"cpcf","description":"Machine Enhanced Help (meh) is a command-line tool for interacting with large language models.","archived":false,"fork":false,"pushed_at":"2025-03-01T20:04:54.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T07:53:32.615Z","etag":null,"topics":["cli","go","llm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpcf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-19T11:13:07.000Z","updated_at":"2025-02-25T19:43:10.000Z","dependencies_parsed_at":"2025-02-22T02:31:54.629Z","dependency_job_id":"e56ddb72-f647-4f4a-936f-f7286ec7239a","html_url":"https://github.com/cpcf/meh","commit_stats":null,"previous_names":["cpcf/meh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cpcf/meh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcf%2Fmeh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcf%2Fmeh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcf%2Fmeh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcf%2Fmeh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpcf","download_url":"https://codeload.github.com/cpcf/meh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpcf%2Fmeh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","response_time":107,"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":["cli","go","llm"],"created_at":"2026-01-14T21:40:36.772Z","updated_at":"2026-01-14T21:40:38.067Z","avatar_url":"https://github.com/cpcf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meh\n\n## Overview\n`meh` is a simple CLI tool that constructs and executes queries based on command-line arguments and piped input. It supports file-based input, configurable settings, persona selection, and an interactive TUI mode.\n\n## Usage\n```sh\nmeh [options] [query]\n```\n\n### Options\n- `-f \u003cfile\u003e`: Read input from a specified file.\n- `-c`: Edit configuration settings.\n- `-p \u003cpersona\u003e`: Select a persona.\n- `-h`: Display usage instructions.\n\n### Behavior\n1. **Query Construction**:\n   - CLI arguments are combined with any piped input.\n   - If a query is constructed, it is passed to the application.\n2. **File Input (`-f`)**:\n   - Reads input from a specified file and processes it as a query.\n3. **Config Mode (`-c`)**:\n   - Allows editing of configuration settings.\n4. **Persona Selection (`-p`)**:\n   - Assigns a predefined persona to the session.\n5. **Interactive TUI Mode**:\n   - If no query is provided, a text-based user interface (TUI) is launched.\n   - The TUI allows creating new personas, selecting an existing persona, and engaging in interactive chat.\n6. **Help (`-h`)**:\n   - Displays usage instructions.\n7. **Error Handling**:\n   - Logs fatal errors if issues occur while reading input or processing commands.\n\n## Example Usage\n```sh\nmeh \"Hello World\"\n```\n```sh\necho \"piped input\" | meh\n```\n```sh\nmeh -f input.txt\n```\n```sh\nmeh  # Launches the interactive TUI\n```\n\n## Dependencies\n-  go 1.23\n\n## Running the Application\n```sh\ngo run meh.go [options] [query]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpcf%2Fmeh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpcf%2Fmeh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpcf%2Fmeh/lists"}