Git Product home page Git Product logo

quiver-to-obsidian's Introduction

Quiver-to-Obsidian

cover

Quiver-to-Obsidian is a node.js CLI to convert a Quiver library to an Obsidian library.

Features

  • Convert all the Quiver notes to markdown files
    • Also, convert the text cell of the content to markdown
  • Move all the resource files to the root dir resources of the new Obsidian library
  • Add default file extension .png to the resource file which is missing file extension
  • Overwrite the created time and updated time of the new markdown file, same with the quiver note file's time
  • [Option] Replace some unknown image ext to png

Install

Install this npm package:

npm install -g quiver-to-obsidian

Usage

Usage: q2o [options]

Options:
  -q, --quiver-path <path>  quiver library dir path
  -o, --output-path <path>  output dir path
  -e, --ext-names [ext...]  [option] replace some unknown resource image file ext to `png`
  -h, --help                display help for command

Run the command below:

q2o -q <quiver-library-dir-path> -o <output-dir-path>

If you want to replace some resource file extension to .png, add parameter -e, for example, I want to replace .awebp and .green to .png, run the command below:

q2o -q /xxx/quiver.qvlibrary -o /xxx/output -e awebp green
# before:
![](resources/FFF4283081EF04C144EF122E5B894D2C.awebp)
![](resources/DDD5283081EF04C144EF122E5B894D3C.green)

# after
![](resources/FFF4283081EF04C144EF122E5B894D2C.png)
![](resources/DDD5283081EF04C144EF122E5B894D3C.png)

Update

Update this command-line:

npm update -g quiver-to-obsidian

Uninstall

After finished, you can remove this command-line tool by:

npm uninstall -g quiver-to-obsidian 

Thanks

Quiver-to-Obsidian is inspired by ushu/quiver, and it wouldn't be possible without these npm modules:

  • turndown
  • fs-extra
  • utimes
  • commander
  • progress
  • chalk
  • ora

Contributing

Feel free to Open an issue or submit PRs.

License

MIT © DeerDev

quiver-to-obsidian's People

Contributors

deerdev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.