{"id":14070396,"url":"https://github.com/Seraphli/obsidian-aggregator","last_synced_at":"2025-07-30T07:33:09.262Z","repository":{"id":63669771,"uuid":"569444251","full_name":"Seraphli/obsidian-aggregator","owner":"Seraphli","description":"This plugin helps you gather information from files, and make a summary in the file.","archived":false,"fork":false,"pushed_at":"2023-11-15T16:55:42.000Z","size":486,"stargazers_count":24,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-13T07:17:51.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Seraphli.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-22T20:59:13.000Z","updated_at":"2024-04-07T03:43:54.000Z","dependencies_parsed_at":"2024-08-13T07:17:12.202Z","dependency_job_id":"12d06ac9-08d8-4fc8-9025-70ed0f9392ff","html_url":"https://github.com/Seraphli/obsidian-aggregator","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seraphli%2Fobsidian-aggregator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seraphli%2Fobsidian-aggregator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seraphli%2Fobsidian-aggregator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seraphli%2Fobsidian-aggregator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seraphli","download_url":"https://codeload.github.com/Seraphli/obsidian-aggregator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228110214,"owners_count":17871147,"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-08-13T07:07:43.488Z","updated_at":"2025-07-30T07:33:09.253Z","avatar_url":"https://github.com/Seraphli.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Obsidian Aggregator\n\nThis plugin helps you gather information from files, and make a summary in the file.\n\nAlthough it is difficult to write the regular expression, once it's done, it will help you a lot.\n\n## Preview\n\nA collection of blocks with a tag. [Example1](docs/Example1.md)\n\n![example1-preview](docs/example1-preview.png)\n\nA collection of annotator blocks with tags. [Example2](docs/Example2.md)\n\n![example2-preview](docs/example2-preview.png)\n\nA stat table that is generated from a folder with custom helper supported. [Example3](docs/Example3.md)\n\n![example3-preview](docs/example3-preview.png)\n\n\n## Usage\n\nCreate a code block like this, and set the language to the `aggregator`. Then this plugin will find content based on RegExp and render the result with the template.\n\n````aggregator\nscope:\n    - Current File\nmatches:\n    - regex: '(?\u003c=^\u003e%%COMMENT%%\\n)(?:(?!^\u003e%%TAGS%%).*\\n)+(?=^\u003e%%TAGS%%\\n\u003e.*#[a-zA-Z0-9\\_]+)'\n      template: '{{{result.match.[0]}}}'\n````\n\nIf you want to sort the results, you can specify the fields and orders like this.\n\n````aggregator\nscope:\n    - Current File\n    - Papers\nmatches:\n    - regex: '^\\w[^\\#]*\\#[a-zA-Z0-9\\_]+\\s*$'\n      template: '{{{result.match.[0]}}}'\n    - regex: '(?\u003c=^\u003e%%COMMENT%%\\n)(?:(?!^\u003e%%TAGS%%).*\\n)+(?=^\u003e%%TAGS%%\\n\u003e.*#[a-zA-Z0-9\\_]+)'\n      template: '{{{result.match.[0]}}}'\norder:\n    fields: filename, line\n    orders: asc, asc\n````\n\n## Argument Explain\n\nCheck out [Arguments.md](docs/Arguments.md).\n\n## Example Usage\n\nCheck out [docs](docs/) for detailed examples.\n\n## Settings\n\nNote the default join string is not empty. It's just the text area can not display `\\n\\n`.\n\n`File Indicator` is a Handlebars template. Available data: file: `TFile`, index: number starts at 1.\n\n## See Also\n\n[obsidian-link-embed](https://github.com/Seraphli/obsidian-link-embed)\n\n## Thanks\n\n-   [tag-summary](https://github.com/macrojd/tag-summary)\n-   [tracker](https://github.com/pyrochlore/obsidian-tracker)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeraphli%2Fobsidian-aggregator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSeraphli%2Fobsidian-aggregator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeraphli%2Fobsidian-aggregator/lists"}