Giter VIP home page Giter VIP logo

bear-to-obsidian's Introduction

Introduction

The primary goal of this project is to migrate notes from Bear (MacOS) to Obsidian (Any platform). It's mainly for my own usage as I'm using Obsidian at work (Windows Platform).

As I'm preferring the layout of Bear and will keep Bear as my main note taking application, I'm literally creating files based on tags in Bear. A single note is then duplicated based on its tag definition.

Exportation of images and PDF is working and we get access to the files directly inside Obsidian. Images are going into an attachments folder and pdf into attachments/pdf

I'm using a cloud sync environment to replicate changes I might be doing while on Windows and have a rudimentary checksum mechanism which lists the files I might have modified or added on Windows based on the checksum at the time of exportation.

In the case files have been changed, you will need to manually change or add these in Bear and remove the exported folders to proceed with another exportation (exportation checks first that nothing has been modified on the Obsidian side)

Configuration

Note that the file src/main/resources lists the location to the SQLite DB for Bear. This should work with your user but change it otherwise.

Building the code

./gradlew build

Running the code

Building the code will create a self-running jar file inside your build/libs directory

java -jar build/libs/notes-exporter-1.0-SNAPSHOT.jar --bear=<path to your bear directory> --output=<path to your exportation directory>
  • path to your bear directory: usually ~/Library/Group Containers/9K33E3U3T4.net.shinyfrog.bear
  • output: any output directory where you want to export your notes

bear-to-obsidian's People

Contributors

lolobored avatar

Watchers

 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.