All Projects → selfire1 → BibleGateway-to-Obsidian

selfire1 / BibleGateway-to-Obsidian

Licence: other
This script adapts jgclark's BibleGateway-to-Markdown script to export for use in Obsidian.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to BibleGateway-to-Obsidian

keep-it-markdown
Convert Google Keep notes dynamically to markdown for Obsidian and Notion using the unofficial Keep API
Stars: ✭ 125 (+95.31%)
Mutual labels:  obsidian-md
Obsidian-Typora-Vue-Theme
A light theme for Obsidian(https://obsidian.md/), inspired by typora-vue.
Stars: ✭ 44 (-31.25%)
Mutual labels:  obsidian-md
obsidian-readwise
Sync Readwise highlights into your obsidian vault
Stars: ✭ 79 (+23.44%)
Mutual labels:  obsidian-md
obsidian-encrypt
Hide secrets in your Obsidian.md vault
Stars: ✭ 83 (+29.69%)
Mutual labels:  obsidian-md
obsidian-community-list
📃 • updated list of community themes & plugins for obsidian.md!
Stars: ✭ 16 (-75%)
Mutual labels:  obsidian-md
MySnippets-Plugin
MySnippets is a plugin that adds a status bar menu allowing the user to quickly manage their snippets within the comfort of their workspace 🖌.
Stars: ✭ 40 (-37.5%)
Mutual labels:  obsidian-md
cycle-through-panes
Cycle through Panes - Obsidian Plugin
Stars: ✭ 44 (-31.25%)
Mutual labels:  obsidian-md
obsidian-things-logbook
Sync your Things 3 Logbook with Obsidian
Stars: ✭ 49 (-23.44%)
Mutual labels:  obsidian-md
obsidian-sort-and-permute-lines
Sort and Permute lines in whole file or selection.
Stars: ✭ 25 (-60.94%)
Mutual labels:  obsidian-md
obsidian-charts
Charts - Obsidian Plugin | Create editable, interactive and animated Charts in Obsidian via Chart.js
Stars: ✭ 177 (+176.56%)
Mutual labels:  obsidian-md
Yin-and-Yang-Theme
An Obsidian.md theme with a stark contrast between dark mode and light mode, much like the Yin and Yang symbol ☯️.
Stars: ✭ 323 (+404.69%)
Mutual labels:  obsidian-md
obsidian-deep-work-theme
A light & dark theme for Obsidian inspired by modern GitHub colors.
Stars: ✭ 45 (-29.69%)
Mutual labels:  obsidian-md
quartz
🌱 host your own second brain and digital garden for free
Stars: ✭ 374 (+484.38%)
Mutual labels:  obsidian-md
obsidian-style-settings
A dynamic user interface for adjusting theme, plugin, and snippet CSS variables within Obsidian
Stars: ✭ 205 (+220.31%)
Mutual labels:  obsidian-md
hotkeysplus-obsidian
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
Stars: ✭ 58 (-9.37%)
Mutual labels:  obsidian-md
obsidian-contextual-typography
No description or website provided.
Stars: ✭ 45 (-29.69%)
Mutual labels:  obsidian-md
obsidian-kanban
Create markdown-backed Kanban boards in Obsidian.
Stars: ✭ 974 (+1421.88%)
Mutual labels:  obsidian-md
obsidian-tweet-to-markdown
An Obsidian.md plugin to save tweets as Markdown files.
Stars: ✭ 35 (-45.31%)
Mutual labels:  obsidian-md
obsidian-podcast-note
A plugin for the note taking app Obsidian that lets you add podcast meta data to your notes.
Stars: ✭ 24 (-62.5%)
Mutual labels:  obsidian-md
obsidianmd-theme-primary
Primary is a warm, playful but productive theme for Obsidian. Its colors were inspired by Bauhaus, Scandinavian interior, and yellowing retro magazine pages. It has been described as chill and having vibes of "freshly baked goods".
Stars: ✭ 173 (+170.31%)
Mutual labels:  obsidian-md

BibleGateway-to-Obsidian

This script adapts jgclark's BibleGateway-to-Markdown script to export for use in Obsidian. It accompanies a Bible Study in Obsidian Kit that gets you hands-on with using Scripture in your personal notes.

What the script does is fetch the text from Bible Gateway and save it as formatted markdown file. Each chapter is saved as one file and navigation between files as well as a book-file is automatically created. All of the chapter files of a book are saved in its numbered folder.

This script is intended to be as simple as possible to use, even if you have no idea about Scripting. If you have any questions, please reach out to me either on github or Discord (selfire#3095).

Translations

This repository is also available in

Disclaimers

  • This is not affiliated to, or approved by, BibleGateway.com. In my understanding it fits into the conditions of usage but I make no guarantee regarding the usage of the script, it is at your own disgression.
  • By default, the version is set to the WEB Bible. You can change the version, as long as you honour the copyright standards of different translations of the Bible (See: BibleGateways overview).

Installation

Here are the tools we are going to use:

  • Our command line (Terminal)
  • On Windows you might need to install perl.

Setting ruby up

Updating

In order to run the scripts, we will need to install ruby. Ruby comes pre-installed on MacOS but if you run into issues, update to the latest version.

Downloading BibleGateway-to-Markdown.rb

Follow the instructions to download and set up jgclark's BibleGateway-to-Markdown.

Usage

1. Install scripts

Put both scripts (bg2md.rb and bg2obs.sh) in the same directory, open your terminal application, and navigate to that directory with commands like the following:

  • pwd Show your current directory
  • ls List all contents in the current directory
  • cd Enter a subdirectory (e.g., cd Desktop)
  • cd .. Brings you 'up' one directory

2. Run the script

Once you have navigated to the directory containing both scripts, run bash bg2obs.sh. This will run the bash script.

NOTE: In this directory, a folder called Scripture with subfolders like Genesis, Exodus and so on will be created.

Several options are available via command-line switches. Type bash bg2obs.sh -h at any time to display them.

Script option summary

Option Description
-v [VERSION] Specify the version of the Bible to download (default is WEB)
-b Set words of Jesus in bold (default is Off)
-e Include editorial headers (default is Off)
-a Create an alias in the YAML front matter with a more user-friendly chapter title (e.g., "Genesis 1") (default is Off)
-i Show progress information while the script is running (i.e. "verbose" mode) (default is Off)
-h Display help

Example usage

Command Description
bash bg2obs.sh -i -v NIV Download a copy of the NIV Bible with no other options.
bash bg2obs.sh -b Download a copy of the WEB Bible (default) with Jesus' words in bold.
bash bg2obs.sh -v NET -beai Download a copy of the NET Bible with all options enabled.

3. Format the text in a text editor

Some crossreferences are sometimes still included, run \<crossref intro.*crossref\> to delete.

There you go! Now, just move the "Scripture" folder into your Obsidian vault. You can use the provided The Bible.md file as an overview file.

Translations

This script downloads the World English Bible by default. If you want to download a different translation, specify the version using the -v command-line switch as documented above. The list of abbreviations is available on the Bible Gateway site under the version drop-down menu in the search bar. Make sure to honour copyright guidelines. The script has not been tested with all versions of the Bible available at Bible Gateway, though most of the more commonly-used ones should work.

A fork of this repo supports Catholic translations: mkudija/BibleGateway-to-Obsidian-Catholic.

Troubleshooting ⚠️

Below are steps to common issues when using the script. If this still doesn't solve your issue, feel free to get in touch and I will attempt to fix it!

Problems loading ruby/gems

An error like this indicates ruby or the gems aren't installed properly: in require: cannot load such file -- colorize (LoadError)

Solutions

  • Have a look at the bg2md installation guide to make sure you installed ruby and gems properly.
  • Run the gem install with admin privileges: sudo gem install colorize optparse clipboard.
  • Re-install ruby and gems.

Contributing

You can help me keep creating tools like this by buying me a coffee. ☕️

Buy Me A Coffee

Translations

You can contribute by translating this script into your language.

  • Translate name of the Bible, its books and abbreviations (line 62)
  • Optional: Translate README.md

Pull requests are welcome, or send me a message and I will implement your translation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].