npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tettekete/quiver-to-obsidian-exporter

v1.1.1

Published

Export Quiver library to Obsidian markdown files

Downloads

5

Readme

Export Quiver library to Obsidian markdown files

npm

The original forked repository is "blue-monk/quiver-to-obsidian-exporter", and furthermore the original repository is "Yukaii/quiver-markdown-exporter".

This command line tool is built upon the excellent foundation of the original repository.
Thank you!


This tool facilitates migration from Quiver to Obsidian.

I made some changes because there were a few points that concerned me when using it (mainly that the number of notes in Quiver didn't match the number of exported markdown files).

App Concept Image App Running Image

Installation

npm install -g @tettekete/quiver-to-obsidian-exporter

Usage

Usage
  $ qvr2obs <input.qvlibrary> -o <output folder>  -a <Attachment folder policy>
  or
  $ qvr2obs <input.qvlibrary> -o <output folder>  -a <Attachment folder policy> -n <Attachment subfolder name if needed>

Options
  --output, -o: Output folder
  --attachmentFolderPolicy, -a: Attachment folder policy (vaultFolder, subfolderUnderVault, sameFolderAsEachFile, subfolderUnderEachFolder). 'subfolderUnderVault' and 'subfolderUnderEachFolder' require subfolder name.
  --attachmentSubfolderName, -n: Specify the subfolder name if 'subfolderUnderVault' or 'subfolderUnderEachFolder' is selected as the attachmentFolderPolicy option.

Examples
  $ qvr2obs MyNote.qvlibrary -o dest/MyNote -a vaultFolder
  $ qvr2obs MyNote.qvlibrary -o dest/MyNote -a subfolderUnderVault -n _attachments

Changes from the Original

  • Fixed a problem that caused notes with titles beginning with . to become hidden files in Obsidian.

  • Set __empty_title__ as a provisional name for a note with an empty title.

  • Fixed duplicate title notes to end with -dup + number.

  • Changed the Properties information assigned to Obsidian content to include title information (to avoid the problem of losing the original title due to file name sanitization, making it impossible to search for the original title).

    See also "Properties - Obsidian Help"

  • The number of notes processed is now displayed as information when the export is complete.

    This is so that you can check if the number of notes matches the number of notes displayed in your Quiver(Trash + All Notes).

    You can also check the number of Markdown files actually exported with commands such as find testdata/exported -name "*.md" | wc -l.

How to Test (For Developers)

This testing procedure is designed for testing in a clean environment.
For routine testing, feel free to use your IDE of choice.

  1. Prepare the testdata folder: In the testdata folder, place xxx.qvlibrary in the sources directory, for example, and also provide a destination folder, etc. and use it as the location for the -o option (-o testdata/destination/MyNote)
  2. yarn run build.
  3. npm pack.
  4. docker compose up -d --build.
  5. Enter the Docker container: e.g.
    docker compose exec app /bin/bash
  6. Execute the command: e.g.
    qvr2obs testdata/source/MyNote.qvlibrary -o testdata/destination/MyNote -a subfolderUnderVault -n _attachments

If needed, enable verbose logging for debugging:

export QUIVER_TO_OBSIDIAN_EXPORTER_LOGGING_VERBOSE=true

This may be set as the value of QUIVER_TO_OBSIDIAN_EXPORTER_LOGGING_VERBOSE in docker-compose.yml.

Alternatively, you can run the following command after docker compose up -d --build without entering the Docker container.

docker compose exec app qvr2obs testdata/source/MyNote.qvlibrary -o testdata/destination/MyNote -a subfolderUnderVault -n _attachments

Contributing

If you find any bugs or have any suggestions, simply fork this repo and modify it on your own. I would probably not gonna run this repo again. 😝

Also check out the Quiver Data format Reference.

License

MIT