Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessmartin/bear-sqlite-to-md
Ruby script to export Bear notes from SQLite database to markdown files.
https://github.com/jessmartin/bear-sqlite-to-md
Last synced: 28 days ago
JSON representation
Ruby script to export Bear notes from SQLite database to markdown files.
- Host: GitHub
- URL: https://github.com/jessmartin/bear-sqlite-to-md
- Owner: jessmartin
- Created: 2020-07-01T20:17:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-26T03:20:02.000Z (about 4 years ago)
- Last Synced: 2024-12-07T14:45:59.190Z (about 1 month ago)
- Language: Ruby
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bear SQLite To Markdown
**⚠️ NOTE: THIS IS STILL EXPERIMENTAL! ⚠**
This is a simple Ruby script to export Bear notes from SQLite database to markdown files.
## How to use this script
1. Copy the new Bear sqlite database to this local directory.
```
cp ~/Library/Group\ Containers/9K33E3U3T4.net.shinyfrog.bear/Application\ Data/database.sqlite database.sqlite
```2. Run the ruby script to extract and generate markdown files.
```
ruby sqlite_to_md.rb
```3. Copy the markdown files wherever they need to be.