bible-gateway: A Two-Edged Sword in Emacs

Kristjon Ciko - kristjoc@uio.no

The following image shows where the talk is in the schedule for Sun 2026-12-13. Solid lines show talks with Q&A via BigBlueButton. Dashed lines show talks with Q&A via IRC or Etherpad.

Schedule for SundaySundaySun 9:00- 9:10 Sunday opening remarkssun-openSun 9:10- 9:20 BONE and gnaw.el: tracking what mattersboneSun 9:35- 9:50 Local file history possibilities in EmacslocalSun 10:05-10:20 hutch: code reviews for the mildly disenfranchisedhutchSun 10:30-11:15 Team-oriented AI-activity: Beyond the chatbot -- Towards convivial AI workflow frameworksteamSun 11:25-11:45 Beyond shell history: Saving compilation output in EmacscompileSun 1:00- 1:20 DnD and Org Roam: Becoming a Better DM with EmacsdndSun 1:30- 1:55 Bible-gateway: A Two-Edged Sword in EmacsbibleSun 2:15- 2:35 Ghost in the Shell: a libghostty powered terminal for EmacsghostelSun 2:55- 3:15 Column-aligning text in EmacsalignSun 3:35- 3:55 Revisiting Emacs Mouse Interactions with AnjuanjuSun 4:05- 4:25 Emacs on Android - Emacs for the next 40 yearsandroidSun 4:45- 4:55 Sunday closing remarkssun-closeSun 9:10- 9:40 Canvas: A new foundation for graphics in EmacscanvasSun 10:00-10:21 prefix-tab-groupsprefixSun 10:30-10:50 Emacs as a Window Manager and concurrencyrauSun 11:10-11:30 El-gpu and pix-el: GNU Emacs 2D and 3D game programmingel-gpuSun 1:00- 2:00 [Panel] Emacs, LLMs, and Free SoftwarellmsSun 2:20- 2:40 A (sort of) REPL for learning SVGsvgSun 2:50- 3:05 Org Babel everywherebabelSun 3:25- 3:45 Learning an ancient language with an ancient text editorancientSun 4:05- 4:25 It's Probably Not a VirusvirusSun 9:10- 4:45 Sunday hallway / open micsun-hallway9 AM EST10 AM EST11 AM EST12 PM EST1 PM EST2 PM EST3 PM EST4 PM EST5 PM EST

Format: 25-min talk ; Q&A: BigBlueButton conference room https://media.emacsconf.org/2026/current/bbb-bible.html
Etherpad: https://pad.emacsconf.org/2026-bible
Discuss on IRC: #emacsconf-gen
Status: Ready to stream

Times in different time zones:
Sunday, Dec 13 2026, ~1:30 PM - 1:55 PM EST (US/Eastern)
which is the same as:
Sunday, Dec 13 2026, ~12:30 PM - 12:55 PM CST (US/Central)
Sunday, Dec 13 2026, ~11:30 AM - 11:55 AM MST (US/Mountain)
Sunday, Dec 13 2026, ~10:30 AM - 10:55 AM PST (US/Pacific)
Sunday, Dec 13 2026, ~6:30 PM - 6:55 PM UTC
Sunday, Dec 13 2026, ~7:30 PM - 7:55 PM CET (Europe/Paris)
Sunday, Dec 13 2026, ~8:30 PM - 8:55 PM EET (Europe/Athens)
Monday, Dec 14 2026, ~12:00 AM - 12:25 AM IST (Asia/Kolkata)
Monday, Dec 14 2026, ~2:30 AM - 2:55 AM +08 (Asia/Singapore)
Monday, Dec 14 2026, ~3:30 AM - 3:55 AM JST (Asia/Tokyo)
Find out how to watch and participate
You can watch this talk now, ahead of the conference. It will also play on the stream at the scheduled time, but this way, you can start checking out the ideas and then come to the Q&A time with more questions. Q&A will be right after the talk's time on the schedule. This talk's Q&A will start at around 2026-12-13 1:55 PM UTC-0500. It will be on the stream until the next talk starts, but people can continue asking questions and discussing ideas even after the stream moves on to the next talk. Enjoy!
Duration: 24:55 minutes

