Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/n3xed/logseq2obsdn

Convert logseq to obsidian
https://github.com/n3xed/logseq2obsdn

obsidian-md

Last synced: 18 days ago
JSON representation

Convert logseq to obsidian

Awesome Lists containing this project

README

        

# Convert logseq files to obsidian
**Use at your own risk!**

1. Install the [Rust programming language](https://www.rust-lang.org/tools/install).
2. Run
```bash
cargo run -- "/pages" "" --extract-ids
```
- This will extract all IDs and create a `ids.json` file in the current directory.
3. Run
```bash
cargo run -- "/pages/" ""
```
for each `` in the `pages` dir.

## Notes

The script gets the name of the converted file from the `title:: ` property at the beginning of the logseq file (this property only exists if the file is in a namespace), or from the file name otherwise. It copies all assets of the logseq file into the `assets` subdirectory of the destination folder. **The assets folder must be created manually, otherwise the script will fail to copy the assets.**

A block that is tagged with `#.self-border` (see [logtools](https://github.com/cannibalox/logtools)) will be converted to a callout (using the obsidian Admonition extension) in the form:

````
```ad-def
****


```

````