{"id":44312055,"url":"https://github.com/kdnk/obsidian-hierarchy","last_synced_at":"2026-02-11T04:12:20.231Z","repository":{"id":256797273,"uuid":"856313829","full_name":"kdnk/obsidian-hierarchy","owner":"kdnk","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-09T02:49:43.000Z","size":687,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-09T08:41:34.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://obsidian.md/plugins?id=hierarchy","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/kdnk.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-12T11:19:40.000Z","updated_at":"2026-02-09T02:49:46.000Z","dependencies_parsed_at":"2024-09-17T16:29:17.766Z","dependency_job_id":"20cefe4b-cdf6-4dea-9bf2-9d77f7cedb38","html_url":"https://github.com/kdnk/obsidian-hierarchy","commit_stats":null,"previous_names":["kdnk/obsidian-full-path","kdnk/obsidian-hierarchy"],"tags_count":51,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","purl":"pkg:github/kdnk/obsidian-hierarchy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdnk%2Fobsidian-hierarchy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdnk%2Fobsidian-hierarchy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdnk%2Fobsidian-hierarchy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdnk%2Fobsidian-hierarchy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdnk","download_url":"https://codeload.github.com/kdnk/obsidian-hierarchy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdnk%2Fobsidian-hierarchy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"last_error":"SSL_read: 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":[],"created_at":"2026-02-11T04:12:19.369Z","updated_at":"2026-02-11T04:12:20.225Z","avatar_url":"https://github.com/kdnk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛣️ Obsidian Hierarchy 🛤️\n\nThe Hierarchy Plugin for Obsidian enhances your note-taking experience by visualizing the folder hierarchy of your markdown files directly within the editor. This plugin allows users to see subdirectory structures and modify how file titles are displayed in tabs and backlinks based on their file paths.\n\n## 📸\n\n\u003cimg src=\"https://github.com/user-attachments/assets/41a54812-f998-4dd0-b4df-e1a51e4bf49d\" width=\"500px\" /\u003e\n\n## Features\n\n-   **Hierarchy View in Editor**: Display the folder structure of the current file in a collapsible hierarchy view within the editor. This provides a clear visual representation of subdirectories and related files.\n-   **Tab Title Customization**: Customize the titles of your open tabs. Choose between displaying the full path or just the file name.\n-   **Backlink Title Customization**: Modify the way backlink titles are shown by either displaying the full path or only the file name.\n\n## Usage\n\nOnce installed, the Hierarchy Plugin will:\n\n-   Automatically display a hierarchy view when you open a markdown file.\n-   Update the titles of your open tabs and backlinks to reflect the file path settings.\n\nTo configure the plugin:\n\n1. Go to **Settings \u003e Hierarchy Plugin**.\n2. Toggle the settings to enable or disable the hierarchy view, tab title customization, and backlink title customization.\n\n## Settings\n\n-   **Display hierarchy in backlinks panel**: Toggle this setting to show the folder hierarchy of files in the backlinks panel, providing more context for each backlink.\n-   **Display hierarchy in tab headers**: Enable this setting to show the folder hierarchy in the tab headers, allowing you to see the file's path in addition to its name.\n-   **Display hierarchy in editor view**: Enable this setting to display the folder hierarchy below each markdown editor, helping you to quickly see related files in the same directory.\n\n## Tips\n\nIf you prefer using paths over tags (like I do), I recommend using [Obsidian Linter](https://github.com/platers/obsidian-linter).  \nWhen you use Obsidian's autocomplete feature to insert paths, it often automatically adds aliases to the links. You can prevent this by using the following regular expressions:\n\n- **Regex to find**: `\\[\\[([^\\|\\[\\n]+)\\|([^\\|\\[\\n]+)\\]\\]`\n- flags: `gm`\n- **Regex to replace**: `[[$1]]`\n\nAdditionally, I store all my pages under the `pages/` directory, but I don’t want to start every link with `pages/`. To avoid this, I use the following setting:\n\n- **Regex to find**: `\\[\\[pages/([^\\|\\[\\n]+)\\]\\]`\n- flags: `gm`\n- **Regex to replace**: `[[$1]]`\n\nThis setup will clean up both aliases and the `pages/` prefix, leaving a simple and clean path for your links.\n\nref. https://platers.github.io/obsidian-linter/settings/custom-rules/#custom-regex-replacements\n\u003cimg width=\"500px\" src=\"https://github.com/user-attachments/assets/7ee3f1e8-6f78-44b9-bf80-59c134778555\" /\u003e\n\n## Dev\n\nTo bump the version, run `npm version patch` or `npm version minor` or `npm version major`. This will bump the version in `package.json`, create a new git tag, and push the changes to the repository.\n\n## Contributing\n\nContributions are welcome! If you have ideas, feature requests, or bug reports, feel free to open an issue or submit a pull request.\n\n## Thanks\n\nSome code around the backlinks are inspired by the [Owner avatar\nbetter-search-views\n](https://github.com/ivan-lednev/better-search-views).\n\n## License\n\nThis plugin is open-source and available under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdnk%2Fobsidian-hierarchy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdnk%2Fobsidian-hierarchy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdnk%2Fobsidian-hierarchy/lists"}