Description

bible-gateway is a simple Emacs client for BibleGateway that fetches verses, passages, and search results directly into Emacs.

Unlike other approaches to reading the Bible in Emacs, bible-gateway doesn't require installing extra programs, downloading Bible text modules, or signing up for an API key or subscription. It simply works by fetching and parsing web pages, and stores almost nothing locally: just a small cache for the verse of the day and a short preview of each verse you're memorising. It currently supports 14 public-domain Bible versions in several languages, all fetched live.

In this talk, I'll walk through the main features with quick demos:

  • Verse of the day, usable as an emacs-dashboard footer or a *scratch* buffer message
  • Insert a Bible passage at point
  • Read a passage in a dedicated buffer, with n/p verse-by-verse navigation
  • Listen to a Bible chapter as audio, opened in the browser
  • Search the Bible by keyword, with clickable, paginated results
  • Follow a daily reading plan from a CSV file, with automatic progress tracking
  • Compare two Bible translations side by side in one window
  • Memorise verses using a touch-typing practice mode with live feedback
  • Switch between the 14 supported Bible versions/languages

About the speaker:

Kristjon Ciko is a postdoc in the Department of Informatics at the University of Oslo. His research focuses on computer networks, transport protocols, and Wi-Fi. Kristjon has been using Emacs since 2020 and now uses it for nearly everything: email, Zulip, Org mode, LaTeX, and coding (C/C++, Python, and various scripting languages). He originally built bible-gateway to show the verse of the day in the emacs-dashboard footer. Over time, the package grew into a toolkit for daily Bible reading, memorising Scripture, and preparing devotions and sermons, all without leaving Emacs.

Transcript (unedited)

