{"id":15890589,"url":"https://github.com/dimfeld/export-logseq-notes","last_synced_at":"2025-09-08T13:34:54.152Z","repository":{"id":38066703,"uuid":"327852212","full_name":"dimfeld/export-logseq-notes","owner":"dimfeld","description":"Export notes from Logseq or Roam to HTML for use in a static site.","archived":false,"fork":false,"pushed_at":"2024-03-01T08:16:25.000Z","size":317,"stargazers_count":45,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-07T07:06:58.119Z","etag":null,"topics":["logseq","publishing"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dimfeld.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}},"created_at":"2021-01-08T09:08:40.000Z","updated_at":"2024-09-02T04:28:31.000Z","dependencies_parsed_at":"2023-11-15T03:25:47.457Z","dependency_job_id":"70036c96-0558-4f66-af64-b0448dac4b77","html_url":"https://github.com/dimfeld/export-logseq-notes","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fexport-logseq-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fexport-logseq-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fexport-logseq-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fexport-logseq-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimfeld","download_url":"https://codeload.github.com/dimfeld/export-logseq-notes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221654019,"owners_count":16858335,"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":["logseq","publishing"],"created_at":"2024-10-06T07:06:53.820Z","updated_at":"2024-10-28T01:01:51.100Z","avatar_url":"https://github.com/dimfeld.png","language":"Rust","readme":"# Logseq Note Exporter\n\nThis is a program to take a Logseq directory and convert it into web pages. I'm currently using this to\npopulate much of the content on [my website](https://imfeld.dev/).\n\nNote: Most everything below is out of date. I'll be rewriting the README to accurately reflect the addition of scripting and other new capabilities. For now, the easiest way to see how to use this is to look at [the configuration I use on my website](https://github.com/dimfeld/website).\n\n## Features\n\n- Selective export: Include and exclude pages based on presence of tags in each page\n- Optionally omit lines that only contain links/tags to pages that aren't included.\n  - So tag-only lines like `#Articles #Done #Thinking` don't clutter up the page.\n- Support block references, block embeds, and page embeds.\n- Supports output templates: complete HTML page, text with front matter, or anything else!\n- Gathers hashtags in a page for use in the output template \n  - This is configurable to use either a specific \"Tags\" attribute, or hashtags anywhere in a page.\n  - Tags can be excluded\n\nThis program also supports operating on a Roam Research EDN export, though I'm not maintaining that support so the\nparsing may stop working if the Roam EDN format changes enough.\n\n## Configuration\n\nPrimary configuration is through a TOML file. You can find an [annotated config file here](https://github.com/dimfeld/export-logseq-notes/blob/master/export-roam-notes.toml) and\nmodify it for your needs.\n\nThe program also supports command line arguments to override settings in the config file. `export-logseq-notes --help` will show\nthe arguments available.\n\n## Notable features planned\n\n- [X] Option to only export pages with a certain tag\n- [X] When a page links to another exported page, the output contains a link.\n- [X] Expands block embeds\n- [X] Link block references to original block\n- [X] Translate namespaces into nested directories\n- [ ] Option to show backlinks at bottom\n\n## Acknowledgements\n\n- [edn-rs](https://github.com/naomijub/edn-rs) for EDN parsing\n- [nom](https://github.com/Geal/nom) for making it easy to write custom parsers\n- The Svelte syntax file is imported from `https://github.com/corneliusio/svelte-sublime`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fexport-logseq-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimfeld%2Fexport-logseq-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fexport-logseq-notes/lists"}