{"id":22354683,"url":"https://github.com/pprp/clipllm","last_synced_at":"2026-02-23T01:03:26.318Z","repository":{"id":254652945,"uuid":"839625729","full_name":"pprp/ClipLLM","owner":"pprp","description":"Clipboard-Centric LLM conversation tools","archived":false,"fork":false,"pushed_at":"2024-08-10T10:27:40.000Z","size":4028,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-04T13:14:32.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/pprp.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":"2024-08-08T02:15:29.000Z","updated_at":"2024-08-29T01:45:12.000Z","dependencies_parsed_at":"2024-08-25T04:47:55.465Z","dependency_job_id":null,"html_url":"https://github.com/pprp/ClipLLM","commit_stats":null,"previous_names":["pprp/clipllm"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FClipLLM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FClipLLM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FClipLLM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprp%2FClipLLM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pprp","download_url":"https://codeload.github.com/pprp/ClipLLM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236526253,"owners_count":19163270,"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":[],"created_at":"2024-12-04T13:14:37.063Z","updated_at":"2025-10-23T19:37:16.706Z","avatar_url":"https://github.com/pprp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClipLLM\n\nClipboard as a Bridge to AI Communication\n\nClipLLM is a project that explores using the clipboard as an interface for AI communication.\n\n## Features\n\n- Read and write data to the clipboard\n- Communicate with AI models using clipboard data\n- Easy-to-use Python interface\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/pprp/ClipLLM.git\n   cd ClipLLM\n   ```\n\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n## Usage\n\nRun the main script:\n\n```bash\npython src/main.py\n```\n\nFor detailed usage instructions, refer to the [documentation](docs/usage.md).\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for more details.\n\n## License\n\nClipLLM is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\n\nFor questions or feedback, please open an issue on GitHub.\n\n\u003c!-- ## How to get dmg file\n\n```\npip install pyinstaller\n```\n\ncreate ClipLLM.spec\n\n```\n# -*- mode: python ; coding: utf-8 -*-\n\nblock_cipher = None\n\na = Analysis(['interface.py'],\n             pathex=[],\n             binaries=[],\n             datas=[],\n             hiddenimports=['PyQt5.sip'],\n             hookspath=[],\n             hooksconfig={},\n             runtime_hooks=[],\n             excludes=[],\n             win_no_prefer_redirects=False,\n             win_private_assemblies=False,\n             cipher=block_cipher,\n             noarchive=False)\n\npyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)\n\nexe = EXE(pyz,\n          a.scripts,\n          [],\n          exclude_binaries=True,\n          name='ClipLLM',\n          debug=False,\n          bootloader_ignore_signals=False,\n          strip=False,\n          upx=True,\n          console=False,\n          disable_windowed_traceback=False,\n          target_arch=None,\n          codesign_identity=None,\n          entitlements_file=None )\n\ncoll = COLLECT(exe,\n               a.binaries,\n               a.zipfiles,\n               a.datas,\n               strip=False,\n               upx=True,\n               upx_exclude=[],\n               name='ClipLLM')\n\napp = BUNDLE(coll,\n             name='ClipLLM.app',\n             icon=None,\n             bundle_identifier=None)\n```\n\nrun pyinstaller with this spec file:\n\n```\npyinstaller ClipLLM.spec\n```\n\nYou may need to adjust permissions for the app to access the clipboard and keyboard input. You can do this by adding the necessary entitlements to your app. Create a file called entitlements.plist:\n\n```\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"\u003e\n\u003cplist version=\"1.0\"\u003e\n\u003cdict\u003e\n    \u003ckey\u003ecom.apple.security.device.audio-input\u003c/key\u003e\n    \u003ctrue/\u003e\n    \u003ckey\u003ecom.apple.security.device.camera\u003c/key\u003e\n    \u003ctrue/\u003e\n    \u003ckey\u003ecom.apple.security.personal-information.addressbook\u003c/key\u003e\n    \u003ctrue/\u003e\n    \u003ckey\u003ecom.apple.security.personal-information.calendars\u003c/key\u003e\n    \u003ctrue/\u003e\n\u003c/dict\u003e\n\u003c/plist\u003e\n```\n\n5. Sign your application with these entitlements:\n\n```\ncodesign --entitlements entitlements.plist -s - dist/ClipLLM.app\n```\n\n```\npip install py2app\n```\n\ncreate setup.py\n\n```\nfrom setuptools import setup\n\nAPP = ['interface.py']\nDATA_FILES = []\nOPTIONS = {\n    'argv_emulation': True,\n    'packages': ['PyQt5'],\n    'plist': {\n        'CFBundleName': 'ClipLLM',\n        'CFBundleDisplayName': 'ClipLLM',\n        'CFBundleGetInfoString': \"Making ClipLLM\",\n        'CFBundleIdentifier': \"com.yourcompany.ClipLLM\",\n        'CFBundleVersion': \"0.1.0\",\n        'CFBundleShortVersionString': \"0.1.0\",\n        'NSHumanReadableCopyright': u\"Copyright © 2023, Your Company, All Rights Reserved\"\n    }\n}\n\nsetup(\n    app=APP,\n    data_files=DATA_FILES,\n    options={'py2app': OPTIONS},\n    setup_requires=['py2app'],\n)\n```\n\nRun py2app in alias mode first to test:\n\n```\npython setup.py py2app -A\n```\n\ncreate standalone application:\n\n```\npython setup.py py2app\n```\n\nYour application should now be in dist/ClipLLM.app. 6. To create a DMG, you can use the create-dmg command as described in the previous response:\n\n```\n\nI apologize for the inconvenience. If create-dmg isn't working, there are alternative methods to create a DMG file. Let's try using the built-in macOS tools to create a DMG. Here's a step-by-step process:\n\n\nFirst, create a new directory for your DMG contents:\n\n\nmkdir ClipLLM-dmg\n\n\nCopy your application into this new directory:\n\n\ncp -R dist/ClipLLM.app ClipLLM-dmg/\n\n\nNow, use the hdiutil command to create the DMG:\n\nhdiutil create -volname \"ClipLLM Installer\" -srcfolder ClipLLM-dmg -ov -format UDZO ClipLLM.dmg\n\n```\n\n\u003c!-- iconutil -c iconset brain.icns --\u003e\n\nhdiutil detach /Volumes/ClipLLM\\ Installer\nhdiutil convert ClipLLM.dmg -format UDRW -o ClipLLM_rw.dmg\nhdiutil attach ClipLLM_rw.dmg\ncp brain.iconset/icon_512x512.png /Volumes/ClipLLM\\ Installer/.VolumeIcon.icns\nSetFile -a C /Volumes/ClipLLM\\ Installer\ntouch /Volumes/ClipLLM\\ Installer\n\nhdiutil detach /Volumes/ClipLLM\\ Installer\nhdiutil convert ClipLLM_rw.dmg -format UDZO -o ClipLLM_final.dmg\nrm ClipLLM_rw.dmg --\u003e\n\n## How to get dmg file\n\nTo create a DMG file for ClipLLM, follow these steps:\n\n1. Install required tools:\n\n```bash\npip install pyinstaller py2app\n```\n\n2. Create a `setup.py` file in your project directory:\n\n```python\nfrom setuptools import setup\n\nAPP = ['interface.py']\nDATA_FILES = []\nOPTIONS = {\n    'argv_emulation': True,\n    'packages': ['PyQt5'],\n    'plist': {\n        'CFBundleName': 'ClipLLM',\n        'CFBundleDisplayName': 'ClipLLM',\n        'CFBundleGetInfoString': \"Making ClipLLM\",\n        'CFBundleIdentifier': \"com.yourcompany.ClipLLM\",\n        'CFBundleVersion': \"0.1.0\",\n        'CFBundleShortVersionString': \"0.1.0\",\n        'NSHumanReadableCopyright': u\"Copyright © 2023, Your Company, All Rights Reserved\"\n    }\n}\n\nsetup(\n    app=APP,\n    data_files=DATA_FILES,\n    options={'py2app': OPTIONS},\n    setup_requires=['py2app'],\n)\n```\n\n3. Build the application:\n\n```bash\npython setup.py py2app\n```\n\n4. Create a folder for the DMG contents:\n\n```bash\nmkdir ClipLLM-dmg\ncp -R dist/ClipLLM.app ClipLLM-dmg/\nln -s /Applications ClipLLM-dmg/\n```\n\n5. Create the initial DMG:\n\n```bash\nhdiutil create -volname \"ClipLLM Installer\" -srcfolder ClipLLM-dmg -ov -format UDZO ClipLLM.dmg\n```\n\n6. To add a custom icon to the DMG:\n\n```bash\n# Convert icon to iconset if not already done\niconutil -c iconset brain.icns\n\n# Convert DMG to read-write format\nhdiutil convert ClipLLM.dmg -format UDRW -o ClipLLM_rw.dmg\n\n# Mount the read-write DMG\nhdiutil attach ClipLLM_rw.dmg\n\n# Copy the icon and set attributes\ncp brain.iconset/icon_512x512.png /Volumes/ClipLLM\\ Installer/.VolumeIcon.icns\nSetFile -a C /Volumes/ClipLLM\\ Installer\ntouch /Volumes/ClipLLM\\ Installer\n\n# Unmount the DMG\nhdiutil detach /Volumes/ClipLLM\\ Installer\n\n# Convert back to read-only format\nhdiutil convert ClipLLM_rw.dmg -format UDZO -o ClipLLM_final.dmg\n\n# Clean up\nrm ClipLLM_rw.dmg\n```\n\nYour final DMG file will be `ClipLLM_final.dmg`.\n\nNote: Ensure you have the necessary permissions and sufficient disk space for these operations. If you encounter any issues, you may need to use `sudo` for some commands, but be cautious when doing so.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprp%2Fclipllm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpprp%2Fclipllm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprp%2Fclipllm/lists"}