{"id":15960198,"url":"https://github.com/cdpath/logseq_tools","last_synced_at":"2025-04-04T11:01:19.973Z","repository":{"id":155839904,"uuid":"631280345","full_name":"cdpath/logseq_tools","owner":"cdpath","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-24T16:29:50.000Z","size":14968,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T21:13:13.012Z","etag":null,"topics":["alfred-workflow","logseq"],"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/cdpath.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":"2023-04-22T14:18:34.000Z","updated_at":"2023-04-22T21:47:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"7889ed54-9fb6-4e74-8b34-9847fd68f986","html_url":"https://github.com/cdpath/logseq_tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2Flogseq_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2Flogseq_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2Flogseq_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdpath%2Flogseq_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdpath","download_url":"https://codeload.github.com/cdpath/logseq_tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166156,"owners_count":20894652,"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":["alfred-workflow","logseq"],"created_at":"2024-10-07T15:01:49.845Z","updated_at":"2025-04-04T11:01:19.924Z","avatar_url":"https://github.com/cdpath.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"./icon.png\" alt=\"Icon\" style=\"height: 36px; width: auto; vertical-align: text-top; margin-right: 6px\"\u003eLogseq Tools\n\n\n\nWelcome to Logseq Tools, a workflow to enhance your note-taking experience in Logseq. Easily search note names, tags, and list notes containing specific tags.\n\n## Features\n\n1. Utilizes Logseq's official [Local HTTP server](https://docs.logseq.com/#/page/local%20http%20server) , ensuring data stays local and privacy is protected.\n2. Offers full-text search for note titles, including Chinese Pinyin search support.\n3. Supports note Tag search.\n\n\n## Note\n\nLogseq Tools uses libsimple.dylib from [Simple tokenizer](https://github.com/wangfenjin/simple) for full-text search. Due to Apple's security restrictions, allow the library's usage in Security Settings upon first use. Go to System Preferences \u003e Security \u0026 Privacy \u003e General and click \"Allow\" next to the libsimple.dylib message.\n\n## Configuration\n\nBefore using Logseq Tools, generate a Logseq API Token and set up the token in the workflow settings.\n\nTo generate a token, go to Logseq Settings \u003e Features, enable \"HTTP APIs server,\" return to the main interface, click the \"API\" button, select \"Authorization tokens,\" and generate a token.\n\nBefore using Logseq Tools, generate a note index by typing `refreshlogseq`. Update the index with `refreshlogseq` whenever notes are updated.\n\n## Usage\n\n| Command       | Description                                 |\n|---------------|---------------------------------------------|\n| lsn           | Search note names                           |\n| lst           | Search tags                                 |\n| lsnt          | List notes with specific tags              |\n| refreshlogseq | Generate note index by refreshing database |\n\n## How It Works\n\nLogseq Tools operates by utilizing Logseq's [Local HTTP server](https://docs.logseq.com/#/page/local%20http%20server) to obtain a comprehensive list of Logseq note metadata. The workflow then scans this list using note names and tags to identify pertinent notes.\n\nTo facilitate full-text filename search in Chinese with Pinyin, the [Simple tokenizer](https://github.com/wangfenjin/simple) is also integrated.\n\n\n## TODO\n\n- [ ] support quick capture\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdpath%2Flogseq_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdpath%2Flogseq_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdpath%2Flogseq_tools/lists"}