{"id":21188712,"url":"https://github.com/calcuis/cgg","last_synced_at":"2025-07-10T02:31:28.292Z","repository":{"id":219660867,"uuid":"749597930","full_name":"calcuis/cgg","owner":"calcuis","description":"call GGUF model","archived":false,"fork":false,"pushed_at":"2024-11-02T21:00:12.000Z","size":138,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-02T21:07:30.531Z","etag":null,"topics":["ai","call","cgg","chat","gguf","gpt"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/cgg/","language":"Python","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/calcuis.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}},"created_at":"2024-01-29T02:08:23.000Z","updated_at":"2024-11-02T20:54:03.000Z","dependencies_parsed_at":"2024-10-23T02:15:06.342Z","dependency_job_id":null,"html_url":"https://github.com/calcuis/cgg","commit_stats":null,"previous_names":["calcuis/cgg"],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calcuis%2Fcgg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calcuis%2Fcgg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calcuis%2Fcgg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calcuis%2Fcgg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calcuis","download_url":"https://codeload.github.com/calcuis/cgg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225614136,"owners_count":17496936,"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":["ai","call","cgg","chat","gguf","gpt"],"created_at":"2024-11-20T18:47:29.834Z","updated_at":"2025-07-10T02:31:28.274Z","avatar_url":"https://github.com/calcuis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### GGUF caller\n\n[\u003cimg src=\"https://raw.githubusercontent.com/calcuis/cgg/master/cgg.gif\" width=\"128\" height=\"128\"\u003e](https://github.com/calcuis/cgg)\n[![Static Badge](https://img.shields.io/badge/cgg-release-blue?logo=github)](https://github.com/calcuis/cgg/releases)\n\nThis package is a GGUF (GPT-Generated Unified Format) file/model caller. Perfect to run in low end device(s).\n#### install the caller via pip/pip3 (once only):\n```\npip install cgg\n```\nIf your c/c++ compiler cannot build the engine wheel successfully; could opt to get it [here](https://github.com/abetlen/llama-cpp-python/releases) straight; or try [core](https://pypi.org/project/gguf-core).\n#### update the caller (if not in the latest version) by:\n```\npip install cgg --upgrade\n```\n### user manual\nThis is a cmd-based (command line) package, you can find the user manual by adding the flag -h or --help.\n```\ncgg -h\n```\n#### check current version\n```\ncgg -v\n```\n#### connector menu\n```\ncgg menu\n```\n### graphical user interface (GUI) caller\nSimple GUI to interact with a chat model for generating responses (recommended).\n#### call cpp connector:\n```\ncgg cpp\n``` \n#### call c connector:\n```\ncgg c\n```\n### command line interface (CLI) caller\nCLI input also provided for expert/advanced user(s).\n#### call gpp connector:\n```\ncgg gpp\n```\n#### call g connector:\n```\ncgg g\n```\n#### call v connector:\n```\ncgg v\n```\n\nGGUF file(s) in the same directory will automatically be detected by the caller, hence, a selection menu will be shown in the console as below.\n\n[\u003cimg src=\"https://raw.githubusercontent.com/calcuis/chatgpt-model-selector/master/demo.gif\" width=\"350\" height=\"280\"\u003e](https://github.com/calcuis/chatgpt-model-selector/blob/main/demo.gif)\n[\u003cimg src=\"https://raw.githubusercontent.com/calcuis/chatgpt-model-selector/master/demo1.gif\" width=\"350\" height=\"280\"\u003e](https://github.com/calcuis/chatgpt-model-selector/blob/main/demo1.gif)\n\n#### metadata reader:\nYou can check model metadata by:\n```\ncgg r\n```\nOr try the model analyzor by:\n```\ncgg a\n```\n#### divider:\nDivide selected model into different part(s) by:\n```\ncgg d\n```\n#### merger:\nMerge all gguf in the current directory by:\n```\ncgg m\n```\n### clone feature\n```\ncgg clone [url]\n```\nWith this fast clone feature, you can clone any (GGUF model) file from URL, save it automatically in the current directory, and get it ready to connect locally (run it with your own machine offline); depends on the file size, as well as the network connectivity, it may take a while to complete the clone process; and you are able to see a dynamic progress bar showing the downloading status.\n\nIf you are a mac newbie, you might encounter ssl cert. issue while executing clone command or while entering the lazylist below; a practical solution: click Install Certificates.command under your Python version folder; details please refer to the [issues](https://github.com/calcuis/cgg/issues/1) reported.\n\n#### sample model(s) available to download (try out)\nFor general purpose\n[chat.gguf] (size: around 2GB or less)\n```\ncgg clone https://huggingface.co/calcuis/chat/resolve/main/chat.gguf\n```\nFor coding assistance\n[code.gguf] (size: around 3GB or more)\n```\ncgg clone https://huggingface.co/calcuis/code_mini/resolve/main/code.gguf\n```\nFor health/medical advice\n[medi.gguf] (size: around 3GB or more)\n```\ncgg clone https://huggingface.co/calcuis/medi_mini/resolve/main/medi.gguf\n```\nFor law/legal opinion\n[law.gguf] (size: around 3GB or more)\n```\ncgg clone https://huggingface.co/calcuis/law_mini/resolve/main/law.gguf\n```\nFor wealth/financial plan\n[finance.gguf] (size: around 3GB or more)\n```\ncgg clone https://huggingface.co/calcuis/gguf/resolve/main/finance.gguf\n```\nFor calculation/math solution\n[math.gguf] (size: around 3GB or more)\n```\ncgg clone https://huggingface.co/calcuis/gguf/resolve/main/math.gguf\n```\n***those are all experimental models; no guarantee on quality\n\n#### sample model list\nYou can either use the clone feature above or opt it straight from the lazy list by:\n```\ncgg s\n```\n[\u003cimg src=\"https://raw.githubusercontent.com/calcuis/gguf-connector/master/demo2.gif\" width=\"350\" height=\"225\"\u003e](https://github.com/calcuis/gguf-connector/blob/main/demo2.gif)\n\n#### gguf pack\nDownload [gguf](https://github.com/calcuis/gguf-pack) windows portable pack by:\n```\ncgg p\n```\n#### comfy gguf pack\nDownload [comfy](https://github.com/calcuis/comfy) GGUF windows portable pack by:\n```\ncgg y\n```\n#### gguf node\nDownload [node](https://github.com/calcuis/gguf) for comfyui by:\n```\ncgg n\n```\n#### prompt generator\nGenerate random bulk prompt(s) and save it in separate text file(s) by:\n```\ncgg pg\n```\n*0.001% duplicate rate approximately; opt to use [cleansor](https://pypi.org/project/cleansor) to remove it*\n#### pdf analyzor (beta)\nYou can load PDF into the model for analysis right away by (analyzor c):\n```\ncgg pc\n```\nOr by (analyzor p):\n```\ncgg pp\n```\n#### voice/speech recognizor (beta)\nYou can prompt voice/speech (wav file) as input by (recognizor c):\n```\ncgg vc\n```\nOr by (recognizor p):\n```\ncgg vp\n```\nOr by (online recognizor c):\n```\ncgg oc\n```\nOr by (online recognizor p):\n```\ncgg op\n```\n#### image/video generator (beta)\nGenerate image from text input (t2i) by:\n```\ncgg t2i\n```\nGenerate video from text input (t2v) by:\n```\ncgg t2v\n```\nGenerate video from image and/or text input (i2v) by:\n```\ncgg i2v\n```\n#### website\nClick [gguf.org](https://gguf.org) (mirror of gguf.us) or launch it straight from console by:\n```\ncgg org\n```\nClick [gguf.io](https://gguf.io) (mirror of gguf.us) or launch it straight from console by:\n```\ncgg io\n```\nClick [gguf.us](https://gguf.us) or launch it straight from console by:\n```\ncgg us\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalcuis%2Fcgg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalcuis%2Fcgg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalcuis%2Fcgg/lists"}