{"id":37132583,"url":"https://github.com/eriol/piken","last_synced_at":"2026-01-14T15:28:10.305Z","repository":{"id":57527889,"uuid":"47789753","full_name":"eriol/piken","owner":"eriol","description":"CLI tool to search unicode data backed by SQLite3","archived":false,"fork":false,"pushed_at":"2017-10-28T14:22:07.000Z","size":31,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T16:38:23.612Z","etag":null,"topics":["clipboard","codepoints","golang","sqlite3","unicode-data"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eriol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-10T21:56:23.000Z","updated_at":"2024-06-20T16:38:23.613Z","dependencies_parsed_at":"2022-09-03T22:20:07.859Z","dependency_job_id":null,"html_url":"https://github.com/eriol/piken","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eriol/piken","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriol%2Fpiken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriol%2Fpiken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriol%2Fpiken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriol%2Fpiken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eriol","download_url":"https://codeload.github.com/eriol/piken/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriol%2Fpiken/sbom","scorecard":{"id":381350,"data":{"date":"2025-08-11","repo":{"name":"github.com/eriol/piken","commit":"983604dfeab28b982cc11985d1f0a7808d812e97"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T15:31:21.997Z","repository_id":57527889,"created_at":"2025-08-18T15:31:21.997Z","updated_at":"2025-08-18T15:31:21.997Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["clipboard","codepoints","golang","sqlite3","unicode-data"],"created_at":"2026-01-14T15:28:09.566Z","updated_at":"2026-01-14T15:28:10.297Z","avatar_url":"https://github.com/eriol.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# piken #\n`piken` is a CLI tool to search unicode data backed by SQLite3.\n\nThe name is in homage to the creators of UTF-8: Rob **Pike** and **Ken**\nThompson.\n\n## Install ##\n\n```console\n% go get eriol.xyz/piken\n```\n\nAfter installation use `piken update` to get unicode data from\nhttp://www.unicode.org/Public/UNIDATA/UnicodeData.txt.\n\n## Usage ##\n\n```console\n% piken -h\nNAME:\n   piken - unicode search tool backed by SQLite3\n\nUSAGE:\n   ./piken [global options] command [command options] [arguments...]\n\nVERSION:\n   0.1\n\nAUTHOR(S):\n   Daniele Tricoli \u003ceriol@mornie.org\u003e\n\nCOMMANDS:\n   update       Update unicode data\n   search, s    Search for unicode\n   help, h      Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h           show help\n   --version, -v        print the version\n```\n\n## Search ##\n\n`piken` exposes [SQLite3's full-text search](https://www.sqlite.org/fts3.html)\non command line.\n\n**NOTE:** if you are using *zsh*, it's useful to disable glob expressions with\n`noglob` (using an alias for example) instead of quote searches.\n\nDefault fields showed are *codepoint* and *name*, but it easy to override this:\n```console\n% piken search red apple\n1F34E -- RED APPLE -- 🍎\n\npiken search --fields Name --fields Category --fields CodePoint red apple\nRED APPLE -- So -- 1F34E -- 🍎\n```\n\nThe following fields can be used:\n- CodePoint\n- Name\n- Category\n- CanonicalClass\n- BidiClass\n- DecompositionType\n- NumericType\n- NumericDigit\n- NumericValue\n- BidiMirrored\n- Unicode1Name\n- ISOComment\n- SimpleUppercaseMapping\n- SimpleLowercaseMapping\n- SimpleTitlecaseMapping\n\n\n### AND, OR, NOT operators ###\n\n```console\n% piken search heart AND (blue OR green)\n1F499 -- BLUE HEART -- 💙\n1F49A -- GREEN HEART -- 💚\n```\n\n**Note:** operators must be uppercase.\n\n### * and ^ prefixes ###\n\n```console\n% piken search mass*\n1D340 -- TETRAGRAM FOR MASSING -- 𝍀\n1F486 -- FACE MASSAGE -- 💆\n```\n\n```console\n% piken search ^cat\n1F408 -- CAT -- 🐈\n1F431 -- CAT FACE -- 🐱\n1F639 -- CAT FACE WITH TEARS OF JOY -- 😹\n1F63C -- CAT FACE WITH WRY SMILE -- 😼\n```\n\n### NEAR operator ###\n\n```console\n% piken search crying face\n1F622 -- CRYING FACE -- 😢\n1F62D -- LOUDLY CRYING FACE -- 😭\n1F63F -- CRYING CAT FACE -- 😿\n\n% piken search crying NEAR/0 face\n1F622 -- CRYING FACE -- 😢\n1F62D -- LOUDLY CRYING FACE -- 😭\n```\n\n### Specify column used to search ###\n\n```console\n% piken search codepoint:1F602\n1F602 -- FACE WITH TEARS OF JOY -- 😂\n\n% piken search doo* codepoint:A*\nA585 -- VAI SYLLABLE DOO -- ꖅ\nA61B -- VAI SYMBOL DOONG -- ꘛ\n\n% piken search category:Ll | wc -l\n1984\n\n% piken search math* frak* cap* NOT bold codepoint:1D50*\n1D504 -- MATHEMATICAL FRAKTUR CAPITAL A -- 𝔄\n1D505 -- MATHEMATICAL FRAKTUR CAPITAL B -- 𝔅\n1D507 -- MATHEMATICAL FRAKTUR CAPITAL D -- 𝔇\n1D508 -- MATHEMATICAL FRAKTUR CAPITAL E -- 𝔈\n1D509 -- MATHEMATICAL FRAKTUR CAPITAL F -- 𝔉\n1D50A -- MATHEMATICAL FRAKTUR CAPITAL G -- 𝔊\n1D50D -- MATHEMATICAL FRAKTUR CAPITAL J -- 𝔍\n1D50E -- MATHEMATICAL FRAKTUR CAPITAL K -- 𝔎\n1D50F -- MATHEMATICAL FRAKTUR CAPITAL L -- 𝔏\n\n# Note: Capital C and Capital H are missing from UnicodeData.txt\n```\n\n### Copy into clipboard ###\n\nOption `--copy` (compact form `-c`) can be used to copy the glyph directly into\nthe clipboard when search return only one row:\n\n```console\n% piken search --copy door\nWARN[0000] Copy to clipboard not allowed for multiple rows.\n2F3E -- KANGXI RADICAL DOOR -- ⼾\n1F6AA -- DOOR -- 🚪\n\n% piken search --copy door NOT k*\n1F6AA -- DOOR -- 🚪\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriol%2Fpiken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feriol%2Fpiken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriol%2Fpiken/lists"}