{"id":20330735,"url":"https://github.com/leafney/alfred-markdown-search","last_synced_at":"2025-04-11T21:06:54.503Z","repository":{"id":55641775,"uuid":"314784461","full_name":"leafney/alfred-markdown-search","owner":"leafney","description":"Alfred Workflow for search and open markdown files","archived":false,"fork":false,"pushed_at":"2020-12-27T00:50:47.000Z","size":30,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T21:05:56.327Z","etag":null,"topics":["alfred-workflow","markdown","mweb","typora"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/leafney.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}},"created_at":"2020-11-21T10:19:17.000Z","updated_at":"2024-05-01T01:13:23.000Z","dependencies_parsed_at":"2022-08-15T05:20:19.237Z","dependency_job_id":null,"html_url":"https://github.com/leafney/alfred-markdown-search","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falfred-markdown-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falfred-markdown-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falfred-markdown-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafney%2Falfred-markdown-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafney","download_url":"https://codeload.github.com/leafney/alfred-markdown-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480435,"owners_count":21110937,"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","markdown","mweb","typora"],"created_at":"2024-11-14T20:17:29.404Z","updated_at":"2025-04-11T21:06:54.461Z","avatar_url":"https://github.com/leafney.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alfred-markdown-search\n\nAlfred Workflow for search and open Markdown files\n\n## Documents\n\n* [English document](REAMDME.md)\n* [中文文档](README_ZH.md)\n\n\n## Pain Point\n\nWhen using Typora to manage markdown documents, the built-in search function is not very useful. Some documents cannot be searched.\n\n\n## Params Setting\n\nOpen the environment variable setting page of `Markdown Search workflow`, and configure:\n\n* `MARKDOWN_PATH` -- `Required` -- Directory path of markdown files,multiple directories are separated by English colon `:`\n* `MARKDOWN_APP` -- `Optional` -- Third-party apps, such as `/Applications/Typora.app`\n\n## How to use\n\nKeyword: `mdd` (you can also customize this shortcut to trigger workflow)\n\n\n1. When no parameters are entered, 20 document records are displayed in reverse order according to the latest modification time;\n2. Support the `-t` (`title`) parameter to search the title area of the document (`title area`: to support multiple md document formats, define the `first nine lines` of the document as the title area for keyword search) ；\n3. Support inputting multiple keywords to filter, separated by spaces, keywords are not case sensitive;\n4. Select the corresponding line and press `Enter` to open the document with the system default markdown document App;\n5. Select the corresponding line and press `Options + Enter`, the document will be opened with a custom-configured third-party App;\n\n\n## Examples\n\n```\n# By default, 20 document records are displayed according to the latest modification time\nmdd\n\n\n# Search keywords in the title area, the keywords are not case sensitive\nmdd -t golang\n\n\n# Full text search keywords, keywords are not case sensitive\nmdd golang\n\n\n# Full text search keywords, multiple keywords are separated by spaces, keywords are not case sensitive\nmdd golang Python\n\n\n# Find documents that contain `golang` in the title area and `python` in the content of the document\nmdd -t golang python\n\n\n# Find documents with `golang` and `python` in the title area\nmdd -t golang,python\n\n\n# Find documents that contain `golang` and `python` keywords in the title area and `mysql` in the document content\nmdd -t golang,python mysql\n```\n\n\n## Thanks\n\n* [MWeb workflow](https://github.com/tianhao/alfred-mweb-workflow)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafney%2Falfred-markdown-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafney%2Falfred-markdown-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafney%2Falfred-markdown-search/lists"}