[00:00:01.350] Introduction
[00:00:01.350] Hello everyone and welcome to my talk! I'm Kristjon and today I'd like to introduce bible-gateway, an Emacs package that fetches Bible verses, passages, chapters, and even search results from the Bible Gateway website directly into Emacs, making it a convenient tool for reading and studying the Bible in your editor.
[00:00:34.837] What is the Bible Gateway?
[00:00:34.837] The Bible Gateway website is a searchable online Bible tool. It hosts more than 200 versions of the Bible in over 70 languages that you can freely read, research, and reference anywhere.
[00:00:52.963] A few words about the history of this package. Everything started with Daily Bible Verse, a Chrome extension that I once installed to show the verse of the day upon opening a new browser tab. And looking at the extension's code, I found that it simply retrieves the Bible verse of the day by calling a Bible Gateway JSON API endpoint. That was enough to get the verse of the day into Emacs given its built-in support for JSON and URL requests. So the package grew from there. It was first called VOTD for verse of the day.
[00:01:40.736] Installing bible-gateway
[00:01:40.736] Here is a simple Emacs Lisp snippet that installs bible-gateway assuming you've added MELPA to your package archives and installed the dashboard package. In this demo, we use the dashboard package, but it can work with any similar package that can be configured to output a string in the dashboard. The bible-gateway-get-verse fetches the verse of the day either via JSON API or by scraping the website. The content is parsed into a string that can be used as a scratch buffer message and as an Emacs dashboard footer. Let's switch to these buffers and see how it looks. So, here we have the verse of the day used as an Emacs dashboard footer, and the same content can be used as a message in the scratch buffer. The verse is cached locally, so Emacs doesn't make a request every time it starts, although many Emacs users tend to not restart Emacs very often. If the request fails, for example when you're offline or the website cannot be reached, it falls back to a default verse, which can be customized.
[00:03:14.322] State of the art
[00:03:14.322] As I mentioned earlier, the package started with only the verse of the day, but following the Emacs philosophy of doing everything inside Emacs, I decided to add more features, such as reading the Bible in Emacs or inserting a passage at point. There are already several packages for reading the Bible, such as esv.el, dtk, bible-mode, sword-to-org, and so on. Their setup typically involves either signing up for an API key, or being limited to a single version or language, installing an extra program such as diatheke, or downloading SWORD modules.
[00:04:06.736] bible-gateway: design choices
[00:04:06.736] The bible-gateway takes a different approach. No setup required. No external program, no Bible modules, no API key. Of course, this simplicity comes at a cost. The package depends on the Bible Gateway website, and for now, it has no offline support. It retrieves Bible text over HTTP using Emacs' built-in URL library. Then it parses the returned web pages to extract the passage. It stores almost nothing locally except a small cache for the verse of the day or a short preview for the verses that we are memorizing. For now it supports 14 public domain Bible versions in several languages. English, French, Spanish, Albanian, Ukrainian, Russian, German, Norwegian, Bulgarian, Swedish, Danish, Finnish, Hungarian, and Latin. Everything is fetched live. And the languages can be switched on the fly. It also comes with a transient menu to access the main features.
[00:05:47.176] Insert a Bible passage at point
[00:05:47.176] Let us spend the rest of the talk demonstrating the main features of bible-gateway. The first feature I'd like to show is inserting a Bible passage at point. To insert a passage at point in the current buffer, we can either use a transient menu or invoke the bible-gateway-get-passage function. In the minibuffer, we can request a Bible verse, a verse range, a chapter, or several chapters in any of the supported languages. It also provides autocompletion for the Bible book names in all these supported languages with hints about the available chapters. Let us switch to the demo tab, and let's say we are preparing a document for devotion and would like to insert a passage at point in the current buffer. As I mentioned earlier, we can either do it using the transient menu or invoke the function for the respective feature. The bible-gateway command opens the transient menu where we can see the selected version and suffixes for all the supported features. Here we hit i to insert a passage at point And in the minibuffer, we can specify the Bible book. Let's say we want to add a verse from the Gospel according to John, chapter 3, verse 16. We see here the verse added at point. We can also request a verse range in the same way. John chapter 3 verses 16 to 17. Or we can also request the whole chapter. Chapter 3. The whole chapter is inserted at point in the selected language.
[00:08:17.819] Changing languages or versions
[00:08:17.819] If we'd like to change the language then we can use the V suffix to set the Bible version. Here is a list of the all supported languages. Let's say we want to add a verse in Spanish using the Reina-Valera Antigua version. Now the version is switched to RVA. In the same way, we can select a Bible book and a chapter, as well as a verse. We see here the verse added in Spanish. To switch to another language, but also use the Bible book names in that language, then we need to set a variable, set bible-gateway-use-english-book-names to nil. That means that the Bible book names will be used in the same selected language. And here if we'd like to, let's say, add a verse in French in the Louis Segond version, we switch to that and in the minibuffer now, we'll see the Bible book names in French. I want to add from Jean chapter 3 verse 16. Here is the verse added in French. In the same way we can switch to other languages. For example, a language which uses the Cyrillic alphabet, Ukrainian, and Genesis 1. A supported language means that it is in the public domain. I have tested it thoroughly before adding it in this list. And also the Bible book names are included or hard-coded in the package in order to provide autocompletion. As I mentioned before, more versions are coming and the next to-do is to add versions in Chinese.
[00:11:01.373] Read and listen
[00:11:01.373] If you just want to read the Bible in Emacs and not insert a passage at point, you can use the bible-gateway-read-passage which uses the same get passage function underneath, but it prepares a reading environment with a dedicated read-only buffer where the current verse is highlighted and you can use n, p or j, k to move the highlight between verses. If you'd rather listen [to] the passage or chapter, you can use bible-gateway-listen-passage function. It currently supports only the Zondervan King James Audio Bible from the Dramatized project. You can request a chapter in the minibuffer, and automatically it will launch a browser tab where you can listen to this chapter. Let us see how these two functions work. Let's say we want to read a Bible passage, so let's switch to English and hit r to read the passage. We want to read John chapter 1. Here we have the reading environment where we can go to the next verses with n or previous. We have also the current verse highlighted. When we are at the end, we can also add another chapter. Chapter 2. It will be added below the previous chapter. And so on. We can read it.
[00:13:26.986] Listening
[00:13:26.986] To demonstrate how listen-passage works, We can call the transient menu and hit l to listen to a chapter. Let's say we want to listen to John chapter 1 and here we have the browser tab where we can listen to John chapter 1 in this version. "The Gospel according to Saint John, chapter one. In the beginning was the Word, and the Word was with God, and the word was God."
[00:14:14.480] Compare translations
[00:14:14.480] Let's get back to Emacs. The next feature I'd like to show is compare translations. The bible-gateway-compare function allows you to open two translations side by side in split windows. It also opens a small Ediff style control panel so that you can navigate to the translations at the same time. You can start a new comparison or you can quit the session. Let's see how this works. Let's say we want to compare two different translations. So we hit c and here we select the book Psalm 23. We want to compare Psalm 23 in English version A and version B in Norwegian. Here we have two split windows with Psalm 23 in the respective languages. The cursor is automatically at the control panel. We can hit n to go to next verses or previous, or we can press c for a new translation, for a new comparison. Let's say we want to compare Psalm 100 in French and in Albanian. To quit this compare session we can press q and this will close the control panel, along with all the buffers which are related to that compare session.
[00:16:48.024] The next feature is search. The bible-gateway-search function takes a keyword and searches in a specific Bible version, in the Bible Gateway website. The results appear in a dedicated buffer with the keyword highlighted. The references are clickable, so you can preview the passage in context. When there are several multiple results, they are paginated where you can press n and p to go to the next page of the results. If you want to know how many times a word occurs in the Bible, bible-gateway-search is the function to use. From the transient menu of bible-gateway, you can press s to search by keyword, enter the keyword, for example "friend", and you get a list of all the results where this keyword is mentioned, a list of all the references. You can navigate with n and p to the references, and when you click, you get the passage in context. One verse before and one verse after the verse where "friend" occurs. To start another search with more results... Here we see that "morning" is mentioned 214 times in the Bible. Here we have the results from 1 to 100. The results will be displayed in three pages and we can navigate through the pages with N. And the final page, which contains the rest of the results.
[00:19:32.020] Daily reading plan
[00:19:32.020] You can use the Bible Gateway package for daily Bible reading. This function, bible-gateway-read-today, follows a CSV reading plan which you can generate from this website. Once you prepare the plan, you can export it as CSV and place it in the bible-gateway package directory. Here there is a file to track the progress and the plan as a CSV file. This is the format of the plan. It has one line for the date and the chapters to read. You can either read today's reading by pressing the red cross here in the mode line or using the transient menu. The cross in the mode line can be added by enabling the bible-gateway-modeline-mode. This is the Bible reading plan for today. You can go to the next verses by pressing n. Once you read the passages for the day, the cross will turn green and the date will be added in the progress file.
[00:21:50.340] Memorize verses
[00:21:50.340] And finally, the last feature that I'd like to show: memorize verses. bible-gateway-memorise enables you to combine memorizing scripture with a touch typing practice mode with live color-coded feedback as you type. It shows your typing speed when you finish and store the verses you practice with a short preview. To practice touch typing while memorizing Bible verses, you can either use the function or press m from the bible-gateway transient menu. In the minibuffer, you can see a list of the verses that you're practicing along with a short preview for each verse. If you'd like to choose a new verse to practice, then you can click this. The first time you practice that verse, it will be stored in a cache with a short preview. Let's choose John 3:16 to memorize. The frame splits into two buffers: the target verse on top, which is read only, and the typing area below where the cursor starts. As we type, each character is colored green if it's correct or red if it's incorrect. The session only completes once every character has been typed correctly. Once finished, you can see the typing speed in words per minute and the elapsed time. We can press C-c C-r to retry this verse, C-c RET for a new verse, and C-c C-c to quit.
[00:24:39.820] Wrapping up
[00:24:39.820] Thank you so much for watching. If you run into any issues or have ideas for contributions, please let me know on GitHub. And if you have any questions, feel free to ask in the chat or email me at the address on the screen. Thanks again.

Questions or comments? Please e-mail kristjoc@uio.no