{"id":24302780,"url":"https://github.com/taigrr/clipassist","last_synced_at":"2026-04-22T04:03:41.320Z","repository":{"id":102066450,"uuid":"560251059","full_name":"taigrr/clipassist","owner":"taigrr","description":"A Framework for assistive clipboard actions","archived":false,"fork":false,"pushed_at":"2026-02-22T22:40:42.000Z","size":25,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-23T03:40:14.550Z","etag":null,"topics":[],"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/taigrr.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":"2022-11-01T03:54:49.000Z","updated_at":"2026-02-22T22:40:44.000Z","dependencies_parsed_at":"2023-04-15T13:47:47.022Z","dependency_job_id":null,"html_url":"https://github.com/taigrr/clipassist","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/taigrr/clipassist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fclipassist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fclipassist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fclipassist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fclipassist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taigrr","download_url":"https://codeload.github.com/taigrr/clipassist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taigrr%2Fclipassist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32120402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-17T00:19:21.017Z","updated_at":"2026-04-22T04:03:41.315Z","avatar_url":"https://github.com/taigrr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClipAssist\n\n\u003e **Note:** this project integrates with the system clipboard and the\n\u003e notifications system of your device, and as a result, requires CGO.\n\nThis tool serves as a framework for operating on selected text.\nIt provides functionality to run in the background of your system and listen in\non your clipboard operations.\nWhen a piece of text is copied that matches a specified regex, a function can be\ncalled against that piece of text.\n\n## Built-in Modules\n\n| Module | Detects | Action |\n|--------|---------|--------|\n| **millis** | 13-digit Unix millisecond timestamps | Shows human-readable date/time |\n| **seconds** | 10-digit Unix second timestamps | Shows human-readable date/time |\n| **uuid** | UUIDs (v1–v7) | Shows UUID version info |\n| **hexcolor** | CSS hex colors (`#rrggbb`) | Shows RGB breakdown |\n| **jwt** | JSON Web Tokens | Shows header info, subject, issuer, expiry |\n| **ipaddr** | IPv4 \u0026 IPv6 addresses | Shows address type (private/public/loopback) |\n| **base64** | Base64-encoded strings | Decodes and shows preview of content |\n\n## Writing Your Own Module\n\nA module is simply a function that returns `[]matchers.Matcher`. Each matcher\npairs a regular expression with a callback:\n\n```go\npackage mymodule\n\nimport (\n    \"regexp\"\n    \"github.com/taigrr/clipassist/matchers\"\n)\n\nfunc Matchers() []matchers.Matcher {\n    return []matchers.Matcher{\n        {\n            Regex: regexp.MustCompile(`pattern`),\n            ID:    \"my-module\",\n            F:     func(matched string) {\n                // Do something with the matched text\n            },\n        },\n    }\n}\n```\n\nThen register it in `cmd/clipassist/main.go`:\n\n```go\nmatchers.Add(mymodule.Matchers()...)\n```\n\nSet `FullText: true` on a matcher if you only want it to fire when the\n**entire** clipboard content matches (not substrings).\n\n## Installation\n\n```bash\ngo install github.com/taigrr/clipassist/cmd/clipassist@latest\n```\n\nA sample systemd unit file to be placed into\n`/etc/systemd/user/clipassist.service` is provided. Be sure to change the path\nto the binary to match your home folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Fclipassist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaigrr%2Fclipassist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaigrr%2Fclipassist/lists"}